psPrinterName Usage¶
The following code shows how to use the psPrinterName:
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
Set psPrinterName to "Microsoft Print to PDF"