HPLIP problems with Kubuntu Linux

Asked by Arnett Carroll

I have installed Kubuntu 15.04 on a Dell Latitude D510 with 2GB RAM. I used the HP device driver install wizard at http://hplipopensource.com/hplip-web...20_series.html to download the Ubuntu linux version of HPLIP v 3.15.7. I followed the instructions to install my HP3521 all-in-one printer software.

When Kubuntu linux starts I receive the following error message:

HPLIP Status Service

No system tray detected on this system

Unable to start, exiting

When I start Simple Scan I receive the following error message:

No Scanners detected.

I opened System Settings and clicked Printers

The information and settings are correct.

What do I need to do to correct the problems?

Hp-check -t reports:

arnett@arnett-Latitude-D510:~$ hp-check -t
Saving output in log file: /home/arnett/hp-check.log

HP Linux Imaging and Printing System (ver. 3.15.7)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP
supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed
to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied
package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper
dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check
both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
   OK
   MISSING       - Missing Dependency or Permission or Plug-in
   INCOMPAT      - Incompatible dependency-version or Plugin-version

---------------
| SYSTEM INFO |
---------------

Kernel: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 GNU/Linux
Host: arnett-Latitude-D510
Proc: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 GNU/Linux
Distribution: ubuntu 15.04
Bitness: 32 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  15.04 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.15.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
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.15.7
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 = 08/27/2015 12:59:56
version = 3.15.7

[upgrade]
notify_upgrade = true
last_upgraded_time = 1440525280
pending_upgrade_time = 0

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/net/Deskjet_3520_series?ip=192.168.1.117
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 |
--------------------------

gs                   GhostScript - PostScript and PDF language interpreter and previewe
r REQUIRED        7.05            9.15            OK         -
scanimage            scanimage - Shell scanning program                           OPTIO
NAL        1.0             1.0.24          OK         -
xsane                xsane - Graphical scanner frontend for SANE                  OPTIO
NAL        0.9             0.998           OK         -
cups                 CUPS - Common Unix Printing System                           REQUI
RED        1.1             2.0.2           OK         'CUPS Scheduler is running'
policykit            PolicyKit - Administrative policy framework                  OPTIO
NAL        -               0.105           OK         -
network              network -wget                                                OPTIO
NAL        -               1.16.1          OK         -
avahi-utils          avahi-utils                                                  OPTIO
NAL        -               0.6.31          OK         -
dbus                 DBus - Message bus system                                    REQUI
RED        -               1.8.12          OK         -

-------------------------
|  General Dependencies |
-------------------------

libcrypto            libcrypto - OpenSSL cryptographic library                    REQUI
RED        -               1.0.1           OK         -
python-dbus          Python DBus - Python bindings for DBus                       REQUI
RED        0.80.0          1.2.0           OK         -
reportlab            Reportlab - PDF library for Python                           OPTIO
NAL        2.0             3.1.44          OK         -
python-notify        Python libnotify - Python bindings for the libnotify Desktop notif
ications OPTIONAL        -               -               OK         -
pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUI
RED        4.0             4.11.3          OK         -
python-xml           Python XML libraries                                         REQUI
RED        -               2.1.0           OK         -
libusb               libusb - USB library                                         REQUI
RED        -               1.0             OK         -
cups-image           CUPS image - CUPS image development files                    REQUI
RED        -               2.0.2           OK         -
libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUI
RED        5.0.9           5.7.2           OK         -
sane-devel           SANE - Scanning library development files                    REQUI
RED        -               1.0.24          OK         -
pil                  PIL - Python Imaging Library (required for commandline scanning wi
th hp-scan) OPTIONAL        -               1.1.7           OK         -
python2X             Python 2.2 or greater - Python programming language          REQUI
RED        2.2             2.7.9           OK         -
pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUI
RED        4.0             4.11.3          OK         -
libjpeg              libjpeg - JPEG library                                       REQUI
RED        -               -               OK         -
libpthread           libpthread - POSIX threads library                           REQUI
RED        -               2.21            OK         -
python-devel         Python devel - Python development files                      REQUI
RED        2.2             2.7.9           OK         -
cups-devel           CUPS devel- Common Unix Printing System development files    REQUI
RED        -               2.0.2           OK         -
sane                 SANE - Scanning library                                      REQUI
RED        -               1.0.24          OK         -

---------------
|  COMPILEDEP |
---------------

libtool              libtool - Library building support services                  REQUI
RED        -               2.4.2           OK         -
gcc                  gcc - GNU Project C and C++ Compiler                         REQUI
RED        -               4.9.2           OK         -
make                 make - GNU make utility to maintain groups of programs       REQUI
RED        3.0             4.0             OK         -

----------------------
|  Python Extentions |
----------------------

cupsext              CUPS-Extension                                               REQUI
RED        -               3.15.7          OK         -
hpmudext             IO-Extension                                                 REQUI
RED        -               3.15.7          OK         -

