2.2.2.2 Server Printer Set XPS Mode (DR_PRN_USING_XPS)

This message is sent from server to client to set the device in XPS mode (see section 3.1.1.2) and indicate to the client that future Printer Write Request (section 2.2.2.9) messages will use the XPS format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

PrinterId

Flags

Header (4 bytes): The common message header (as specified in [MS-RDPEFS] section 2.2.1.1). The Component field MUST be set to RDPDR_CTYP_PRN and the PacketId field MUST be set to PAKID_ PRN_USING_XPS.

PrinterId (4 bytes): A 32-bit unsigned integer. This message is handled by the Print Virtual Channel Extension only if the PrinterId field matches the previously established DeviceId field for a printer device, see [MS-RDPEFS] section 3.1.1.

Flags (4 bytes): A 32-bit unsigned integer. This field is unused. It can contain any value and MUST be ignored on receipt.