## Presentation Device Driver Reference for OS/2

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

### PRTPORT Field - flBidiCapabilities

flBidiCapabilities (ULONG) Defines printer capabilities of the port.

Bit Description

0 PRTPORT_CAPS_BIDI_CAPABLE - 0x00000001
Set if the port is capable of bidirectional communications. This flag is clear if the output port will never be able to communicate using a BIDI protocol. The printer currently attached does not have to be BIDI-capable for this bit to be set.

1 PRTPORT_CAPS_BIDI_ACTIVE - 0x00000002
Set if the printer is able to communicate using a known BIDI protocol. This flag is set only if the printer is currently connected and communicating bidirectionally.

2 PRTPORT_CAPS_DEVICEID_LATER - 0x00000004
Set if the device ID is not yet known, but may be known using a protocol converter. This flag assumes the port is configured to a particular protocol converter, and the model of printer is not available until the protocol converter is used. After the printer model is known, the protocol converter will call PrtSet with the BIDI_SET_DEVICE_ID command to tell the spooler the printer's device ID.

3 PRTPORT_CAPS_Q_ALL_PORTS - 0x00000008
Unused.

4 PRTPORT_CAPS_NOT_RESPONDING - 0x00000010
Set if unable to find printer. The printer may be powered off, or there may be a problem communicating with the printer over the LAN.

5 PRTPORT_CAPS_NOT_CONFIGURED - 0x00000020
Set if port not configured. The port is defined, but not connected to a LAN address. The port cannot be used for printing until it is configured.

6 PRTPORT_CAPS_NOT_CONNECTED - 0x00000040
Set if unable to make connection. The printer can be found, but is currently being used by another host, which prevents this host from getting a connection to the printer.

7 PRTPORT_CAPS_NO_ASYNCH_STATUS - 0x00000080
Set if asynchronous status is disabled when no jobs are being sent. The printer will return job alerts, but after all jobs sent by this host have completed, the printer will no longer return alerts (cover open, out of paper, and so on). This is an example of a job-based connection to a printer.

8 - 11 PRTPORT_CAPS_PDCNV_MASK - 0x00000F00
Reserved for special use by port driver/protocol converter interface.

12 - 31 Reserved; must be clear.