-----------------------
|  Scan Configuration |
-----------------------

scanext              Scan-SANE-Extension                                          REQUI
RED        -               3.15.7          OK         -
hpaio                HPLIP-SANE-Backend                                           REQUI
RED        -               3.15.7          OK         'hpaio found in /etc/sane.d/dll.co
nf'

-----------------------
|  Other Dependencies |
-----------------------

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_Deskjet_3520_series
----------------------
Type: Unknown
Device URI: dnssd://Deskjet%203520%20series%20%5B5DEC84%5D._ipp._tcp.local/?uuid=1c852a4
d-b800-1f08-abcd-28924a5dec84
PPD: /etc/cups/ppd/HP_Deskjet_3520_series.ppd
PPD Description: HP Deskjet 3520 Series, hpcups 3.15.7
Printer status: printer HP_Deskjet_3520_series is idle.  enabled since Thu 27 Aug 2015 1
1:36:20 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backen
d for HP-Devices.

--------------
| PERMISSION |
--------------

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 0
Total Warnings: 1

Done.
arnett@arnett-Latitude-D510:~$

I removed the system tray panel and reinstalled it. HPLIP loaded properly. I then ran hp-setup 192.168.1.117 from the terminal. The printer now appears in HPLIP.

Hp-check -t now reports:

arnett@arnett-Latitude-D510:~$ hp-check -t
Saving output in log file: /home/arnett/hp-check.log

HP Linux Imaging and Printing System (ver. 3.15.7)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP
supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed
to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied
package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper
dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check
both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
   OK
   MISSING       - Missing Dependency or Permission or Plug-in
   INCOMPAT      - Incompatible dependency-version or Plugin-version

---------------
| SYSTEM INFO |
---------------

Kernel: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 GNU/Linux
Host: arnett-Latitude-D510
Proc: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 GNU/Linux
Distribution: ubuntu 15.04
Bitness: 32 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  15.04 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.15.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
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.15.7
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 = 08/28/2015 13:49:35
version = 3.15.7

[upgrade]
notify_upgrade = true
last_upgraded_time = 1440525280
pending_upgrade_time = 0

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/net/Deskjet_3520_series?ip=192.168.1.117
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 |
--------------------------

gs                   GhostScript - PostScript and PDF language interpreter and previewe
r REQUIRED        7.05            9.15            OK         -
scanimage            scanimage - Shell scanning program                           OPTIO
NAL        1.0             1.0.24          OK         -
xsane                xsane - Graphical scanner frontend for SANE                  OPTIO
NAL        0.9             0.998           OK         -
cups                 CUPS - Common Unix Printing System                           REQUI
RED        1.1             2.0.2           OK         'CUPS Scheduler is running'
policykit            PolicyKit - Administrative policy framework                  OPTIO
NAL        -               0.105           OK         -
network              network -wget                                                OPTIO
NAL        -               1.16.1          OK         -
avahi-utils          avahi-utils                                                  OPTIO
NAL        -               0.6.31          OK         -
dbus                 DBus - Message bus system                                    REQUI
RED        -               1.8.12          OK         -

-------------------------
|  General Dependencies |
-------------------------

libcrypto            libcrypto - OpenSSL cryptographic library                    REQUI
RED        -               1.0.1           OK         -
python-dbus          Python DBus - Python bindings for DBus                       REQUI
RED        0.80.0          1.2.0           OK         -
reportlab            Reportlab - PDF library for Python                           OPTIO
NAL        2.0             3.1.44          OK         -
python-notify        Python libnotify - Python bindings for the libnotify Desktop notif
ications OPTIONAL        -               -               OK         -
pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUI
RED        4.0             4.11.3          OK         -
python-xml           Python XML libraries                                         REQUI
RED        -               2.1.0           OK         -
libusb               libusb - USB library                                         REQUI
RED        -               1.0             OK         -
cups-image           CUPS image - CUPS image development files                    REQUI
RED        -               2.0.2           OK         -
libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUI
RED        5.0.9           5.7.2           OK         -
sane-devel           SANE - Scanning library development files                    REQUI
RED        -               1.0.24          OK         -
pil                  PIL - Python Imaging Library (required for commandline scanning wi
th hp-scan) OPTIONAL        -               1.1.7           OK         -
python2X             Python 2.2 or greater - Python programming language          REQUI
RED        2.2             2.7.9           OK         -
pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUI
RED        4.0             4.11.3          OK         -
libjpeg              libjpeg - JPEG library                                       REQUI
RED        -               -               OK         -
libpthread           libpthread - POSIX threads library                           REQUI
RED        -               2.21            OK         -
python-devel         Python devel - Python development files                      REQUI
RED        2.2             2.7.9           OK         -
cups-devel           CUPS devel- Common Unix Printing System development files    REQUI
RED        -               2.0.2           OK         -
sane                 SANE - Scanning library                                      REQUI
RED        -               1.0.24          OK         -

