PSSetDuplex()

Syntax

Function PSSetDuplex(nDuplex)
TPageScript:SetDuplex(nDuplex)

Returns

The old value.

Description

Use PSSetDuplex() to set the desired Duplex mode for printers that support Duplex printing. Call this procedure before starting a new document.

Arguments
nDuplex Desired duplex mode.

Duplex modes

Constant Value Description
DMDUP_SIMPLEX 1 Simplex mode
DMDUP_VERTICAL 2 Vertical Duplex mode
DMDUP_HORIZONTAL 3 Horizontal Duplex mode