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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

PDFKit.GetPrintLastSettings

Queries current print settings.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 9.2 Yes No No No No
MBS( "PDFKit.GetPrintLastSettings" )   More

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

Example Databases

Blog Entries

Release notes

Created 13th March 2019, last changed 21st February 2020


PDFKit.GetPDFText   -   PDFKit.GetPrintOption

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins