2.2.3.2.6 Client Devmode to Print Ticket Response (DEVMODE_TO_PRINT_TKT_RSP)
The DEVMODE_TO_PRINT_TKT_RSP response message is a response to the DEVMODE_TO_PRINT_TKT_REQ request message that contains 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 DEVMODE_TO_PRINT_TKT_REQ request message.
is_null_flag (1 byte): An 8-bit unsigned integer. This value determines whether the following optional PrintTicket field is present. is_null_flag MUST be one of the following values.
-
Value
Meaning
0x00
PrintTicket field is present.
0x01
PrintTicket field is not present.
PrintTicket (variable): PrintTicket, if present, MUST contain the updated version of the print ticket, in XML_DOCUMENT format, received in the DEVMODE_TO_PRINT_TKT_REQ request message that is 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.