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


Installs the extension for the page setup dialog.

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




Returns OK or error.


Installs the extension for the page setup dialog.
Only after PageSetupDialog.Install was called, you can use PageSetupDialog.Enable.
You only call this function once.

This is Mac only. For Windows, please check Printer.SetPrinter and Printer.Print.


Initialize paper setup dialog:

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

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 20th April 2019

PageSetupDialog.GetScalingFactor - PageSetupDialog.Reset