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.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1    Statistic    FMM    Blog  

PDFKit.GetPrintSetting

Queries print settings for printing PDF.

Component Version macOS Windows Linux Server FileMaker iOS SDK
PDFKit 4.0 ✅ Yes ❌ No ❌ No ✅ Yes ❌ No
MBS( "PDFKit.GetPrintSetting"; Selector )   More

Parameters

Parameter Description Example
Selector Which value to query. "FaxNumber"

Result

Returns value or error.

Description

Queries print settings for printing PDF.
See also PDFKit.Print function.
See also PDFKit.SetPrintSetting where options are described.

You can query default printer name using "DefaultPrinter" as selector.
New in 8.1 you can use selector LastSettings to query last settings as XML and discover what options are set by using the dialog, e.g. the tray names.

Examples

Query printer:

MBS( "PDFKit.GetPrintSetting"; "printer" )

Query default printer:

MBS( "PDFKit.GetPrintSetting"; "DefaultPrinter" )

Query last settings as xml:

MBS( "PDFKit.GetPrintSetting"; "LastSettings" )

See also

Example Databases

Blog Entries

Release notes

  • Version 11.1
    • Added PageSize setting for PDFKit.SetPrintSetting and PDFKit.GetPrintSetting functions.
  • Version 8.1

Created 18th August 2014, last changed 2nd February 2018


PDFKit.GetPrintOption   -   PDFKit.NewPDFDocument

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat