## Printer Device Driver

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

### Spooler Print APIs

See the OS/2 Presentation Device Driver Reference for detailed information on these APIs, their syntax, and their parameters.

PrtOpen Opens a device for output. Routed to the SplPdOpen() routine in the port driver.

PrtClose Routed to port-driver SplPdClose to close a device connection.

PrtAbort Routed to port driver SplPdAbortDoc to abort operations to the device connection.

PrtAbortDoc Routed to SplPdAbortDoc for document abort processing.

PrtResetAbort Routed to SplPdResetAbort to reset an aborted print job to allow a print driver to send multiple reset sequences to the printer.

PrtWrite Routed to SplPdWrite to write print job data to the device.

PrtDevIOCtl Passes device-specific commands to the print device.

PrtNewPage Routed to port-driver SplPdNewPage to signal the beginning of a new output page.

PrtQuery Routed to port-driver SplPdQuery or protocol-converter SplProtSendCmd to get information about the print device.

PrtSet Routed to port-driver SplPdSet or protocol-converter SplProtSendCmd to set printer device information.