Skip to content

psDriverName - cPrintDialog

Methods - Properties

Type

String

Default

Empty string

Arguments

None

Description

The file name (without the extension) of the device driver.

Sample

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

Procedure ShowPrinterDriverName
    Handle hoPrintDialog
    Integer eResult
    String sDriverName

    Get phoPrintDialog of oReport to hoPrintDialog
    Get PrintDialog of hoPrintDialog to eResult
    Get psDriverName of hoPrintDialog to sDriverName
End_Procedure