## Presentation Device Driver Reference for OS/2

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

### SplPdSendCmd Parameter - ulCommand

ulCommand (ULONG) - input Generic command code.

This code is given to the port driver for information only. The pInData parameter contains the BIDI software protocol-specific packet to send to the printer.

Current commands are as follows:

BIDI_Q_SW(800Ch) Query BIDI software capabilities.

BIDI_Q_DEVICE(800Dh) Query printer device characteristics.

BIDI_Q_INTERPRETER(800Eh) Query interpreters available in the printer.

BIDI_Q_INPUTBINS(800Fh) Query input bins.

BIDI_Q_OUTPUTBINS(8010h) Query output bins.

BIDI_Q_FONTS(8012h) Query fonts for a particular interpreter.

BIDI_Q_JOBS_COMPLETE(8013h) Query list of completed jobs.

BIDI_Q_JOBS_QUEUED(8014h) Query list of queued jobs.

BIDI_Q_STATUS(8015h) Query current status of the print device.

BIDI_Q_STORAGE(8023h) Return printer storage media.