2.2.2.4 Update Printer Cachedata (DR_PRN_UPDATE_CACHEDATA)


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

EventId

PrinterNameLen

ConfigDataLen

PrinterName (variable)

...

CachedPrinterConfigData (variable)

...

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_CACHE_DATA.

EventId (4 bytes): A SERVER_PRINTER_CACHE_EVENT (section 2.2.1.1) event. The cachedata field MUST be set to RDPDR_UPDATE_PRINTER_EVENT (0x00000002).

PrinterNameLen (4 bytes):  A 32-bit unsigned integer specifying the number of bytes in the PrinterName field, including its null terminator.

ConfigDataLen (4 bytes):  A 32-bit unsigned integer specifying the number of bytes in the CachedPrinterConfigData field.

PrinterName (variable): A null-terminated Unicode string that specifies the printer, for which the updated printer configuration data is sent.

CachedPrinterConfigData (variable):  A variable-length array of bytes. This field is a BLOB of data that describes the cached printer configuration (see section 3.1.1.1).