Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PDFKit.GetPrintLastSettings
Queries current print settings.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PDFKit | 9.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "PDFKit.GetPrintLastSettings" )
Parameters
none
Result
Returns text or error.
Description
Queries current print settings.For user to read. To save settings, you can use PDFKit.SetPrintSetting and PDFKit.GetPrintLastSettings.
Since version 10.1 we return settings as JSON instead of XML and includes print parameter.
Examples
Queries last print settings:
Set Variable [ $v ; Value: MBS( "PDFKit.GetPrintLastSettings") ]
If [ MBS("IsError") ]
Set Field [ PDFKit Print::Result ; $v ]
Else
Set Field [ PDFKit Print::Settings ; $v ]
Set Field [ PDFKit Print::Result ; "OK" ]
End If
See also
Release notes
- Version 14.1
- Changed PageSetupDialog.GetLastSettings, PrintDialog.GetLastSettings and PDFKit.GetPrintLastSettings to log all text for trace log.
- Version 10.1
- Rewrote PDFKit.GetPrintLastSettings, PageSetupDialog.GetLastSettings and PrintDialog.GetLastSettings to return result as JSON.
- Version 9.2
- Added PDFKit.GetPrintLastSettings function.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 14.1pr5
- MBS FileMaker Plugin, version 10.1pr5
- Was gibt es neues bei MBS Version 9.2
- MBS FileMaker Plugin, version 9.2pr1
This function checks for a license.
Created 13th March 2019, last changed 17th March 2024