short Escape(hdc, DRAFTMODE, sizeof(int),lpDraftMode, NULL)
The DRAFTMODE printer escape turns draft mode off or on. Turning draft mode on instructs the driver to print faster and with lower quality, if necessary. The draft mode can be changed only at page boundaries (for example, after a NEWFRAME escape directing the driver to advance to a new page).
hdc
HDC Identifies the device context.
lpDraftMode
LPINT Points to a short integer that specifies the draft mode. It can be one of the following values:
Value | Meaning |
0 | Specifies draft mode off. |
1 | Specifies draft mode on. |
The return value specifies the outcome of the escape. This value is positive if the escape is successful. Otherwise, it is zero or negative.
The default draft mode is off.