Help Center

CPrint.ColorModeproperty

Switches between color and monochrome on color printers.

PrintingpropertyCPrint.incdocumented

Syntax

PROPERTY ColorMode () AS LONG
PROPERTY ColorMode (BYVAL nMode AS LONG)

Parameters

NameDescription
nModeLONG. The color mode. Possible values: DMCOLOR_MONOCHROME, DMCOLOR_COLOR.

Return value

LONG. Returns the printer color mode: DMCOLOR_MONOCHROME or DMCOLOR_COLOR.

Description

Switches between color and monochrome on color printers. 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 CPrint.inc
  • Defined in AfxNova/CPrint.inc:601
  • Documented in Printing/CPrint Class.md
  • Topic: CPrint Class