4.1.3 Add Printer Cachedata (DR_PRN_ADD_CACHEDATA)
When a printer is manually installed on the redirected port, the server sends this message to allow the client an opportunity to cache the configuration.
-
Channel Name = RDPDR, 116, Server to client 00000000 52 50 43 50 01 00 00 00 43 4f 4d 32 00 00 3a 00 00000010 00 00 00 00 2a 00 00 00 2a 00 00 00 00 00 00 00 00000020 42 00 72 00 6f 00 74 00 68 00 65 00 72 00 20 00 00000030 44 00 43 00 50 00 2d 00 31 00 30 00 30 00 30 00 00000040 20 00 55 00 53 00 42 00 00 00 42 00 72 00 6f 00 00000050 74 00 68 00 65 00 72 00 20 00 44 00 43 00 50 00 00000060 2d 00 31 00 30 00 30 00 30 00 20 00 55 00 53 00 00000070 42 00 00 00 52 50 -> RDPDR_CTYP_PRN = 0x5052 43 50 -> PAKID_PRN_CACHE_DATA = 0x5043 01 00 00 00 -> RDPDR_ADD_PRINTER_EVENT = 0x00000001 43 4f 4d 32 00 00 3a 00-> PortDosName (64 bits) 00 00 00 00 -> PnPNameLen = 0x00000000 2a 00 00 00 -> DriverNameLen = 0x0000002a 2a 00 00 00 -> PrintNameLen = 0x0000002a 00 00 00 00 -> CachedFieldsLen = 0x00000000 42 00 72 00 6f 00 74 00 68 00 65 00 72 00 20 00 44 00 43 00 50 00 2d 00 31 00 30 00 30 00 30 00 20 00 55 00 53 00 42 00 00 00 -> DriverName (variable - 42 bytes) = "Brother DCP-1000 USB" 42 00 72 00 6f 00 74 00 68 00 65 00 72 00 20 00 44 00 43 00 50 00 2d 00 31 00 30 00 30 00 30 00 20 00 55 00 53 00 42 00 00 00 -> PrinterName (variable - 42 bytes) = "Brother DCP-1000 USB"