Skip to content

peCollate - cPrintDialog

Methods - Properties

Type

Short

Default

0

Arguments

None

Description

Specifies whether collation should be used when printing multiple copies. Use one of the predefined DMCOLLATE_* constants.

Sample

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

    Procedure OnInitializeReport
        Handle hoPrintDialog

        Forward Send OnInitializeReport

        Get phoPrintDialog to hoPrintDialog
        Set peCollate of hoPrintDialog to DMCOLLATE_TRUE
    End_Procedure
End_Object