XPRINT SET COLORMODE statement  

Purpose

Change the XPRINT colormode status.

Syntax

XPRINT SET COLORMODE numrexp

Remarks

XPRINT allows you to set the color or monochrome print mode if the printer driver supports it.  XPRINT SET COLORMODE expects a numeric expression which evaluates to one of the following listed values. The following equates are predefined in the compiler to symbolically represent the possible status:

%DMCOLOR_MONOCHROME    = 1
%DMCOLOR_COLOR         = 2

If this statement is executed without a host printer attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT GET COLORMODE