peColor - cPrintDialog¶
Type¶
Short
Default¶
0
Arguments¶
None
Description¶
Switches between color and monochrome on color printers. Use one of the predefined DMCOLOR_* constants.
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Procedure OnInitializeReport
Handle hoPrintDialog
Forward Send OnInitializeReport
Get phoPrintDialog to hoPrintDialog
Set peColor of hoPrintDialog to DMCOLOR_MONOCHROME
End_Procedure
End_Object