SNMP for Local printer?

前端 未结 3 992
迷失自我
迷失自我 2020-12-28 09:22

I am searching for a way to Get Information from a local printer. Maybe with the SNMP Protocol?

The printer is connected with USB or PPI (parallel port). All printer

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 10:17

    You can get out quite a bit of information about printers via WMI, though I'm not sure if it contains the information you're looking for:
    http://msdn.microsoft.com/en-us/library/Aa394363

    I think HP printers store their Serial-numbers somewhere under this registry key (possibly a key called identity or similar):
    HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\

    I've never used SNMP, though I remembered this library that might be of use if you go down that route:
    http://www.codeproject.com/KB/cs/SNMPDLL.aspx

提交回复
热议问题