Page 1 of 2
HP printer paused and doesn't print [Solved]
Posted: 17 Dec 2022, 17:17
by Ed_P
My HP Officejet is attached to the router and has a local IP address. It shows Ready in it's HP Officejet Pro 8600 webpage in my Firefox browser, and as Paused in the Printers - CUP 2.4.2 webpage. When I attempt to print a file with Xviewer the Print window shows the printer as Paused, I click on the Print windows' Print button and the Document Print Status window shows the job on the printer as Pending. The Jobs - CUPS window shows the job as "pending since" with options to Hold, Cancel or Move.
But nothing prints. If I reboot to Windows the file prints.
I don't print that often and this problem has happened earlier but I didn't follow thru on it then once I got the file printed. I'm wondering if the problem has existed since I upgraded to Porteus 5.0.
This is my system currently:
Code: Select all
~# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
~# cat /etc/porteus/*
001-core.xzm:20221211
002-xorg.xzm:20221211
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928
~# ls -l /mnt/live/memory/images
000-kernel.xzm : Jul 2 03:32
001-core.xzm : Dec 11 03:47
002-xorg.xzm : Dec 11 03:50
002-xtra.xzm : Dec 11 01:13
003-cinnamon.xzm : Sep 25 01:21
011-slapt-get-0.11.6-x86_64-2gv.xzm : Oct 29 13:51
07-printing-x86_64-2022-08-06.xzm : Aug 6 07:54
Dellautonet.xzm : Oct 22 01:14
Dellsound.xzm : May 14 2022
Dellwifi2.xzm : Jul 30 00:31
firefox-94.0.2-x86_64-en-US.xzm : Nov 24 2021
mychanges.xzm : Dec 17 02:11
/var/log/cups/error_log
Code: Select all
W [17/Dec/2022:10:55:51 -0500] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [17/Dec/2022:10:55:51 -0500] [Job 6] Files have gone away.
E [17/Dec/2022:10:55:51 -0500] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
HP printer paused and doesn't print
Posted: 17 Dec 2022, 17:40
by beny
sudo hp-setup? what tell you
HP printer paused and doesn't print
Posted: 17 Dec 2022, 18:12
by Ed_P
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# hp-setup
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.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.
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
root@porteus:/home/guest#
HP printer paused and doesn't print
Posted: 17 Dec 2022, 18:28
by beny
the pyqt5 package is on slackware 15 /l
i don't ask you to run this on windows is too simple and you need a report on linux so you have to check hplip deps to run
HP printer paused and doesn't print
Posted: 17 Dec 2022, 18:38
by Ed_P
Code: Select all
root@porteus:/home/guest# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
Setting up device: hp:/net/Officejet_Pro_8600?ip=192.168.200.190
---------------------
| PRINT QUEUE SETUP |
---------------------
warning: One or more print queues already exist for this device: HP-Officejet-Pro-8600.
Would you like to install another print queue for this device (y=yes, n=no*, q=quit) ? n
-------------------
| FAX QUEUE SETUP |
-------------------
mlease enter a name for this fax queue (m=use model name:'Officejet_Pro_8600_fax'*, q=quit) ?
Using queue name: Officejet_Pro_8600_fax
Enter a location description for this printer (q=quit) ?m
Enter additonal information or notes for this printer (q=quit) ?
Adding fax queue to CUPS:
Device URI: hpfax:/net/Officejet_Pro_8600?ip=192.168.200.190
Queue name: Officejet_Pro_8600_fax
PPD file: /usr/share/ppd/HP/HP-Fax4-hpcups.ppd.gz
Location: m
Information:
--------------------
| FAX HEADER SETUP |
--------------------
Would you like to perform fax header setup (y=yes*, n=no, q=quit) ?n
Done.
root@porteus:/home/guest#
beny wrote: ↑17 Dec 2022, 18:28
the pyqt5 package is on slackware 15 /l
As I noted above, I am running with the current Porteus 5.0 files.
Code: Select all
~# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
~# cat /etc/porteus/*
001-core.xzm:20221211
002-xorg.xzm:20221211
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928
HP printer paused and doesn't print
Posted: 17 Dec 2022, 19:35
by Blaze
HP printer paused and doesn't print
Posted: 17 Dec 2022, 23:20
by Ed_P
Blaze wrote: ↑24 Jul 2022, 10:46
Open Porteus Settings Centre (password toor) > hit on Porteus Updater - get updates and reboot your system.
Check print from Mousepad or any website. I have checked and all works fine.
I am current.
Code: Select all
~# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
~# cat /etc/porteus/*
001-core.xzm:20221211
002-xorg.xzm:20221211
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928
Code: Select all
Starting checks ...
[OK] Server: http://dl.porteus.org
[OK] Architecture: x86_64
[OK] User is root
[OK] Distro is Porteus
You appear to booting from an ISO
We can check for updates and download any to
a location of your choosing. Then you'll have
to remaster your ISO or use the cheatcode:
extramod=/path/to/folder/of/updated-modules
[OK] Internet connection confirmed
Downloading: update-porteus-live DONE
Downloading: updates.txt DONE
Checking base modules ...
Checking patch availability ...
####################################
Porteus update report
You are up to date.
You may now close this window.
Is there a newer print module I need?
Code: Select all
07-printing-x86_64-2022-08-06.xzm : Aug 6 07:54

