Table of Contents

DUPLEX Get_Printer Message

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 function, Set_Printer function, DUPLEX Set_Printer message

Example

declare function

duplex = Get_Printer( "DUPLEX" )