Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PageSetupDialog.Install
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" )
Parameters
none
Result
Returns OK or error.
Description
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.
Examples
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
- Menubar.RunMenuCommand
- PageSetupDialog.Disable
- PageSetupDialog.Enable
- PageSetupDialog.Reset
- Printer.Print
- Printer.SetPrinter
- Schedule.EvaluateAfterDelay
Example Databases
Blog Entries
This function checks for a license.
Created 20th April 2019, last changed 20th April 2019
