Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PrintDialog.GetLastSettings
Queries last settings from print dialog.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PrintDialog | 6.2 | Yes | No | No | No | No |
Parameters
none
Result
Returns text or error.
Description
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.
Examples
Get last settings:
MBS("PrintDialog.GetLastSettings")
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
- PageSetupDialog.GetLastSettings
- PageSetupDialog.SetOption
- PrintDialog.Disable
- PrintDialog.Enable
- PrintDialog.GetConfiguration
- PrintDialog.Install
- PrintDialog.SetOption
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.3pr1
- MBS FileMaker Plugin, version 10.1pr5
- MBS FileMaker Plugin 6.2 for OS X/Windows
- MBS FileMaker Plugin, version 6.2pr7
Release notes
- Version 10.3
- Fixed problem with exception in PDFKit.GetLastSettings, PageSetupDialog.GetLastSettings and PrintDialog.GetLastSettings functions.
- Version 10.1
- Rewrote PDFKit.GetPrintLastSettings, PageSetupDialog.GetLastSettings and PrintDialog.GetLastSettings to return result as JSON.
Created 30th April 2016, last changed 21st February 2020
PrintDialog.GetLastPage - PrintDialog.GetNoDialog
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins