Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
 
 
                                      ♦