Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

PrintDialog.SetDuplex

Sets duplex mode for next printing.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 4.1 Yes No No No No

MBS( "PrintDialog.SetDuplex"; value )

Parameters

Parameter Description Example value
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.SetDestinationPath   -   PrintDialog.SetFirstPage

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins