## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreEscape DEVESC_DRAFTMODE - Remarks

This escape code is valid only at a page boundary, for example, after DEVESC_STARTDOC or DEVESC_NEWFRAME.

Note: This escape code is implemented by old hardcopy drivers and is being phased out.

This escape code is metafiled and recorded.

When draft mode is ON, the presentation driver can choose to optimize throughput by:

Ignoring all graphics primitives such as lines, arcs, and areas
Using the fonts provided by the output device
Approximating positions received in calls to functions such as GreSetCurrentPosition and GreCharStringPos to the nearest character position that the output device supports for the current font.

The presentation driver must maintain current attributes such as color, mix , and transforms when draft mode is ON even though they might have no effect on the draft output. Similarly, the driver needs to track font changes and respond by setting the appropriate device font such as enlarged , condensed, or italics.

Note: For an OD_QUEUED device with PM_Q_STD data, the spooler records this escape in the buffer and does not pass it to the presentation driver.