## Presentation Device Driver Reference for OS/2

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

### PRTRESPONSE

Information about the printer response data format. This structure is returned by the BIDI_Q_RESPONSE_FMT command.

    typedef struct _PRTRESPONSE {

      ULONG      flResponseType;    /*  Flag bits that define response values. */

      BYTE       bFirstChar;        /*  The beginning byte of printer-to-host messages, if bit 0 of flResponseType is set. */

      BYTE       bLastChar;         /*  The terminator byte of printer-to-host messages, if bit 1 of flResponseType is set. */

      USHORT     usLenFieldOffset;  /*  Offset from the beginning of printer-to-host messages, if bit 2 of flResponseType is set. */

      USHORT     usLenFieldWidth;   /*  Number of bytes in the length field of the printer-to-host messages, if bit 2 of flResponseType is

    set. */

      USHORT     usReserved;        /*  Reserved; must be 0 (zero). */

    } PRTRESPONSE;

    typedef   PRTRESPONSE   * PPRTRESPONSE ;