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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Queries last settings from print dialog.

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




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 as XML and see what OS X or your driver uses.


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

Blog Entries

Created 30th April 2016, last changed 24th June 2017

PrintDialog.GetLastPage   -   PrintDialog.GetNoDialog

Feedback: Report problem or ask question.

MBS FileMaker blog