Purpose |
Retrieves the XPRINT colormode status. |
Syntax |
XPRINT GET COLORMODE TO ColorVar& Function Form: ColorVar& = XPRINT(COLORMODE) |
Remarks |
XPRINT allows you to set the color or monochrome print mode if the printer driver supports it. XPRINT GET COLORMODE retrieves the colormode status, assigning the value to the long integer variable specified by ColorVar&. The value zero may be returned if colormode is not supported by the printer driver. The following equates are predefined in the compiler to symbolically represent the possible status: %DMCOLOR_MONOCHROME =
1 If this statement is executed without a host printer attached, error 57 is generated. |
See also |