Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Queries configuration from last print.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 8.0 Yes No No No No
MBS( "PrintDialog.GetConfiguration" )   More




Returns OK or error.


Queries configuration from last print.
You can run with dialog, select all settings you like and than 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

Blog Entries

Created 21st December 2017, last changed 16th March 2019

PrintDialog.GetAllPages   -   PrintDialog.GetCopies

Feedback: Report problem or ask question.

MBS Xojo blog