-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Cannot connect to printer over network from Linux

Create an account on the HP Community to personalize your profile and ask a question

12-29-2014 11:45 PM
When I run hp-setup, I can get the printer listed but it appears to refuse to communicate with the device. Same problem for wired ethernet as well as wireless.
Please help, I think I have tried everything by now...
Firewall disabled on the workstation does not help. Talking to the printers web interface (:8080) works perfectly. The printer works perfectly via USB. Also works fine from another windows PC (networked)
System:
Linux Mint 17 - X86_64 (up to date)
uninstalled the mint hplip package and installed the latest from HP manually....
----------------
hp-setup
HP Linux Imaging and Printing System (ver. 3.14.10)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: Unable to communicate with the device. Please check the device and try again.
Done.
----------------
hp-doctor output:
> hp-doctor
HP Linux Imaging and Printing System (ver. 3.14.10)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
Latest version of HPLIP is already installed.
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 GNU/Linux
Host: stargate
Proc: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 GNU/Linux
Distribution: linuxmint 17
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 17 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.10
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 12/29/2014 22:32:01
version = 3.14.10
[upgrade]
notify_upgrade = true
last_upgraded_time = 1419919247
pending_upgrade_time = 0
latest_available_version = 3.14.10
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32"
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
gs Ghostscript REQUIRED 7.05 9.10 OK -
network Network-wget OPTIONAL - 1.15 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus REQUIRED - 1.6.18 OK -
cups CUPS REQUIRED 1.1 1.7.2 OK 'CUPS Scheduler is running'
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
-------------------------
| General Dependencies |
-------------------------
reportlab Python-PDF-Lib OPTIONAL 2.0 3.0 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.10.4 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.19 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.6 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.10.4 OK -
cups-devel CUPS-SDK REQUIRED - 1.7.2 OK -
sane-devel SANE-SDK REQUIRED - 1.0.23 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.23 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.7.2 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -
------------------------------
| Compile Time Dependencies |
------------------------------
gcc gcc-Compiler REQUIRED - 4.8.2 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
hpmudext IO-Extension REQUIRED - 3.14.10 OK -
-----------------------
| Scan Configuration |
-----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.10 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.14.10 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/net/HP_Officejet_Pro_8620?ip=192.168.1.32' is a Hewlett-Packard HP_Officejet_Pro_8620 all-in-one
device `hpaio:/net/Officejet_Pro_L7600?ip=192.168.1.31' is a Hewlett-Packard Officejet_Pro_L7600 all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_Officejet_Pro_8620
---------------------
Type: Printer
Device URI: hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
PPD: /etc/cups/ppd/HP_Officejet_Pro_8620.ppd
PPD Description: HP Officejet Pro 8620, hpcups 3.14.10
Printer status: printer HP_Officejet_Pro_8620 is idle. enabled since Mon 29 Dec 2014 10:06:03 PM PST
error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: unable to open channel
error: Communication status: Failed
HP_Officejet_Pro_8620_fax
-------------------------
Type: Fax
Device URI: hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
PPD: /etc/cups/ppd/HP_Officejet_Pro_8620_fax.ppd
PPD Description: HP Fax4 hpcups
Printer Backend /usr/lib/cups/backend/hpfax does not exist! enabled since Mon 29 Dec 2014 10:06:03 PM PST
error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: unable to open channel
error: Communication status: Failed
Officejet_Pro_L7600_2
---------------------
Type: Printer
Device URI: hp:/net/Officejet_Pro_L7600?ip=192.168.1.31
PPD: /etc/cups/ppd/Officejet_Pro_L7600_2.ppd
PPD Description: HP Officejet Pro l7600, hpcups 3.14.3
Printer Backend /usr/lib/cups/backend/hp does not exist!ince Sun 28 Dec 2014 10:55:35 AM PST -
Communication status: Good
Officejet_Pro_L7600_fax_2
-------------------------
Type: Fax
Device URI: hpfax:/net/Officejet_Pro_L7600?ip=192.168.1.31
PPD: /etc/cups/ppd/Officejet_Pro_L7600_fax_2.ppd
PPD Description: HP Fax hpcups
Printer Backend /usr/lib/cups/backend/hpfax does not exist!since Mon 10 Nov 2014 10:22:10 AM PST -
Communication status: Good
--------------
| PERMISSION |
--------------
Checking Permissions....
Permissions are correct.
Checking for Configured Queues....
Queue(s) configured correctly using HPLIP.
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Checking for Printer Status....
error: 'HP_Officejet_Pro_8620_fax' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
error: 'HP_Officejet_Pro_8620' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
Diagnose completed...
12-30-2014 10:55 AM
Some additional information:
Switching to DHCP does not make any difference
Removing my old printer (Officejet_Pro_L7600"Officejet_Pro_L7600) from the network doesn't maker a difference either
Please let me know if I can provide adiotional info....
12-30-2014 02:59 PM
Syslog......
Dec 30 11:02:20 stargate hp-systray: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:20 stargate hp-systray: [29791]: error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:20 stargate hp-systray: hp-systray(hpdio)[29793]: error: Device not found
Dec 30 11:02:24 stargate hp-systray: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:24 stargate hp-systray: [29791]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:24 stargate hp-systray: hp-systray(hpdio)[29793]: error: Device not found
Dec 30 11:02:29 stargate python: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:29 stargate hp-toolbox: [30057]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:29 stargate hp-toolbox: hp-toolbox(UI)[30057]: error: Unable to open device hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32.
Dec 30 11:03:03 stargate python: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:03:03 stargate hp-check: [30059]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
01-24-2016 07:30 AM
Hello,
I had the same problem. Ther printer works perfect using a windows client but shows the error message "Unable to communicate with device (code=12)" under Linux.
I had disabled all not needed services on the printer during initial setup. After I re-enabled SNMPv2 (read only), the printer now works. I guess the linux driver needs SNMPv2 to get some information from the printer...
Hope this is helpful,
best regards,
Florian
