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


Queries configuration from last print.

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




Returns data or error.


Queries configuration from last print.
You can run with dialog, select all settings you like and then store the configuration.
Configuration is the serialized and base64 encoded setup data.
Just store as it is in a text field for later restoration with PrintDialog.SetConfiguration or PDFKit.SavePrintSettings.
Returns empty result if no print configuration was yet created.

See PrintDialog.GetLastSettings for a xml you can read.


Query configuration after printing:

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

See also

Release notes

Blog Entries

This function is free to use.

Created 21st December 2017, last changed 24th April 2021

PrintDialog.GetAllPages - PrintDialog.GetCopies

💬 Ask a question or report a problem