AfxGetPrinterColorModefunction
If the printer supports color printing, the return value is TRUE; otherwise, the return value is FALSE.
Syntax
FUNCTION AfxGetPrinterColorMode (BYREF wszPrinterName AS WSTRING) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
If the printer supports color printing, the return value is TRUE; otherwise, the return value is FALSE.
Description
Returns the printer color mode.
Remarks
Some color printers have the capability to print using true black instead of a combination of cyan, magenta, and yellow (CMY). This usually creates darker and sharper text for documents. This option is only useful for color printers that support true black printing.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:273
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions