Submitting a Direct Presentation Manager Print Job
PM direct printing is done through a device context of type OD_DIRECT,
as follows:
- Output from the PM printer driver goes directly
to the printer instead of to the spooler.
- The application must specify OD_DIRECT in
the DevOpenDC function.
- The pszLogAddress field of the DEVOPENSTRUC
structure is a port name (for example LPT1). The port name is
held in the pszLogAddr field of the PRDINFO3 structure returned by
SplEnumDevice or SplQueryDevice.
- All fields following the pdriv field in
the DEVOPENSTRUC structure are
ignored by the system.
The remaining steps in the printing process are the same as those for OD_QUEUED
device contexts.
[Back: Examples Using the ARE and FIT Parameters]
[Next: Submitting a Print Job Directly to the Spooler]