PDFKit.SavePrintSettings
------------------------

Saves current 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.SavePrintSettings" { ; FileName } ) 

**MBS**( **"PDFKit.SavePrintSettings";** /\* Saves current print settings. \*/  
**$FileName**) /\* Optional; The filename to use in the container value.e.g. "Printer Settings.dat" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| FileName | The filename to use in the container value. | "Printer Settings.dat" | Optional |

### Result

Returns container value with print settings or error.

### Description

Saves current print settings.  
Print settings are wrapped in a container value.  
You can store them in a container and later restore them with [PDFKit.RestorePrintSettings](PDFKitRestorePrintSettings.md) or [PrintDialog.SetConfiguration](PrintDialogSetConfiguration.md) function.  
### See also

- [PDFKit.GetPrintSetting](PDFKitGetPrintSetting.md)
- [PDFKit.ResetPrintSettings](PDFKitResetPrintSettings.md)
- [PDFKit.RestorePrintSettings](PDFKitRestorePrintSettings.md)
- [PDFKit.SetPrintSetting](PDFKitSetPrintSetting.md)
- [PrintDialog.GetConfiguration](PrintDialogGetConfiguration.md)
- [PrintDialog.SetConfiguration](PrintDialogSetConfiguration.md)

### Example Databases

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

This function checks for a license.

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

  
[PDFKit.RestorePrintSettings](PDFKitRestorePrintSettings.md) - [PDFKit.SelectPrinter](PDFKitSelectPrinter.md)

[HTML Version](PDFKitSavePrintSettings.shtml)