Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Installs the extension for the page setup dialog.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 9.2 Yes No No No No
MBS( "PageSetupDialog.Install" )   More




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

Created 20th April 2019, last changed 20th April 2019

PageSetupDialog.GetScalingFactor   -   PageSetupDialog.SetNoDialog

Feedback: Report problem or ask question.

MBS Xojo blog