Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
DRAFTMODE
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#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.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
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.
 
Return Value
 
The return value is positive if the escape is successful. Otherwise, it is
negative.
 
Comments
 
The default draft mode is off.
 
See Also
 
NEWFRAME, PDEVICE
 
 
                                      ♦