Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets custom print options.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PDFKit | 9.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Key | The key to use. | "com_apple_print_PrintSettings_PMCopies" | |
Value | The value to use. Depending on data type, the plugin will pass a number or a text. |
3 | |
Type | Available in MBS FileMaker Plugin 9.2 or newer. The type of data to add. Default is empty to use type of value passed. So text or number type would be picked automatically. Valid values for type are boolean, text, number, integer and text. Integer is for integer numbers while number is for floating numbers. |
Optional |
Returns OK or error.
Sets a custom option:
MBS( "PDFKit.SetPrintOption"; "xxx"; 123 )
Sets a custom boolean option:
MBS( "PDFKit.SetPrintOption"; "xxx"; 1; "boolean" )
Asks for 4 pages per page:
Set Variable [ $r ; Value: MBS( "PDFKit.SetPrintOption"; "NSPagesAcross"; 2; "Integer") ]
Set Variable [ $r ; Value: MBS( "PDFKit.SetPrintOption"; "NSPagesDown"; 2; "Integer") ]
Set output bin:
Set Variable [ $r ; Value: MBS("PDFKit.SetPrintOption"; "OutputBin"; "MailBoxBin1") ]
This function checks for a license.
Created 12nd March 2019, last changed 10th April 2022