2.2.3.2.12 Client Validate Print Ticket Response (VALIDATE_PRINT_TKT_RSP)
The VALIDATE_PRINT_TKT_RSP response message is a reply to a VALIDATE_PRINT_TKT_REQ request message and is used to return an updated print ticket.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
is_null_flag |
PrintTicket (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 VALIDATE_PRINT_TKT_REQ request message.
is_null_flag (1 byte): An 8-bit unsigned integer. This field determines whether the following optional PrintTicket field is present. is_null_flag MUST be one of the values in the following table.
-
Value
Meaning
0x00
PrintTicket field is present.
0x01
PrintTicket field is not present.
PrintTicket (variable): The updated print ticket, in XML_DOCUMENT format, to be returned by the client printer driver. The content is treated as payload in this protocol.
Result (4 bytes): An HRESULT describing the result of the call.