## Presentation Device Driver Reference for OS/2

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

### PRTRESPONSE Field - flResponseType

flResponseType (ULONG) Flag bits that define response values.

Values are as follows:

Bit Description

0 PRTRESPONSE_TYPE_FIRSTCHAR - 0x00000001
First byte character (0=No; 1=Yes). If set, bFirstChar defines the first character that is always the beginning of printer-to-host messages.

1 PRTRESPONSE_TYPE_LASTCHAR - 0x00000002
Last byte character (0=No; 1=Yes). If set, bLastChar defines the last character that is always the terminator of printer-to-host messages.

2 PRTRESPONSE_TYPE_LEN_USED - 0x00000004
Length field (0=No; 1=Yes). If set, a length field is always part of the printer-to-host message. The ulLenFieldOffset and ulLenFieldWidth fields define where the length field is stored in the message.

3 PRTRESPONSE_TYPE_LEN_PREFIX - 0x00000008
Length field that contains prefix byte (0=No; 1=Yes). If set, the length field in the printer-to-host message includes the first byte character, if any. This is applicable only if bit 2 is set. NPAP clears this bit.

4 PRTRESPONSE_TYPE_LEN_WIDTH - 0x00000010
Length field that contains length width (0=No; 1=Yes). If set, the length field in the printer-to-host message includes the width of the length field . This is applicable only if bit 2 is set. NPAP clears this bit to indicate the length field in the printer-to-host messages does not contain "Start of Packet(1 byte)" or the length field (2 bytes) itself.

5 - 31 Reserved; must be clear.