#define DRAFTMODE 7 |
short Control(lpDevice, DRAFTMODE, lpDraftMode, NULL) | |||
LPPDEVICE lpDevice; | |||
LPINT lpDraftMode; |
The DRAFTMODE escape turns draft mode off or on. Turning draft mode on
instructs the device driver to print faster and with lower quality (if necessary).
The draft mode can only be changed at page boundaries, for example, after a NEWFRAME escape.
lpDevice
Points to a PDEVICE structure specifying the destination device.
lpDraftMode
Points to a 16-bit variable containing a value specifying the draft mode. If it is 1, the escape turns on draft mode; if 0, the escape turns off draft mode.
The return value is positive if the escape is successful. Otherwise, it is negative.
The default draft mode is off.