In Ubuntu 14.04, HP Device Manager for HP Laser Jet 1018 gives error "Device Communication Error, code 5012" and printer will not print.
I am running Ubuntu 14.04, have installed the latest version of hplip (3.14.4), and cannot get the HP Laser Jet 1018 printer to print. When I first installed hplip 3.14.4, the printer did print a test page. And over the past few weeks with many attempts I do get the occasional page to print. But 98% of the time it just gives that device communication error 5012. The HP software says it is printing, and it keeps flashing intermittent reports that it is printing, and at other times that there is an error-- but it virtually never prints. And the HP Device Manager always shows that communication error 5012.
I found a similar question from several years ago [https:/
1. Please Unplug the USB cable.
2. Delete all the Print Queues from the CUPS.
3. Restart the system.
4. Plugin the USB Cable again. Device will get configured automatically.
But the above did not make any difference for me. It still does not print.
Below I am pasting the output of the hp diagnostics program. I also have an HP OfficeJet 5610 which is not connected. You can ignore the information showing below about that printer. I am just interested in getting the HP Laser Jet 1018 to print dependably.
=======
HP Linux Imaging and Printing System (ver. 3.14.4)
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: swarup
Proc: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 GNU/Linux
Distribution: ubuntu 14.04
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.14.4
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 14.04 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.4
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.14.4
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
[plugin]
installed = 1
eula = 1
version = 3.14.4
Current contents of '~/.hplip/
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/usb/
printer_name =
working_dir = .
[commands]
scan = /usr/bin/
[refresh]
rate = 30
enable = true
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[upgrade]
notify_upgrade = true
last_upgraded_time = 1398824791
pending_
latest_
[installation]
date_time = 05/27/2014 23:09:02
version = 3.14.4
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
policykit Admin-Policy-
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-
-------
| 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.4 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.4 OK -
hpmudext IO-Extension REQUIRED - 3.14.4 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.4 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.14.4 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
No Scanner found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_LaserJet_1018_2
------------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP LaserJet 1018, hpcups 3.14.3, requires proprietary plugin
Printer status: printer HP_LaserJet_1018_2 is idle. enabled since Tue 27 May 2014 11:07Rendering completed
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/usb/
error: Device not found
error: Communication status: Failed
Officejet-
-------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP Officejet 5600 Series, hpcups 3.14.3
Printer status: printer Officejet-
error: Unable to communicate with device (code=12): hp:/usb/
error: Device not found
error: Communication status: Failed
Officejet-
-------
Type: Fax
Device URI: hpfax:/
PPD: /etc/cups/
PPD Description: HP Fax hpcups
Printer status: printer Officejet-
error: Unable to communicate with device (code=12): hpfax:/
error: Device not found
error: Communication status: Failed
--------------
| PERMISSION |
--------------
Checking Permissions....
Permissions are correct.
Checking for Configured Queues....
Queue(s) configured correctly using HPLIP.
Checking for HP Properitery Plugin's....
Plugin's already installed
Checking for Printer Status....
error: 'Officejet-
Turn On Printer and re-run hp-doctor
error: 'HP_LaserJet_
Turn On Printer and re-run hp-doctor
error: 'Officejet-
Turn On Printer and re-run hp-doctor
Diagnose completed...
More information on Troubleshooting
Please close this terminal manually.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Swarup Dev