Please enable JavaScript to view this site.

TIFF Image Printer

Description

This sets the color mode for the printer.  When this option is not set through the IPNSession object, the printer prints in color.

To remove the forced color mode, call this method with pnPrinterColorModeDefault as the color. This will clear the setting.

The printer color option can also be set and cleared individually using the SetProperty call with the appropriate arguments. See the Remarks below for the arguments needed.

Syntax

expression.ForcePrinterColorMode(ColorMode)

where expression is an IPNSession object.

Parameters

pnPrinterColorMode ColorMode

A pnPrinterColorMode constant for the color mode of the printer.

Remarks

Use the following to set these options using SetProperty:

Method Parameter

SetProperty Parameters

ColorMode

SectionName:

Devmode settings

PropertyName:

Color

varValue:

VT_BOOL, True for Color, False for Monochrome

Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer

See Also: ForcePrinterOrientation ForcePrinterPaperSize ForcePrinterResolution SetDevModeSettings ClearDevmodeSettings SetProperty pnPrinterColorMode pnPrinterOrientation pnPrinterResolution