PSGetDuplex()

Syntax

Function PSGetDuplex()
TPageScript:GetDuplex()

Returns

An Integer value.

Description

PSGetDuplex() returns the current setting for Duplex mode printing. The possible values are :

Constant Value
DMDUP_SIMPLEX 1
DMDUP_VERTICAL 2
DMDUP_HORIZONTAL 3

If you call this function when not printing, the default value is returned.

Arguments

None