PrintDialog.SetResetDestination
-------------------------------

Sets whether to fix destination.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PrintDialog](component_PrintDialog.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "PrintDialog.SetResetDestination"; Value ) 

**MBS**( **"PrintDialog.SetResetDestination";** /\* Sets whether to fix destination. \*/  
**$Value**) /\* The new setting.  
Pass 1 to enable reset of destination.  
Pass 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to enable reset of destination.   Pass 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Sets whether to fix destination.  
FileMaker 15 and older on macOS Sierra show a problem with printing.  
If you once print to PDF, the print dialog in FileMaker will remember the PDF printing and even print to PDF if no PDF printing is selected.   
  
If you set this option to 1, the plugin will reset the print destination to the printer before the dialog is shown or other options are applied.  
### Examples

Initialize to fix printing issues with FileMaker and macOS Sierra:

 Set Variable \[$r ; Value: MBS ( "[PrintDialog.Install](PrintDialogInstall.md)" ) \]  
Set Variable \[$r ; Value: MBS ( "[PrintDialog.Enable](PrintDialogEnable.md)" ) \]  
Set Variable \[$r ; Value: MBS ( "PrintDialog.SetResetDestination"; 1 ) \]  
### See also

- [PrintDialog.Enable](PrintDialogEnable.md)
- [PrintDialog.GetResetDestination](PrintDialogGetResetDestination.md)
- [PrintDialog.Install](PrintDialogInstall.md)
- [PrintDialog.SetReset](PrintDialogSetReset.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.5pr3](https://www.mbsplugins.de/archive/2016-10-18/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)
- [How to fix the Sierra printing bug in FileMaker](https://www.mbsplugins.de/archive/2016-10-17/How_to_fix_the_Sierra_printing/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th October 2016 , last changed 17th October 2016

  
[PrintDialog.SetReset](PrintDialogSetReset.md) - [PrintDialog.SetReverseOrder](PrintDialogSetReverseOrder.md)

[HTML Version](PrintDialogSetResetDestination.shtml)