Component: PrintDialog 
-----------------------

Control the Mac printer dialog. Select printer on Mac.

See [Printer.Print](PrinterPrint.md) and [Printer.SetPrinter](PrinterSetPrinter.md) for similar features on Windows.  
See [CUPS](component_CUPS.md) functions to manage printers on macOS.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [3.5](newinversion35.md "First functions introduced with version 3.5.") / [12.1](newinversion121.md "Newest functions in version 12.1.") | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

  
| Item | Details |
|:--|:--|
| [PageSetupDialog.ClearOption](PageSetupDialogClearOption.md)   Clears an option. | Mac only   9.2 |
| [PageSetupDialog.ClearOptions](PageSetupDialogClearOptions.md)   Clears all options set. | Mac only   9.2 |
| [PageSetupDialog.Disable](PageSetupDialogDisable.md)   Disables the page setup dialog extension. | Mac only   9.2 |
| [PageSetupDialog.Enable](PageSetupDialogEnable.md)   Enables the page setup dialog extension. | Mac only   9.2 |
| [PageSetupDialog.GetLastSettings](PageSetupDialogGetLastSettings.md)   Queries last settings from page setup dialog. | Mac only   9.2 |
| [PageSetupDialog.GetNoDialog](PageSetupDialogGetNoDialog.md)   Queries whether dialog shows. | Mac only   9.2 |
| [PageSetupDialog.GetOption](PageSetupDialogGetOption.md)   Queries an option. | Mac only   9.2 |
| [PageSetupDialog.GetPaperHeight](PageSetupDialogGetPaperHeight.md)   Queries paper height to set. | Mac only   11.3 |
| [PageSetupDialog.GetPaperName](PageSetupDialogGetPaperName.md)   Queries paper name. | Mac only   9.2 |
| [PageSetupDialog.GetPaperOrientation](PageSetupDialogGetPaperOrientation.md)   Queries paper orientation. | Mac only   9.2 |
| [PageSetupDialog.GetPaperWidth](PageSetupDialogGetPaperWidth.md)   Queries paper width to set. | Mac only   11.3 |
| [PageSetupDialog.GetPrinterName](PageSetupDialogGetPrinterName.md)   Queries printer name. | Mac only   9.2 |
| [PageSetupDialog.GetScalingFactor](PageSetupDialogGetScalingFactor.md)   Queries scaling factor. | Mac only   9.2 |
| [PageSetupDialog.Install](PageSetupDialogInstall.md)   Installs the extension for the page setup dialog. | Mac only   9.2 |
| [PageSetupDialog.Reset](PageSetupDialogReset.md)   Resets settings in plugin. | Mac only   12.1 |
| [PageSetupDialog.SetNoDialog](PageSetupDialogSetNoDialog.md)   Sets whether dialog should show. | Mac only   9.2 |
| [PageSetupDialog.SetOption](PageSetupDialogSetOption.md)   Sets an option. | Mac only   9.2 |
| [PageSetupDialog.SetPaperHeight](PageSetupDialogSetPaperHeight.md)   Sets paper height to use. | Mac only   11.3 |
| [PageSetupDialog.SetPaperName](PageSetupDialogSetPaperName.md)   Sets paper name. | Mac only   9.2 |
| [PageSetupDialog.SetPaperOrientation](PageSetupDialogSetPaperOrientation.md)   Sets the new paper orientation. | Mac only   9.2 |
| [PageSetupDialog.SetPaperWidth](PageSetupDialogSetPaperWidth.md)   Sets paper width to use. | Mac only   11.3 |
| [PageSetupDialog.SetPrinterName](PageSetupDialogSetPrinterName.md)   Sets printer name. | Mac only   9.2 |
| [PageSetupDialog.SetScalingFactor](PageSetupDialogSetScalingFactor.md)   Sets scaling factor. | Mac only   9.2 |
| [PrintDialog.ClearOption](PrintDialogClearOption.md)   Clears an option. | Mac only   6.2 |
| [PrintDialog.ClearOptions](PrintDialogClearOptions.md)   Clears all options set. | Mac only   6.2 |
| [PrintDialog.Disable](PrintDialogDisable.md)   Disables the print dialog extension. | Mac only   3.5 |
| [PrintDialog.Enable](PrintDialogEnable.md)   Enables the print dialog extension. | Mac only   3.5 |
| [PrintDialog.GetAllPages](PrintDialogGetAllPages.md)   Queries whether to print all pages. | Mac only   6.2 |
| [PrintDialog.GetConfiguration](PrintDialogGetConfiguration.md)   Queries configuration from last print. | Mac only   8.0 |
| [PrintDialog.GetCopies](PrintDialogGetCopies.md)   Queries number of copies. | Mac only   6.2 |
| [PrintDialog.GetDestinationPath](PrintDialogGetDestinationPath.md)   Queries the destination path. | Mac only   3.5 |
| [PrintDialog.GetDuplex](PrintDialogGetDuplex.md)   Queries the duplex mode. | Mac only   4.1 |
| [PrintDialog.GetFirstPage](PrintDialogGetFirstPage.md)   Queries first page. | Mac only   6.2 |
| [PrintDialog.GetLastPage](PrintDialogGetLastPage.md)   Queries last page. | Mac only   6.2 |
| [PrintDialog.GetLastSettings](PrintDialogGetLastSettings.md)   Queries last settings from print dialog. | Mac only   6.2 |
| [PrintDialog.GetNoDialog](PrintDialogGetNoDialog.md)   Queries whether dialog shows. | Mac only   3.5 |
| [PrintDialog.GetOption](PrintDialogGetOption.md)   Queries an option. | Mac only   6.2 |
| [PrintDialog.GetPageNumberingOffset](PrintDialogGetPageNumberingOffset.md)   Queries page numbering offset. | Mac only   7.0 |
| [PrintDialog.GetPaperHeight](PrintDialogGetPaperHeight.md)  **Deprecated**    Queries paper height to set. | Mac only   11.3 |
| [PrintDialog.GetPaperName](PrintDialogGetPaperName.md)  **Deprecated**    Queries printer name. | Mac only   5.0 |
| [PrintDialog.GetPaperWidth](PrintDialogGetPaperWidth.md)  **Deprecated**    Queries paper width to set. | Mac only   11.3 |
| [PrintDialog.GetPrintToPDF](PrintDialogGetPrintToPDF.md)   Queries whether printing is going to PDF file. | Mac only   3.5 |
| [PrintDialog.GetPrintType](PrintDialogGetPrintType.md)   Queries print type. | Mac only   12.1 |
| [PrintDialog.GetPrinterName](PrintDialogGetPrinterName.md)   Queries printer name to use. | Mac only   3.5 |
| [PrintDialog.GetReset](PrintDialogGetReset.md)   Query whether to reset print settings. | Mac only   7.0 |
| [PrintDialog.GetResetDestination](PrintDialogGetResetDestination.md)   Queries whether ResetDestination option is set. | Mac only   6.5 |
| [PrintDialog.GetReverseOrder](PrintDialogGetReverseOrder.md)   Queries reverse order setting. | Mac only   11.0 |
| [PrintDialog.GetTray](PrintDialogGetTray.md)   Queries tray name. | Mac only   6.1 |
| [PrintDialog.Install](PrintDialogInstall.md)   Installs the extension for the printer dialog. | Mac only   3.5 |
| [PrintDialog.Reset](PrintDialogReset.md)   Resets settings in plugin. | Mac only   12.1 |
| [PrintDialog.SetAllPages](PrintDialogSetAllPages.md)   Set whether to print all pages. | Mac only   6.2 |
| [PrintDialog.SetConfiguration](PrintDialogSetConfiguration.md)   Sets a configuration to be used for next print. | Mac only   8.0 |
| [PrintDialog.SetCopies](PrintDialogSetCopies.md)   Sets number of copies. | Mac only   6.2 |
| [PrintDialog.SetDestinationPath](PrintDialogSetDestinationPath.md)   Sets the destination path for PDF. | Mac only   3.5 |
| [PrintDialog.SetDuplex](PrintDialogSetDuplex.md)   Sets duplex mode for next printing. | Mac only   4.1 |
| [PrintDialog.SetFirstPage](PrintDialogSetFirstPage.md)   Sets first page. | Mac only   6.2 |
| [PrintDialog.SetLastPage](PrintDialogSetLastPage.md)   Sets last page. | Mac only   6.2 |
| [PrintDialog.SetNoDialog](PrintDialogSetNoDialog.md)   Sets whether dialog should show. | Mac only   3.5 |
| [PrintDialog.SetOption](PrintDialogSetOption.md)   Sets an option. | Mac only   6.2 |
| [PrintDialog.SetPageNumberingOffset](PrintDialogSetPageNumberingOffset.md)   Sets page numbering offset to use. | Mac only   7.0 |
| [PrintDialog.SetPaperHeight](PrintDialogSetPaperHeight.md)  **Deprecated**    Sets paper height to use. | Mac only   11.3 |
| [PrintDialog.SetPaperName](PrintDialogSetPaperName.md)  **Deprecated**    Sets paper name. | Mac only   5.0 |
| [PrintDialog.SetPaperWidth](PrintDialogSetPaperWidth.md)  **Deprecated**    Sets paper width to use. | Mac only   11.3 |
| [PrintDialog.SetPrintToPDF](PrintDialogSetPrintToPDF.md)   Sets whether plugin will redirect print to PDF. | Mac only   3.5 |
| [PrintDialog.SetPrintType](PrintDialogSetPrintType.md)   Sets what FileMaker will print. | Mac only   5.0 |
| [PrintDialog.SetPrinterName](PrintDialogSetPrinterName.md)   Sets printer name. | Mac only   3.5 |
| [PrintDialog.SetReset](PrintDialogSetReset.md)   Sets whether to reset print settings. | Mac only   7.0 |
| [PrintDialog.SetResetDestination](PrintDialogSetResetDestination.md)   Sets whether to fix destination. | Mac only   6.5 |
| [PrintDialog.SetReverseOrder](PrintDialogSetReverseOrder.md)   Sets reverse order for printing. | Mac only   11.0 |
| [PrintDialog.SetTray](PrintDialogSetTray.md)   Sets the tray name the plugin should select. | Mac only   6.1 |

