## Presentation Device Driver Reference for OS/2

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

### SplProtSendCmd Parameter - ulCommand

ulCommand (ULONG) - input Generic command code.

See BIDI Command Structures and Command Flow for contents of pInData and pOutData for each of the following commands.

Current commands are as follows:

BIDI_READ_PASSTHRU(8001h) Wait for any response from printer. This must be done from within a passthru session. See BIDI_START_PASSTHRU(1Ah) for more details. See BIDI_READ_PASSTHRU(8001h) for input and output parameters.

BIDI_Q_SW(800Ch) Query BIDI software capabilities. See BIDI_Q_SW(800Ch) for input and output parameters.

BIDI_Q_DEVICE(800Dh) Query printer device characteristics. See BIDI_Q_ DEVICE(800Dh) for input and output parameters.

BIDI_Q_INTERPRETER(800Eh) Query interpreters available in the printer. See BIDI_Q_INTERPRETER(800Eh) for input and output parameters.

BIDI_Q_INPUTBINS(800Fh) Query input bins. See BIDI_Q_INPUTBINS(800Fh) for input and output parameters.

BIDI_Q_OUTPUTBINS(8010h) Query output bins. See BIDI_Q_OUTPUTBINS(8010h) for input and output parameters.

BIDI_Q_FONTS(8012h) Query fonts for a particular interpreter. See BIDI_Q_ FONTS(8012h) for input and output parameters.

BIDI_Q_JOBS_COMPLETE(8013h) Query list of completed jobs. See BIDI_Q_JOBS_ COMPLETE(8013h) for input and output parameters.

BIDI_Q_JOBS_QUEUED(8014h) Query list of queued jobs. See BIDI_Q_JOBS_QUEUED (8014h) for input and output parameters.

BIDI_Q_STATUS(8015h) Query current status of the print device. See BIDI_Q_ STATUS(8015h) for input and output parameters.

BIDI_Q_JOBID(8017h) Query the printer Job ID currently being sent to this port driver. See BIDI_Q_JOBID(8017h) for input and output parameters.

BIDI_Q_RESPONSE_FMT(8018h) Return format of printer-to-host messages. See BIDI_Q_RESPONSE_FMT(8018h) for input and output parameters.

BIDI_READ_ALERT(801Dh) Read an extended alert. See BIDI_READ_ALERT(801Dh) for output parameter.

BIDI_Q_CONVERTER_INFO(8021h) Return protocol converter information. See BIDI_Q_CONVERTER_INFO(8021h) for output parameter.

BIDI_Q_STORAGE(8023h) Return printer storage media. See BIDI_Q_STORAGE( 8023h) for input and output parameters.

0x00009000 - 0x00009FFF Protocol-converter-specific commands.