---------------
|  COMPILEDEP |
---------------

libtool              libtool - Library building support services                  REQUI
RED        -               2.4.2           OK         -
gcc                  gcc - GNU Project C and C++ Compiler                         REQUI
RED        -               4.9.2           OK         -
make                 make - GNU make utility to maintain groups of programs       REQUI
RED        3.0             4.0             OK         -

----------------------
|  Python Extentions |
----------------------

cupsext              CUPS-Extension                                               REQUI
RED        -               3.15.7          OK         -
hpmudext             IO-Extension                                                 REQUI
RED        -               3.15.7          OK         -

-----------------------
|  Scan Configuration |
-----------------------

scanext              Scan-SANE-Extension                                          REQUI
RED        -               3.15.7          OK         -
hpaio                HPLIP-SANE-Backend                                           REQUI
RED        -               3.15.7          OK         'hpaio found in /etc/sane.d/dll.co
nf'

-----------------------
|  Other Dependencies |
-----------------------

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_Deskjet_3520_series
----------------------
Type: Unknown
Device URI: dnssd://Deskjet%203520%20series%20%5B5DEC84%5D._ipp._tcp.local/?uuid=1c852a4
d-b800-1f08-abcd-28924a5dec84
PPD: /etc/cups/ppd/HP_Deskjet_3520_series.ppd
PPD Description: HP Deskjet 3520 Series, hpcups 3.15.7
Printer status: printer HP_Deskjet_3520_series is idle.  enabled since Fri 28 Aug 2015 0
1:04:42 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backen
d for HP-Devices.

--------------
| PERMISSION |
--------------

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 0
Total Warnings: 1

Done.
arnett@arnett-Latitude-D510:~$

Upon restarting the system, HPLIP loads into the system tray. Although the printer is installed and configured in the KDE system settings it does not show in HPLIP or HPLIP device manager. Why can't HPLIP find the printer?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Arnett Carroll
Solved:
Last query:
Last reply:
Revision history for this message
goutam kodu (goutam-hplip) said :
#1

Hi,

Please delete the existing queue for this printer in 'KDE system settings' and reconfigure the queue using command 'hp-setup' in terminal.

This should be able to pick the correct PPD file for the printer and configure hp backend for it.
Run command 'hp-scan' in terminal and let us know if you are able to scan.

Thanks,
Goutam

Revision history for this message
Arnett Carroll (arnett-carroll) said :
#2

How do I delete the print queue?

I clicked "Printers" under Hardware

Then "Configure your printers"
Then "Open Print Queue"

I see options to cancel, hold, resume, reprint and All jobs

There is no option to delete the print queue

On 08/30/2015 04:36 AM, goutam kodu wrote:
> Your question #270835 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/270835
>
> Status: Open => Answered
>
> goutam kodu proposed the following answer:
> Hi,
>
> Please delete the existing queue for this printer in 'KDE system
> settings' and reconfigure the queue using command 'hp-setup' in
> terminal.
>
> This should be able to pick the correct PPD file for the printer and configure hp backend for it.
> Run command 'hp-scan' in terminal and let us know if you are able to scan.
>
>
> Thanks,
> Goutam
>

Revision history for this message
Arnett Carroll (arnett-carroll) said :
#3

I followed the rest of your instructions anyway and the printer scanned
using "hp-scan". It also scanned using Simple Scan. I rebooted the
machine and scanned again and it worked. Thanks.

On 08/30/2015 04:36 AM, goutam kodu wrote:
> Your question #270835 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/270835
>
> Status: Open => Answered
>
> goutam kodu proposed the following answer:
> Hi,
>
> Please delete the existing queue for this printer in 'KDE system
> settings' and reconfigure the queue using command 'hp-setup' in
> terminal.
>
> This should be able to pick the correct PPD file for the printer and configure hp backend for it.
> Run command 'hp-scan' in terminal and let us know if you are able to scan.
>
>
> Thanks,
> Goutam
>

Revision history for this message
goutam (goutamkk) said :
#4

Great .. If its working fine, can this question be marked as solved

Revision history for this message
Arnett Carroll (arnett-carroll) said :
#5

I found a couple of things to check in order to make sure that HPLIP works right. First, delete any failed printers that failed setup. Also, make sure that the HP printer doesn't need to be reset to enable wireless communication. Then, make sure that the setup routine carries through the wireless connection setup. it should work reliably after that. Do a few scans, then resart your computer and scan something else. I used playing cards...

Revision history for this message
Arnett Carroll (arnett-carroll) said :
#6

Yes

On 08/31/2015 12:11 AM, goutam wrote:
> Your question #270835 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/270835
>
> Status: Open => Answered
>
> goutam proposed the following answer:
> Great .. If its working fine, can this question be marked as solved
>