LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > vik
User Name
Password

Notices


Rate this Entry

hplip error: Unable to communicate with device (code=12)

Posted 12-18-2012 at 11:00 PM by vik
Updated 07-06-2013 at 11:16 AM by vik

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
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
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.
  • 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.
Posted in Uncategorized
Views 10241 Comments 2
« Prev     Main     Next »
Total Comments 2

Comments

  1. Old Comment
    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 bayvista is offline
  2. Old Comment
    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 vik is offline
 

  



All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration