Skip to content

Print To Printer No Dialog Usage

The following code demonstrates how to use this setting:

Object oOrderReport is a cDRReport
    Set pbShowStatusPanel to True
    Set phoStatusPanel to oDRStatusPanel
    Set psReportName to "Orders with Pagelayers.dr"
    Set peOutputDestination to PRINT_TO_PRINTER_NO_DIALOG

The result of the above is calling the PrintToDefaultPrinter method when PrintReport is sent to the report object.