PDFKit.RestorePrintSettings
---------------------------

Restores print settings.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PDFKit](component_PDFKit.md) | [4.0](newinversion40.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "PDFKit.RestorePrintSettings"; Container ) 

**MBS**( **"PDFKit.RestorePrintSettings";** /\* Restores print settings. \*/  
**$Container**) /\* The container value with printer settings.e.g. MyTable::PrinterSettingsContainer \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Container | The container value with printer settings. | MyTable::PrinterSettingsContainer |

### Result

Returns OK or error.

### Description

Restores print settings.  
### See also

- [PDFKit.GetPrintSetting](PDFKitGetPrintSetting.md)
- [PDFKit.ResetPrintSettings](PDFKitResetPrintSettings.md)
- [PDFKit.SavePrintSettings](PDFKitSavePrintSettings.md)
- [PDFKit.SetPrintSetting](PDFKitSetPrintSetting.md)

### Release notes

- **Version 14.4**
    - Improved [PDFKit.RestorePrintSettings](https://www.mbsplugins.eu/PDFKitRestorePrintSettings.shtml) to better read PDF from container.

### Example Databases

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

### Blog Entries

- [MBS FileMaker Plugin, version 14.4pr3](https://www.mbsplugins.de/archive/2024-08-21/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 17th March 2024

  
[PDFKit.ResetPrintSettings](PDFKitResetPrintSettings.md) - [PDFKit.SavePrintSettings](PDFKitSavePrintSettings.md)

[HTML Version](PDFKitRestorePrintSettings.shtml)