Skip to content

pePrintQuality - cPrintDialog

Methods - Properties

Type

Short

Default

0

Arguments

None

Description

Specifies the printer resolution. There are four predefined device-independent DMRES_* constants.

If a positive value is specified, it indicates the number of dots per inch (DPI) and is therefore device dependent.

Sample

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

    Procedure OnInitializeReport
        Handle hoPrintDialog

        Forward Send OnInitializeReport

        Get phoPrintDialog to hoPrintDialog
        Set pePrintQuality of hoPrintDialog to DMRES_LOW
    End_Procedure
End_Object