hplip error: Unable to communicate with device (code=12)
I have a wireless networked HP printer and was getting this error: Unable to communicate with device (code=12). I ran hp-check, hp-setup, hp-plugin, etc. After a few days' worth of frustration, I've figured it out.
The key was this: http://hplipopensource.com/node/216
So after running
I got this message: Timeout: No Response from ip.address.of.printer
Then I remembered that I had previously turned off SNMP discovery on the printer. All of my Windows computers were working fine with it off so no harm done, right? Well hplip on Linux needs it for some reason, even if you manually specify the IP address of the printer.
The key was this: http://hplipopensource.com/node/216
So after running
Code:
snmpwalk -Os -c public -v 1 ip.address.of.printer 1.3.6.1.4.1.11.2.3.9.1.1.7.0
Then I remembered that I had previously turned off SNMP discovery on the printer. All of my Windows computers were working fine with it off so no harm done, right? Well hplip on Linux needs it for some reason, even if you manually specify the IP address of the printer.
- open up a web browser and type http://ip.address.of.printer
- click on networking tab
- click on SNMP in left pane
- enable SNMP read-only access
- try the snmpwalk command again
- you should now see your printer, be able to print, etc.
Total Comments 2
Comments
-
How do you determine the printer address idf hplip is unable to communicate with it.
Posted 01-07-2013 at 01:17 AM by bayvista -
In this instance I had manually set the IP address of the printer, then afterwards turned off the SNMP service. If you need help setting up the IP this may help: http://h20000.www2.hp.com/bizsupport...ectID=bpj02326.
Posted 01-16-2013 at 04:53 PM by vik