HP printer paused and doesn't print
Posted: 18 Dec 2022, 08:25
by Kulle
Hi Ed_P,
Code: Select all
root@porteus:/home/guest# hp-setup
....
error: hp-setup requires GUI support
That's why use interactive (-i) mode:
hp-setup
-i
Look here:
Setting up HP printers and scanners
HP printer paused and doesn't print
Posted: 18 Dec 2022, 13:00
by Blaze
Ed_P, I tested to print picture via Xviewer and all is gone fine.
I use
07-printing-x86_64-2022-12-18.xzm
Code: Select all
cnrdrvcups-ufr2-uk-5.60-1.10.x86_64
cnrdrvcups-ufr2lt-uk-5.00-1.x86_64
cups-2.4.2-x86_64-3_slack15.0
cups-bjnp-2.0.3-x86_64-1_SBo
cups-filters-1.28.11-x86_64-1
cups-pdf-3.0.1-x86_64-1_SBo
dbus-python-1.2.18-x86_64-3
epson-inkjet-printer-escpr-1.7.22-x86_64-1_SBo
epson-inkjet-printer-escpr2-1.1.57-x86_64-1_SBo
foomatic-db-engine-4.0.13-x86_64-1_SBo
gegl-0.4.34-x86_64-2
gexiv2-0.14.0-x86_64-3
ghostscript-9.55.0-x86_64-1
gimp-2.10.30-x86_64-2
gutenprint-5.3.4-x86_64-3
hplip-3.20.5-x86_64-6
libhandy1-1.8.0-alt1.x86_64
libieee1284-0.2.11-x86_64-6
libpackagekit-glib-1.2.5-alt7.x86_64
net-snmp-5.9.3-x86_64-1_slack15.0
pycups-2.0.1-x86_64-6
pycurl-7.44.1-x86_64-3
pysmbc-1.0.23-x86_64-1bl
python-notify2-0.3.1-x86_64-10
qpdf-10.5.0-x86_64-1
reportlab-3.6.12-x86_64-1cf
samsung-unified-driver-V1.00.39-x86_64-1bl
sane-1.0.32-x86_64-1
simple-scan-42.5-alt1.x86_64
system-config-printer-1.5.15-x86_64-5
After latest updates for Porteus 5.0 try to boot up in Always Fresh Mode and print picture.
HP printer paused and doesn't print
Posted: 20 Dec 2022, 15:48
by Ed_P
So, if I boot to Porteus without my mychanges.xzm file or my save.dat file I can print with my 07-printing module. The problem is my saved changes. I tried this approach but it didn't work.
Code: Select all
#!/bin/sh
MODULES="/mnt/$DRV/porteus5.0/Optional"
MODULE="07-printing-x86_64-2022-08-06.xzm"
if [ `whoami` != "root" ]; then
echo -e "Enter root's password\033[1;31m"
su -c "sh $0 $1 $2"; exit
fi
echo -e "\033[0m"; echo -en "\033]0;New 07 Mod\a"
#set -x;
if [ ! -e /mnt/live/memory/images/$MODULE ]; then
deactivate $MODULES/$MODULE > /dev/null 2>&1 &
sleep 2
fi
wait
rm -f /etc/cups/cupsd.conf
rm -f /etc/cups/ppd/*
rm -f /etc/cups/printers.conf
rm -f /etc/cups/subscriptions.conf
rm -f /home/guest/.hplip/hplip.conf
rm -f /var/cache/cups/*
sleep 2
activate $MODULES/$MODULE > /dev/null 2>&1 &
sleep 2
wait
I tried moving the 07-printing module to my Optional folder, booting without it, rerunning the script to remove the files in my save.dat file then activating the 07-printing module and that was an even worst scenario.
Somewhere in my save.dat file something is causing my printer to be "paused". And when I use my mychanges.xzm module rather than my save.dat file I have the same problem. The printer changes files that I backup to my changes module are:
Code: Select all
cp -a -p --parents /home/guest/.hplip/hplip.conf /tmp/mod/
cp -a -p --parents /var/cache/cups/* /tmp/mod/
cp -a -p --parents /etc/cups/ppd/* /tmp/mod/
cp -a -p --parents /etc/cups/printers.conf /tmp/mod/
cp -a -p --parents /etc/cups/subscriptions.conf /tmp/mod/
cp -a -p --parents /etc/cups/cupsd.conf /tmp/mod/
So what print related file(s) do I have to delete to get my print capabilities to work again??
HP printer paused and doesn't print
Posted: 20 Dec 2022, 17:20
by Blaze
Ed_P, do you looked issue at Xviewer side?
HP printer paused and doesn't print
Posted: 20 Dec 2022, 18:54
by Ed_P
Thanks for responding
Blaze.
Blaze wrote: ↑20 Dec 2022, 17:20
you looked issue at Xviewer side?

Xviewer works, it displays an image and the Print option to the HP Printer shows the printer's status as Paused.
Added in 8 minutes 1 second:
Don't know if this helps but it's what I got.
Code: Select all
guest@porteus:~$ xviewer
** (xviewer:2914): WARNING **: 13:50:07.141: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files
** (xviewer:2914): WARNING **: 13:50:07.141: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files
HP printer paused and doesn't print
Posted: 20 Dec 2022, 20:49
by beny
start avahi service,maybe is linked to the network print or something like that..
HP printer paused and doesn't print
Posted: 21 Dec 2022, 05:13
by Blaze
HP printer paused and doesn't print
Posted: 21 Dec 2022, 05:56
by Ed_P
In that the printer works without my changes, save.dat or xzm module, I don't think the 07-printer module needs to be recompiled. I think my problem is due to a changed file or files that needs to be replaced or deleted.