Skip to content

psFormName - cPrintDialog

Methods - Properties

Type

String

Default

Empty string

Arguments

None

Description

Specifies the name of the form to use; for example, 'Letter' or 'Legal'.

Sample

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

Procedure ShowPrinterDriverName
    Handle hoPrintDialog
    Integer eResult
    String sFormName

    Get phoPrintDialog of oReport to hoPrintDialog
    Get PrintDialog of hoPrintDialog to eResult
    Get psFormName of hoPrintDialog to sFormName
End_Procedure