Problem with printing queue access

Asked by Bert Ruitenberg

Hi there and happy New Year. I recently upgraded to Linux Mint 19.3 Cinnamon, version 4.4.8, with which I'm using HPLIP 3.20.2 for my Officejet Pro 8600. When I try to print a document the command appears to be sent to the printer but for some reason the printer doesn't do its job.

When running HP diagnostics I get the following output (only the pertinent lines reproduced here):

warning: Failed to read /etc/cups/ppd/Officejet_Pro_8600_fax.ppd ppd file
warning: Fail to read ppd=/etc/cups/ppd/Officejet_Pro_8600.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Officejet_Pro_8600.ppd
warning: Could not complete Queue(s) configuration check

Identical outputs were received after running 'hp-check -t' as per your instructions for submitting a question.

I also get an output from a Printing troubleshooter, which reads: The queue 'Officejet_Pro_8600' is not enabled. The reason given is: 'File" not found'.
This is followed by an advice to select the 'Enabled' checkbox in the 'Policies' tab for the printer, which I have done (but to no avail,
 I keep getting the same output from the Printing troubleshooter).

Any suggestions on how to overcome this issue will be greatly appreciated. Sincerely, BertR.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
shivani mandora (shivani1708) said :
#1

Hi Bert,

I hope that you have installed latest driver and plugin file from below link :

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
https://developers.hp.com/hp-linux-imaging-and-printing/plugins

Also , installation via $sh hplip-3.20.11.run should be without any error.

After the installation, you can setup printer via USB or via ip address with below command:

$hp-setup

After that open toolbox and give print.

Even after this , if print does not work then paste the output of $hp-check -t here.

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#2

Hi Shivani,

Many thanks for your reply. I've used the links you provided, but when installing hplip-3.20.11.run the process gets stuck at the following step:

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio

On the line after this text I see the alternating symbols -/|\ moving. I let that go on for close to one hour, but nothing seems to be happening so I just closed the terminal window to hopefully abort the process.

Besides that, I'm also not clear what to do with the plugin file (hplip-3.20.11-plugin.run, or hplip-3.20.11-plugin.run.asc - which one do I need). Should I also run that in a terminal window with the $sh command? And before or after the install file?

Thanks very much, cheers.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#4

Please keep my question open, thanks.

Op vr 22 jan. 2021 10:50 schreef Launchpad Janitor <
<email address hidden>>:

> Your question #694785 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/694785
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https://answers.launchpad.net/hplip/+question/694785
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

"warning: Failed to read /etc/cups/ppd/Officejet_Pro_8600_fax.ppd ppd file"

I assume the user lacks membership of the lp group.

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#6

Hi Manfred,

I don't know what an lp group is, but I'm the only user of the PC from which I'm trying to print and I have Admin rights for my Linux system. Does that help? I'd appreciate any further assistance you may be able to provide, thanks.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Open a terminal window and issue the command

sudo usermod -a -G lp bert

(if you username is different from bert, then replace the last parameter accordingly)

Then log out and log in again.

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#8

Hi Manfred, thanks for your reaction. I entered the command as suggested, logged out/in, but sadly there seems to be no improvement. I ran $hp-check -t which resulted in the following output:

Officejet_Pro_8600
------------------
Type: Printer
Device URI: hp:/net/Officejet_Pro_8600?ip=192.168.1.200
PPD: /etc/cups/ppd/Officejet_Pro_8600.ppd
PPD Description: HP Officejet Pro 8600, hpcups 3.16.3
Printer status: printer Officejet_Pro_8600 now printing Officejet_Pro_8600-1108. enableFile '' not found 2021 09:54:45 CET
Communication status: Good

(Obviously the output was more extensive than this, but I only selected this part. Let me know in case the full output is needed.)

I'm open to further suggestions, thanks.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

"PPD Description: HP Officejet Pro 8600, hpcups 3.16.3"

This does not fit to your statement "HPLIP 3.20.2".

I suggest that you uninstall everything from HPLIP and install it again.

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#10

Hi Manfred,

Well spotted! I followed your suggestion and uninstalled HPLIP (using the uninstall option from the Menu). Then I tried to install the latest version, i.e. 3.20.11, but I encountered the same problem as described earlier in the thread.

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio

The install programme seems to get stuck at this step, it keeps trying to do something but I only see the 'in progress' indication with the alternating - \ / | characters, so after a good half hour I closed that terminal window again.

