2.2.3.1.3 Server Bind Printer Request (BIND_PRINTER_REQ)

When a redirected server printer is initialized by the server-side operating system, it calls into the server printer driver to establish the printer driver context. This message redirects such a call to the client side.


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 (variable)

...

ClientPrinterId

Version

Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field MUST be set to 0x00000000. The FunctionId field MUST be set to BIND_PRINTER_REQ (0x00000101).

ClientPrinterId (4 bytes): A 32-bit unsigned integer. This ID is exchanged by the Remote Desktop Protocol: File System Virtual Channel Extension, as specified in [MS-RDPEFS]. The ClientPrinterId value MUST be the same as the DeviceId field in the DEVICE_ANNOUNCE header (as specified in [MS-RDPEFS] section 2.2.1.3) that is embedded in the DeviceList field of the DR_CORE_DEVICELIST_ANNOUNCE_REQ packet (as specified in [MS-RDPEFS] section 2.2.2.9). This value uniquely identifies a printer on the client side.

Version (4 bytes): A 32-bit unsigned integer. This field is passed by the printing subsystem as a payload and is not interpreted by this protocol in any way.