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 ❌ No
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

Example Databases

Blog Entries

This function checks for a license.

Created 13th March 2019, last changed 10th April 2022


PDFKit.GetPDFText - PDFKit.GetPrintOption