70 functions shown.

### Release notes

- **Version 14.1**
    - Changed [PageSetupDialog.GetLastSettings](https://www.mbsplugins.eu/PageSetupDialogGetLastSettings.shtml), [PrintDialog.GetLastSettings](https://www.mbsplugins.eu/PrintDialogGetLastSettings.shtml) and [PDFKit.GetPrintLastSettings](https://www.mbsplugins.eu/PDFKitGetPrintLastSettings.shtml) to log all text for trace log.
- **Version 13.2**
    - Fixed a problem in [PrintDialog.GetLastSettings](https://www.mbsplugins.eu/PrintDialogGetLastSettings.shtml) function reporting an exception about a nil value.
- **Version 13.0**
    - Fixed [PrintDialog.GetLastSettings](https://www.mbsplugins.eu/PrintDialogGetLastSettings.shtml) to not return an error if there are no print settings yet.
- **Version 12.1**
    - Added [PageSetupDialog.Reset](https://www.mbsplugins.eu/PageSetupDialogReset.shtml) and [PrintDialog.Reset](https://www.mbsplugins.eu/PrintDialogReset.shtml) functions.
    - Added [PrintDialog.GetPrintType](https://www.mbsplugins.eu/PrintDialogGetPrintType.shtml) function.
    - Fixed [PrintDialog.GetDestinationPath](https://www.mbsplugins.eu/PrintDialogGetDestinationPath.shtml) function.
- **Version 11.0**
    - Added [PrintDialog.GetReverseOrder](https://www.mbsplugins.eu/PrintDialogGetReverseOrder.shtml) and [PrintDialog.SetReverseOrder](https://www.mbsplugins.eu/PrintDialogSetReverseOrder.shtml) functions.
- **Version 10.3**
    - Fixed [PrintDialog.SetConfiguration](https://www.mbsplugins.eu/PrintDialogSetConfiguration.shtml) function.
    - Fixed problem with exception in PDFKit.GetLastSettings, [PageSetupDialog.GetLastSettings](https://www.mbsplugins.eu/PageSetupDialogGetLastSettings.shtml) and [PrintDialog.GetLastSettings](https://www.mbsplugins.eu/PrintDialogGetLastSettings.shtml) functions.
- **Version 10.1**
    - Fixed bug in [PrintDialog.SetDestinationPath](https://www.mbsplugins.eu/PrintDialogSetDestinationPath.shtml) not working with space in file path.
    - Rewrote [PDFKit.GetPrintLastSettings](https://www.mbsplugins.eu/PDFKitGetPrintLastSettings.shtml), [PageSetupDialog.GetLastSettings](https://www.mbsplugins.eu/PageSetupDialogGetLastSettings.shtml) and [PrintDialog.GetLastSettings](https://www.mbsplugins.eu/PrintDialogGetLastSettings.shtml) to return result as JSON.
- **Version 9.2**
    - Added [PageSetupDialog](http://www.mbsplugins.eu/component_PageSetupDialog.shtml) functions to change paper format on MacOS.
    - Added new optional type parameter to [PrintDialog.SetOption](http://www.mbsplugins.eu/PrintDialogSetOption.shtml) and [PDFKit.SetPrintOption](http://www.mbsplugins.eu/PDFKitSetPrintOption.shtml) to set data type.
- **Version 8.4**
    - Fixed a problem with [PrintDialog.SetCopies](http://www.mbsplugins.eu/PrintDialogSetCopies.shtml).

### Blog Entries

- [MBS @ FMTraining.TV - 25 Ways to Improve Your Database Using the FileMaker MonkeyBread Plug-in - Day 3](https://www.mbsplugins.de/archive/2025-01-24/MBS_@_FMTrainingTV_-_25_Ways_t/monkeybreadsoftware_blog_filemaker)
- [Control printing in FileMaker with MBS Plugin on MacOS](https://www.mbsplugins.de/archive/2023-06-11/Control_printing_in_FileMaker_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 11.3 - More than 6500 Functions In One Plugin](https://www.mbsplugins.de/archive/2021-07-12/MBS_FileMaker_Plugin_113_-_Mor/monkeybreadsoftware_blog_filemaker)
- [Was gibt es neues bei MBS Version 9.2](https://www.mbsplugins.de/archive/2019-07-16/Was_gibt_es_neues_bei_MBS_Vers/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 9.2](https://www.mbsplugins.de/archive/2019-05-21/Neues_MBS_FileMaker_Plugin_92/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 9.2 - More than 5800 Functions In One Plugin](https://www.mbsplugins.de/archive/2019-05-21/MBS_FileMaker_Plugin_92_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.2pr4](https://www.mbsplugins.de/archive/2019-04-25/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 5/2017, Seite 21 bis 22](https://filemaker-magazin.de/neuigkeit/3961-Appetithappen-FMM_201705)

### Example Databases

- [Mac only/Print/Printer Dialog on Mac](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Print/Printer%20Dialog%20on%20Mac.shtml#1ScriptAnchor_)

[HTML Version](component_PageSetupDialog.shtml)