Skip to content

peDuplex - cPrintDialog

Methods - Properties

Type

Short

Default

0

Arguments

None

Description

Selects duplex or double-sided printing for printers capable of duplex printing. Use one of the DMDUP_* constants.

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'

    Procedure OnInitializeReport
        Handle hoPrintDialog

        Forward Send OnInitializeReport

        Get phoPrintDialog to hoPrintDialog
        Set peDuplex of hoPrintDialog to DMDUP_HORIZONTAL
    End_Procedure
End_Object