Problem with printing queue access
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/
warning: Fail to read ppd=/etc/
warning: Insufficient permission to access file /etc/cups/
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_
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
|
#1 |
Hi Bert,
I hope that you have installed latest driver and plugin file from below link :
https:/
https:/
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
|
#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-
Thanks very much, cheers.
Revision history for this message
|
#3 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.
Revision history for this message
|
#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:/
>
> 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:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
"warning: Failed to read /etc/cups/
I assume the user lacks membership of the lp group.
Revision history for this message
|
#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
|
#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
|
#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/
PPD: /etc/cups/
PPD Description: HP Officejet Pro 8600, hpcups 3.16.3
Printer status: printer Officejet_Pro_8600 now printing Officejet_
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
|
#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
|
#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/
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. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
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=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
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-
hpijs-only-build=no
apparmor_build=yes
class-driver=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: Bestand of map bestaat niet
Current contents of '~/.hplip/
[upgrade]
notify_upgrade = true
last_upgraded_time = 1611482407
pending_
latest_
[last_used]
device_uri = "hp:/net/
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.
-------
| 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:
device `genesys:
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
Officejet_Pro_8600
------------------
Type: Printer
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP Officejet Pro 8600, hpcups 3.16.3
Printer status: printer Officejet_Pro_8600 now printing Officejet_
Communication status: Good
Officejet_
-------
Type: Printer
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP Officejet Pro 8600, hpcups 3.20.2
Printer status: printer Officejet_
Communication status: Good
Officejet_
-------
Type: Fax
Device URI: hpfax:/
PPD: /etc/cups/
PPD Description: HP Fax4 hpcups
Printer status: printer Officejet_
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
|
#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
Revision history for this message
|
#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
|
#13 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.