AfxSetPrinterColorModefunction
Switches between color and monochrome on color printers.
Syntax
FUNCTION AfxSetPrinterColorMode (BYREF wszPrinterName AS WSTRING, BYVAL nMode AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. | |
nMode | ' The following are the possible values: DMCOLOR_COLOR, DMCOLOR_MONOCHROME. |
Return value
TRUE or FALSE.
Description
Switches between color and monochrome on color printers.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:876
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions