Description

The DUPLEX message returns the current duplex setting for the printer. See the OIPRINT_EQUATES for the Duplex values.

Syntax

duplex = Get_Printer( "DUPLEX" )

Returns

The duplex setting of the current printer. 1 = Duplex Simple 2 = Duplex Horizontal 3 = Duplex Vertical

See Also

Get_Printer functionSet_Printer functionDUPLEX Set_Printer message

Example

declare function
duplex = Get_Printer( "DUPLEX" )