Skip to content

piCopies - cPrintDialog

Methods - Properties

Type

Short

Default

1

Arguments

None

Description

Selects the number of copies printed if the device supports multiple-page copies.

Sample

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

    Procedure OnInitializeReport
        Handle hoPrintDialog

        Forward Send OnInitializeReport

        Get phoPrintDialog to hoPrintDialog
        Set piCopies of hoPrintDialog to 2
    End_Procedure
End_Object