PrintDialog.GetConfiguration
----------------------------

Queries configuration from last print.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PrintDialog](component_PrintDialog.md) | [8.0](newinversion80.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "PrintDialog.GetConfiguration" ) ### Parameters

none

### Result

Returns data or error.

### Description

Queries configuration from last print.  
You can run with dialog, select all settings you like and then store the configuration.  
Configuration is the serialized and base64 encoded setup data.  
Just store as it is in a text field for later restoration with [PrintDialog.SetConfiguration](PrintDialogSetConfiguration.md) or [PDFKit.SavePrintSettings](PDFKitSavePrintSettings.md).  
Returns empty result if no print configuration was yet created.  
  
See [PrintDialog.GetLastSettings](PrintDialogGetLastSettings.md) for a xml you can read.  
### Examples

Query configuration after printing:

 Set Variable \[ $r ; Value: MBS ("[PrintDialog.Enable](PrintDialogEnable.md)") \]   
Print \[ With dialog: On \]   
Set Field \[ Printer Dialog on Mac::Data ; MBS ("PrintDialog.GetConfiguration") \]  
### See also

- [PDFKit.SavePrintSettings](PDFKitSavePrintSettings.md)
- [PrintDialog.Enable](PrintDialogEnable.md)
- [PrintDialog.GetLastSettings](PrintDialogGetLastSettings.md)
- [PrintDialog.SetConfiguration](PrintDialogSetConfiguration.md)

### Release notes

- **Version 8.0**
    - Added [PrintDialog.GetConfiguration](http://www.mbsplugins.eu/PrintDialogGetConfiguration.shtml) and [PrintDialog.SetConfiguration](http://www.mbsplugins.eu/PrintDialogSetConfiguration.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 7.6pr5](https://www.mbsplugins.de/archive/2017-12-22/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st December 2017 , last changed 24th April 2021

  
[PrintDialog.GetAllPages](PrintDialogGetAllPages.md) - [PrintDialog.GetCopies](PrintDialogGetCopies.md)

[HTML Version](PrintDialogGetConfiguration.shtml)