hplip will not communicate with my hp-5252 printer
When I install the hplip-gui and try to setup my printer on USB, It sees it but is not able to get the status of the printer. When the printer is printing it shows it is printing, but after it prints it says the printer is busy or offline. I run hp-doctor and get a bunch of errors. I have tried to install the missing packages but not all of them are either compatible or missing when I try to search for the files to install some say are installed so I assume they are incompatible and some are missing.
Here is the output from hp-doctor.
rick@rick-
HP Linux Imaging and Printing System (ver. 3.21.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 HP 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.
HP Linux Imaging and Printing System (ver. 3.21.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 HP 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....
error: Failed to locate hp-upgrade utility
Checking for Dependencies....
warning: ubuntu-21.10 version is not supported. Using ubuntu-21.04 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 GNU/Linux
Host: rick-M52BC-M32BC
Proc: 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 GNU/Linux
Distribution: ubuntu 21.10
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.21.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 21.10 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.21.6
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# 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=yes
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.21.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
[commands]
scan = /usr/bin/
[fax]
email_address =
voice_phone =
[installation]
date_time = 10/31/21 19:36:59
version = 3.21.6
[last_used]
device_uri = "hp:/usb/
printer_name = HP_OfficeJet_
working_dir = .
[polling]
device_list =
enable = false
interval = 5
[refresh]
enable = false
rate = 30
type = 1
[settings]
systray_messages = 0
systray_visible = 0
[upgrade]
last_upgraded_time = 1619459538
notify_upgrade = false
pending_
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.54.0 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.32 OK -
error: dbus DBus - Message bus system REQUIRED - 1.12.20 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.21 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 OK -
-------
| General Dependencies |
-------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
cups-image CUPS image - CUPS image development files REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.34' OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
error: libavahi-dev libavahi-dev REQUIRED - - MISSING 'libavahi-dev needs to be installed'
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.7 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
python3-xml Python XML libraries REQUIRED - 2.4.1 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.9.7 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.1.2 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.66 OK -
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 11.2.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.3 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.21.6 OK -
hpmudext IO-Extension REQUIRED - 3.21.6 OK -
-------
| Scan Configuration |
-------
'/etc/sane.
hpaio HPLIP-SANE-Backend REQUIRED - 3.21.6 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.21.6 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `escl:https:/
device `escl:http://
device `airscan:e2:HP DeskJet 3700 series [A72D21] (2)' is a eSCL HP DeskJet 3700 series [A72D21] (2) ip=192.168.1.30
device `airscan:e0:HP OfficeJet 5200 series [72D17F] (1992) (USB)' is a eSCL HP OfficeJet 5200 series [72D17F] (1992) (USB) ip=127.0.0.1
device `hpaio:
device `hpaio:
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
84
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_DeskJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_DeskJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HP_OfficeJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_OfficeJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HP_OfficeJet_
-------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_OfficeJet_
Communication status: Good
HP_OfficeJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /<email address hidden>
warning: Failed to read /<email address hidden> ppd file
PPD Description:
Printer status: printer HP_OfficeJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
OfficeJet_5200
--------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200 is idle. enabled since Fri 29 Oct 2021 11:28:11 AM EDT
Communication status: Good
OfficeJet_5200_2
----------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200_2 is idle. enabled since Thu 21 Oct 2021 09:58:32 AM EDT
Communication status: Good
OfficeJet_5200_fax
------------------
Type: Fax
Device URI: hpfax:/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200_fax is idle. enabled since Thu 21 Oct 2021 09:44:19 AM EDT
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_OfficeJet_
Missing Required Dependencies
-------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/
error: 'libusb-1.0.0-dev' package is missing/
error: 'libusb-0.1-4' package is missing/
error: 'libavahi-
error: 'libavahi-core-dev' package is missing/
error: 'libavahi-
ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (rick)'s password:
Checking Permissions....
Checking for Configured Queues....
warning: Fail to read ppd=/etc/
warning: Insufficient permission to access file /etc/cups/
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
More information on Troubleshooting
rick@rick-
HP Linux Imaging and Printing System (ver. 3.21.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 HP 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.
HP Linux Imaging and Printing System (ver. 3.21.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 HP 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....
error: Failed to locate hp-upgrade utility
Checking for Dependencies....
warning: ubuntu-21.10 version is not supported. Using ubuntu-21.04 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 GNU/Linux
Host: rick-M52BC-M32BC
Proc: 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 GNU/Linux
Distribution: ubuntu 21.10
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.21.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 21.10 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.21.6
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# 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=yes
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.21.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
[commands]
scan = /usr/bin/
[fax]
email_address =
voice_phone =
[installation]
date_time = 10/31/21 19:41:23
version = 3.21.6
[last_used]
device_uri = "hp:/usb/
printer_name = HP_OfficeJet_
working_dir = .
[polling]
device_list =
enable = false
interval = 5
[refresh]
enable = false
rate = 30
type = 1
[settings]
systray_messages = 0
systray_visible = 0
[upgrade]
last_upgraded_time = 1619459538
notify_upgrade = false
pending_
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.54.0 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.32 OK -
dbus DBus - Message bus system REQUIRED - 1.12.20 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.21 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 OK -
-------
| General Dependencies |
-------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
cups-image CUPS image - CUPS image development files REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.34' OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
error: libavahi-dev libavahi-dev REQUIRED - - MISSING 'libavahi-dev needs to be installed'
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.7 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
python3-xml Python XML libraries REQUIRED - 2.4.1 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.9.7 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.1.2 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.66 OK -
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 11.2.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.3 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.21.6 OK -
hpmudext IO-Extension REQUIRED - 3.21.6 OK -
-------
| Scan Configuration |
-------
'/etc/sane.
hpaio HPLIP-SANE-Backend REQUIRED - 3.21.6 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.21.6 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `escl:http://
device `airscan:e1:HP DeskJet 3700 series [A72D21] (2)' is a eSCL HP DeskJet 3700 series [A72D21] (2) ip=192.168.1.30
device `airscan:e3:HP OfficeJet 5200 series [72D17F] (1992)' is a eSCL HP OfficeJet 5200 series [72D17F] (1992) ip=169.254.133.3
device `airscan:e0:HP OfficeJet 5200 series [72D17F] (1992) (USB)' is a eSCL HP OfficeJet 5200 series [72D17F] (1992) (USB) ip=127.0.0.1
device `hpaio:
device `hpaio:
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
84
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_DeskJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_DeskJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HP_OfficeJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_OfficeJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HP_OfficeJet_
-------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_OfficeJet_
Communication status: Good
HP_OfficeJet_
-------
Type: Unknown
Device URI: implicitclass:
PPD: /<email address hidden>
warning: Failed to read /<email address hidden> ppd file
PPD Description:
Printer status: printer HP_OfficeJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
OfficeJet_5200
--------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200 is idle. enabled since Fri 29 Oct 2021 11:28:11 AM EDT
Communication status: Good
OfficeJet_5200_2
----------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200_2 is idle. enabled since Thu 21 Oct 2021 09:58:32 AM EDT
Communication status: Good
OfficeJet_5200_fax
------------------
Type: Fax
Device URI: hpfax:/
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer OfficeJet_5200_fax is idle. enabled since Thu 21 Oct 2021 09:44:19 AM EDT
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_OfficeJet_
Missing Required Dependencies
-------
error: 'libcups2' package is missing or 'cups' service is not running. (shows installed)
error: 'libusb-1.0.0-dev' package is missing/
error: 'libusb-0.1-4' package is missing/
error: 'libavahi-
error: 'libavahi-core-dev' package is missing/
error: 'libavahi-
ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (rick)'s password:
Checking Permissions....
Checking for Configured Queues....
warning: Fail to read ppd=/etc/
warning: Insufficient permission to access file /etc/cups/
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
More information on Troubleshooting
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RIchard Seitz
- Solved:
- Last query:
- Last reply: