DefaultPrinter - cPrintDialog¶
Method Type¶
Function
Arguments¶
None
Description¶
Returns the name of the default printer.
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
End_Object
Procedure ShowDefaultPrinterName
Handle hoPrintDialog
String sPrinterName
Get phoPrintDialog of oReport to hoPrintDialog
Get DefaultPrinter of hoPrintDialog to sPrinterName
Send Info_Box sPrinterName
End_Procedure