## Presentation Device Driver Reference for OS/2

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

### Spool File Creation

The steps taken by the presentation driver to create a spool file are determined by the data type for which the DC was enabled. All presentation drivers must support PM_Q_STD and PM_Q_RAW. Overviews of creating a spool file for these data types are shown below. See the following illustration.

Data types can be defined by the user. A name should be chosen that is not likely to conflict with other user-defined data types. The name must be a string of up to 16 characters in the ranges 'A' through 'Z', '0' through '9 ', or _. Note that the data type is only useful to applications that know about it, and with presentation drivers that implement it.

Print jobs must be spooled by using the data type given on the call to OS2_ PM_DRV_ENABLE Subfunction 02H - FillPhysicalDeviceBlock. Therefore, print jobs queued PM_Q_STD can be printed with queue processor options applied to the job.