2.2.3.2.10 Client Print Caps From Print Ticket Response (PRINT_CAPS_FROM_PRINT_TKT_RSP)
A client reply to a PRINT_CAPS_FROM_PRINT_TKT_REQ message sent from the server, containing print capabilities.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
is_null_flag |
Capabilities (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Result |
Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field and the MessageId field in this message header MUST contain the same values as the InterfaceId and MessageId fields in the corresponding PRINT_CAPS_FROM_PRINT_TKT_REQ request message.
is_null_flag (1 byte): An 8-bit unsigned integer. This field determines whether the following optional Capabilities field is present. is_null_flag MUST be one of the following values.
-
Value
Meaning
0x00
Capabilities field is present.
0x01
Capabilities field is not present.
Capabilities (variable): The printer capabilities, in XML_DOCUMENT format, returned by the client printer driver. The content is treated as payload in this protocol.
Result (4 bytes): An HRESULT that describes the result of the call.