Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PrintDialog.SetDuplex
Sets duplex mode for next printing.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "PrintDialog.SetDuplex"; value ) More
Parameters
Parameter | Description | Example |
---|---|---|
value | The new duplex setting. | 1 |
Result
Returns OK or error.
Description
Sets duplex mode for next printing.Pass 0 for no duplex, 1 to enable duplex and -1 to not change it.
Version 6.5 adds 2 for duplex with tumble.
Version 7.5 changes value: 0 = off, 1 = long edge, 2 = short edge
Examples
Enable duplex:
Set Variable [ $r ; Value: MBS( "PrintDialog.SetDuplex"; 1 ) ]
See also
- PrintDialog.GetCopies
- PrintDialog.GetDuplex
- PrintDialog.SetCopies
- PrintDialog.SetNoDialog
- PrintDialog.SetOption
- PrintDialog.SetReset
Release notes
- Version 7.0
- Fixed PrintDialog.SetDuplex function (broken in 6.5).
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 25th November 2017