Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PrintDialog.SetConfiguration
Sets a configuration to be used for next print.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 8.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "PrintDialog.SetConfiguration"; Configuration ) More
Parameters
Parameter | Description | Example |
---|---|---|
Configuration | The configuration data you got from PrintDialog.GetConfiguration. |
Result
Returns OK or error.
Description
Sets a configuration to be used for next print.The given configuration will be applied after reset of settings (if enabled) and before other settings are applied. This way you can still customize the saved configuration.
Examples
Restore configuration:
Allow User Abort [ Off ]
Set Variable [ $r ; Value: MBS("PrintDialog.Enable") ]
Set Variable [ $r ; Value: MBS("PrintDialog.SetConfiguration"; Printer Dialog on Mac::Data) ]
Print [ With dialog: On ]
See also
Release notes
- Version 10.3
- Fixed PrintDialog.SetConfiguration function.
- Version 8.0
- Added PrintDialog.GetConfiguration and PrintDialog.SetConfiguration functions.
Blog Entries
This function checks for a license.
Created 21st December 2017, last changed 21st December 2017