Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PDFKit.GetPrintSetting
Queries print settings for printing PDF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PDFKit | 4.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ 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
- PDFKit.GetPrintLastSettings
- PDFKit.GetPrintOption
- PDFKit.Print
- PDFKit.ResetPrintSettings
- PDFKit.RestorePrintSettings
- PDFKit.SavePrintSettings
- PDFKit.SetPrintOption
- PDFKit.SetPrintSetting
Release notes
- Version 11.1
- Added PageSize setting for PDFKit.SetPrintSetting and PDFKit.GetPrintSetting functions.
- Version 8.1
- Added LastSettings option to PDFKit.GetPrintSetting function.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 11.1pr2
- MBS FileMaker Plugin, version 8.1pr1
- MBS Filemaker Plugin, version 4.0pr5
This function checks for a license.
Created 18th August 2014, last changed 10th April 2022
