Skip to content

peDefaultSource - cPrintDialog

Methods - Properties

Type

Short

Default

0

Arguments

None

Description

Specifies the paper source. Use one of the predefined DMBIN_* constants and check using the PrinterDriverAnalyzer tool to see a list of supported paper sizes.

Sample

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

    Procedure OnInitializeReport
        Handle hoPrintDialog

        Forward Send OnInitializeReport

        Get phoPrintDialog to hoPrintDialog
        Set peDefaultSource of hoPrintDialog to DMBIN_LOWER
    End_Procedure
End_Object