Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 25th November 2017


PrintDialog.SetDestinationPath - PrintDialog.SetFirstPage

💬 Ask a question or report a problem