DRAFTMODE

Syntax

short Escape(hDC, DRAFTMODE, sizeof(int),lpDraftMode, NULL)

This 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 be changed only at page boundaries, for example, after a NEWFRAME escape directing the driver to advance to a new page.

Parameter Type/Description  

hDC HDC Identifies the device context.  
lpDraftMode LPINT Points to a short-integer value that specifies the draft mode. It may be one of the following values:  
Value Meaning
  0 Specifies draft mode off.
  1 Specifies draft mode on.

Return Value

The return value specifies the outcome of the escape. It is positive if the escape is successful. Otherwise, it is negative.

Comments

The default draft mode is off.