PDFKit.GetPrintOption
---------------------

Queries a custom option.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PDFKit](component_PDFKit.md) | [9.2](newinversion92.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "PDFKit.GetPrintOption"; Key ) 

**MBS**( **"PDFKit.GetPrintOption";** /\* Queries a custom option. \*/  
**$Key**) /\* The key to use.e.g. "com\_apple\_print\_PrintSettings\_PMCopies" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Key | The key to use. | "com\_apple\_print\_PrintSettings\_PMCopies" |

### Result

Returns value or error.

### Description

Queries a custom option.  
You can use PDFKit.SetOption to set options. Use [PDFKit.GetPrintSetting](PDFKitGetPrintSetting.md) for regular options.  
### See also

- [PDFKit.GetPrintSetting](PDFKitGetPrintSetting.md)
- [PDFKit.SetPrintOption](PDFKitSetPrintOption.md)
- [PDFKit.SetPrintSetting](PDFKitSetPrintSetting.md)

### Release notes

- **Version 9.2**
    - Added [PDFKit.GetPrintOption](http://www.mbsplugins.eu/PDFKitGetPrintOption.shtml) and [PDFKit.SetPrintOption](http://www.mbsplugins.eu/PDFKitSetPrintOption.shtml) functions to set custom options.

### Example Databases

- [Mac and iOS/PDFKit/Printing iOS](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Printing%20iOS.shtml#17ScriptAnchor_)

### Blog Entries

- [Was gibt es neues bei MBS Version 9.2](https://www.mbsplugins.de/archive/2019-07-16/Was_gibt_es_neues_bei_MBS_Vers/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.2pr1](https://www.mbsplugins.de/archive/2019-04-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 12nd March 2019 , last changed 10th April 2022

  
[PDFKit.GetPrintLastSettings](PDFKitGetPrintLastSettings.md) - [PDFKit.GetPrintSetting](PDFKitGetPrintSetting.md)

[HTML Version](PDFKitGetPrintOption.shtml)