The action taken by the handling routine is determined by the DC type. For example, OD_DIRECT DC would send the raw data directly to the device using the Prtxxx APIs. See File System Emulation.
This escape code is metafiled and recorded.
As a general rule, an application should use DEVESC_RAWDATA only for a complete document or frame within a document. DEVESC_RAWDATA must not be mixed with other drawing functions. If DEVESC_RAWDATA and other drawing functions are called in a single frame, the results are dependent on the implementation. For example, the presentation driver might choose to print the raw data and ignore the other drawing calls.
Note: For an OD_QUEUED device with PM_Q_STD data, the spooler records this call in the buffer, but does not pass it on to the presentation driver.