Method XbpPrinter():setColorMode() Foundation

Sets or retrieves the mode for colored printing in color-capable printers.

Syntax
 :setColorMode( [<nMode>] ) --> nModeOld | NIL
Parameters
<nMode>
A #define constant from XBPDEV.CH must be used for <nMode>. The following constants are available:
#define constants for the color mode
Constant Description
XBPPRN_COLORMODE_ON Print using colors
XBPPRN_COLORMODE_OFF Print monochrome
Return

The method returns the previous setting or NIL, if the printer does not support color printing.

Description

The method triggers the print mode in color-capable printers.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.