Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Enables the page setup dialog extension.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 9.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PageSetupDialog.Enable" )




Returns OK or error.


Enables the page setup dialog extension.
Your page setup commands in FileMaker should show a dialog, so the plugin can intercept it.
If you disable dialog for the FileMake Script step, the plugin has no way to intercept the printing.

Use Printer.SetPrinter for similar features on Windows.



Set Variable [ $r ; Value: MBS("PageSetupDialog.Disable") ]

Run dialog with plugin:

Allow User Abort [ Off ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Install") ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Enable") ]
# set options here
Set Variable [ $r ; Value: MBS( "Schedule.EvaluateAfterDelay"; ,1; "MBS( \"Menubar.RunMenuCommand\"; 57606 )") // run Page Setup Dialog in 0.1 seconds ]
Pause/Resume Script [ Duration (seconds): 1 ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 20th April 2019, last changed 7th June 2021

PageSetupDialog.Disable - PageSetupDialog.GetLastSettings