The Devices subkey in HKEY_CURRENT_USER lists the printers to which the client computer has a connection.
Each of the entries in this subkey has the following format:
printer-name REG_SZ Driver-name,Port:
printer-name will either be
local printer or
driver-name for Windows clients will be
port will either be
Nexx where xx is a numerical value,
starting with 00.