short Escape(hDC, QUERYESCSUPPORT, sizeof(int),lpEscNum, NULL)
This escape determines whether a particular escape is implemented by the device driver.
Parameter | Type/Description |
hDC | HDC Identifies the device context. | |
lpEscNum | LPINT Points to a short-integer value that specifies the escape function to be checked. |
The return value specifies whether a particular escape is implemented. It is nonzero for implemented escape functions. Otherwise, it is zero.
If the lpEscNum parameter is set to DRAWPATTERNRECT, the return value is one of the following:
Value | Meaning |
0 | DRAWPATTERNRECT is not implemented. |
1 | DRAWPATTERNRECT is implemented for a printer other than the HP LaserJet IIP; this printer supports white rules. |
2 | DRAWPATTERNRECT is implemented for the HP LaserJet IIP. |