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


Queries last settings from print dialog.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 6.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PrintDialog.GetLastSettings" )




Returns text or error.


Queries last settings from print dialog.
Please print once with enabled print dialog functions. After printing with dialog, you can query last settings and see what OS X or your driver uses.

Since version 10.1 we return settings as JSON instead of XML and includes print parameter.


Get last settings:


Query settings after using dialog:

Set Variable [ $r ; Value: MBS("PrintDialog.Install") ]
Set Variable [ $r ; Value: MBS("PrintDialog.Enable") ]
Print [ With dialog: On ]
Set Variable [ $r ; Value: MBS("PrintDialog.Disable") ]
Set Variable [ $r ; Value: MBS("PrintDialog.GetLastSettings") ]
Set Field [ Printer Dialog on Mac::Path ; $r ]

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 30th April 2016, last changed 21st February 2020

PrintDialog.GetLastPage - PrintDialog.GetNoDialog