Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PrintDialog.Install
Installs the extension for the printer dialog.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 3.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "PrintDialog.Install" )
Parameters
none
Result
Returns OK or error.
Description
Installs the extension for the printer dialog.Only after PrintDialog.Install was called, you can use PrintDialog.Enable.
You only call this function once. More calls are ignored.
This is Mac only. For Windows, please check Printer.SetPrinter and Printer.Print.
Examples
Install and print to PDF:
Set Variable [$r; MBS( "PrintDialog.Install")]
Set Variable [$r; MBS( "PrintDialog.Enable")]
Set Variable [$r; MBS( "PrintDialog.SetPrintToPDF"; 1)]
Set Variable [$r; MBS( "PrintDialog.SetDestinationPath"; "/Users/cs/Desktop/test.pdf")]
Set Variable [$r; MBS( "PrintDialog.SetNoDialog"; 1 )]
Print []
See also
- PrintDialog.Disable
- PrintDialog.Enable
- PrintDialog.GetLastSettings
- PrintDialog.SetDestinationPath
- PrintDialog.SetNoDialog
- PrintDialog.SetPrintToPDF
- PrintDialog.SetResetDestination
- Printer.Print
- Printer.SetPrinter
Release notes
- Version 7.4
- Changed PrintDialog.Enable to call PrintDialog.Install for you if needed.
Example Databases
Blog Entries
- Control printing in FileMaker with MBS Plugin on MacOS
- MBS FileMaker Plugin, version 7.4pr1
- How to fix the Sierra printing bug in FileMaker
- Printing with FileMaker on Mac with a specific Paper Tray
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 10th June 2023