Subsequently I went back to installing version 3.20.2 (which doesn't seem to require the Remove step?) and opted to install a new printer queue in addition to the existing one that was apparently found. My printer name now has a _2 extension in the HP Device Manager.

Sadly however neither of the two queues result in printing. The jobs are accepted but somehow not processed. This is the full content of the diagnostic:

======================================

$ hp-check -t
Saving output in log file: /home/bert/Downloads/hp-check.log

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

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.

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: 4.15.0-134-generic #138-Ubuntu SMP Fri Jan 15 10:52:18 UTC 2021 GNU/Linux
 Host: DesktopB
 Proc: 4.15.0-134-generic #138-Ubuntu SMP Fri Jan 15 10:52:18 UTC 2021 GNU/Linux
 Distribution: 22 19.3
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.20.2
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 19.3 version

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

[hplip]
version=3.20.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.2
html=/usr/share/doc/hplip-3.20.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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.20.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: Bestand of map bestaat niet

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1611482407
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = "hp:/net/Officejet_Pro_8600?ip=192.168.1.200"
printer_name =
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

[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 =

[installation]
date_time = 24-01-21 11:19:10
version = 3.20.2

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

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

 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.5.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python-xml Python XML libraries REQUIRED - 2.2.5 OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 6.2.2 OK -
 pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.12.1 OK -
 libpthread libpthread - POSIX threads library REQUIRED - 2.27 OK -
 python-devel Python devel - Python development files REQUIRED 2.2 2.7.17 OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
 pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.17 OK -
 python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 sane SANE - Scanning library REQUIRED - - OK -

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

 scanext Scan-SANE-Extension REQUIRED - 3.20.2 OK -
 hpaio HPLIP-SANE-Backend REQUIRED - 3.20.2 OK 'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 network network -wget OPTIONAL - 1.19.4 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

 hpmudext IO-Extension REQUIRED - 3.20.2 OK -
 cupsext CUPS-Extension REQUIRED - 3.20.2 OK -

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

device `hpaio:/net/Officejet_Pro_8600?ip=192.168.1.200' is a Hewlett-Packard Officejet_Pro_8600 all-in-one
device `genesys:libusb:001:003' is a Canon LiDE 35/40/50 flatbed scanner

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

No devices found.

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

Officejet_Pro_8600
------------------
Type: Printer
Device URI: hp:/net/Officejet_Pro_8600?ip=192.168.1.200
PPD: /etc/cups/ppd/Officejet_Pro_8600.ppd
PPD Description: HP Officejet Pro 8600, hpcups 3.16.3
Printer status: printer Officejet_Pro_8600 now printing Officejet_Pro_8600-0. enabled sFile '' not found21 11:06:19 CET
Communication status: Good

Officejet_Pro_8600_2
--------------------
Type: Printer
Device URI: hp:/net/Officejet_Pro_8600?ip=192.168.1.200
PPD: /etc/cups/ppd/Officejet_Pro_8600_2.ppd
PPD Description: HP Officejet Pro 8600, hpcups 3.20.2
Printer status: printer Officejet_Pro_8600_2 now printing Officejet_Pro_8600_2-0. enablFile '' not foundn 2021 11:05:50 CET
Communication status: Good

Officejet_Pro_8600_fax
----------------------
Type: Fax
Device URI: hpfax:/net/Officejet_Pro_8600?ip=192.168.1.200
PPD: /etc/cups/ppd/Officejet_Pro_8600_fax.ppd
PPD Description: HP Fax4 hpcups
Printer status: printer Officejet_Pro_8600_fax is idle. enabled since vr 21 feb 2020 22:32:50 CET
Communication status: Good

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

No errors or warnings.

Done.
bert@DesktopB ~/Downloads $
HP Linux Imaging and Printing System (ver. 3.20.2)
AutoConfig Utility to check queues configuration ver. 1.1

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.

warning: 2 queues of same device Officejet_Pro_8600 is configured. Remove unwanted queues.
error: 2 queues of same device Officejet_Pro_8600 is configured.
Remove unwanted queues.
===============================
Based on your previous reaction I see now that in the first printer queue a PPD file is mentioned for hpcups 3.16.3, and for the second queue one for hpcups 3.20,2

Now I noticed that in Feb 2019 you provided advice to a similar question (#678716) and suggested to remove a queue - just like the recommendation at the end of the diagnostic. To my embarrassment I have to admit that I don't exactly know how to do that, so if you think that solution is applicable to my situation as well, I'll need step-by-step instructions please.

Again, thanks for your time and your patience!

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

You should be able to delete the extra print queue with a command like

sudo lpadmin -x Officejet_Pro_8600

Or you can use the cups web interface by using your web browser to visit the page

http://localhost:631/

Revision history for this message
Bert Ruitenberg (bruitenberg) said :
#12

Thanks once more, Manfred. I was indeed able to delete the extra print queue with the command you provided. I also changed a permission for the printer in the Policies section of the Print Manager (I'm not sure these are the correct English names; I'm using a translated version of Linux) so everything should be fine now. Yet somehow it isn't fine. My computer sends print commands to the printer and displays 'completed' messages shortly thereafter, but my printer still is not responding.

I'll keep looking for other solutions.

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.