Control Reference > VSPrinter Control > VSPrinter Properties > ColorMode Property |
Returns or sets the color mode on color printers.
[form!]VSPrinter.ColorMode[ = ColorModeSettings ]
Valid settings for the ColorMode property are described below:
Constant |
Value |
Description |
cmMonochrome |
1 |
Print in black and white. |
cmColor |
2 |
Print in color. |
The default value for this property depends on the printer driver and the current printer settings.
This property relies on the printer driver, and may or may not be available on a particular printer. After setting this property, read it back to make sure the driver made the change, or check the Error property. If it is set to vperDeviceIncapable (7), then the printer does not support the selected setting and you should take appropriate action.
ColorModeSettings (Enumeration)