On 15/02/2021 06.43, Doug McGarrett wrote:
I managed to get all the print queues cleared, with some difficulty. I used YaST to remove a second HP printer, so there is less confusion. I don't know why it got there in the first place. Now there is just one, not working. I wrote a little one-sentence file in Kate and told it to print to the LaserJet. Nothing happened--no light came on in the printer or anything. Then checked on the terminal. It turns out that at least some of these test documents did
On 2/15/21 6:49 AM, Carlos E. R. wrote: print--possibly on shutdown of the computer, I don't know. Certainly not when I sent them to the printer.
I'm sorry, but I'm lost. Yesterday you were thinking of reinstalling the system, or trying to uninstall the antivirus. I'm not sure how that went. At least one correspondent talked me out of that, at least temporarily. It does look like the crashing problem was related to eset, which I have removed. (Un- fortunately, I don't think there is any chance of getting any money back. Their site is not what I would call user-friendly.)
linux1:~ # lpstat linux1:~ # lpq -a Rank Owner Job File(s) Total Size 1st doug 289 Untitled 10240 bytes linux1:~ # lprm -P HP_LaserJet_Pro_M201dw linux1:~ # lpq -a no entries
I think lpstat should have shown the existence of the queue, as lpq -a did. Let's look at its man page (man lpstat):
DESCRIPTION lpstat displays status information about the current classes, jobs, and printers. *When run with no arguments*, lpstat will list active jobs queued by the current user.
But last I remember, you did not have a default printer. You can check with -d Shows the current default destination.
example:
cer@Telcontar:~> lpstat -d system default destination: cp1510n_ps cer@Telcontar:~>
-e Shows all available destinations on the local network.
example:
cer@Telcontar:~> lpstat -e cp1510n_ps cp1515n_hpijs cp1515n_pcl3 cer@Telcontar:~>
-p [printer(s)] Shows the printers and whether they are enabled for printing. If no printers are specified then all printers are listed.
example:
cer@Telcontar:~> lpstat -p printer cp1510n_ps is idle. enabled since 2021-01-30T21:24:02 CET File "/Library/Printers/hp/Profiles/Gray_A.icc" not available: No such file or directory printer cp1515n_hpijs is idle. enabled since 2020-10-23T22:15:18 CEST printer cp1515n_pcl3 is idle. enabled since 2020-09-29T00:00:55 CEST cer@Telcontar:~> The first two items work as specified. The third one is a problem:
doug@linux1:~> lpstat -d no system default destination doug@linux1:~> lpstat -e epson HP_LaserJet_Pro_M201dw doug@linux1:~> lpstat -p printer epson disabled since Sun 14 Feb 2021 01:53:15 PM EST - Paused printer HP_LaserJet_Pro_M201dw disabled since Sun 14 Feb 2021 01:53:12 PM EST - File "/usr/lib/cups/filter/hpps" not available: No such file or directory -s Shows a status summary, including the default destination, doug@linux1:~> lpstat -s no system default destination device for epson: lpd://192.168.1.26/LPT1 device for HP_LaserJet_Pro_M201dw: hp:/net/HP_LaserJet_Pro_M201dw?ip=192.168.29
-t Shows all status information. This is equivalent to using the -r, -d, -c, -v, -a, -p, and -o options.
doug@linux1:~> lpstat -t scheduler is running no system default destination device for epson: lpd://192.168.1.26/LPT1 device for HP_LaserJet_Pro_M201dw: hp:/net/HP_LaserJet_Pro_M201dw?ip=192.168.1.29 epson accepting requests since Sun 14 Feb 2021 01:53:15 PM EST HP_LaserJet_Pro_M201dw accepting requests since Sun 14 Feb 2021 01:53:12 PM EST printer epson disabled since Sun 14 Feb 2021 01:53:15 PM EST - <<<<<<<<< Paused printer HP_LaserJet_Pro_M201dw disabled since Sun 14 Feb 2021 01:53:12 PM EST - File "/usr/lib/cups/filter/hpps" not available: No such file or directory <<<<<<<<< epson-290
example:
cer@Telcontar:~> lpstat -s system default destination: cp1510n_ps device for cp1510n_ps: socket://bilbo.valinor:9100 device for cp1515n_hpijs: socket://bilbo.valinor:9100 device for cp1515n_pcl3: socket://bilbo.valinor:9100 cer@Telcontar:~> cer@Telcontar:~> cer@Telcontar:~> lpstat -t scheduler is running system default destination: cp1510n_ps device for cp1510n_ps: socket://bilbo.valinor:9100 device for cp1515n_hpijs: socket://bilbo.valinor:9100 device for cp1515n_pcl3: socket://bilbo.valinor:9100 cp1510n_ps accepting requests since 2021-01-30T21:24:02 CET cp1515n_hpijs accepting requests since 2020-10-23T22:15:18 CEST cp1515n_pcl3 accepting requests since 2020-09-29T00:00:55 CEST printer cp1510n_ps is idle. enabled since 2021-01-30T21:24:02 CET File "/Library/Printers/hp/Profiles/Gray_A.icc" not available: No such file or directory printer cp1515n_hpijs is idle. enabled since 2020-10-23T22:15:18 CEST printer cp1515n_pcl3 is idle. enabled since 2020-09-29T00:00:55 CEST cer@Telcontar:~>
doug@linux1:~> lpstat -s no system default destination device for epson: lpd://192.168.1.26/LPT1 device for HP_LaserJet_Pro_M201dw: hp:/net/HP_LaserJet_Pro_M201dw?ip=192.168.1.29 doug@linux1:~> lpstat -t scheduler is running no system default destination device for epson: lpd://192.168.1.26/LPT1 device for HP_LaserJet_Pro_M201dw: hp:/net/HP_LaserJet_Pro_M201dw?ip=192.168.1.29 epson accepting requests since Sun 14 Feb 2021 01:53:15 PM EST HP_LaserJet_Pro_M201dw accepting requests since Sun 14 Feb 2021 01:53:12 PM EST printer epson disabled since Sun 14 Feb 2021 01:53:15 PM EST - Paused printer HP_LaserJet_Pro_M201dw disabled since Sun 14 Feb 2021 01:53:12 PM EST - File "/usr/lib/cups/filter/hpps" not available: No such file or directory epson-290 doug 30720 Mon 15 Feb 2021 11:22:06 AM EST
doug@linux1:~> lpstat -t scheduler is running no system default destination device for epson: lpd://192.168.1.26/LPT1 device for HP_LaserJet_Pro_M201dw: hp:/net/HP_LaserJet_Pro_M201dw?ip=192.168.1.29 epson accepting requests since Sun 14 Feb 2021 01:53:15 PM EST HP_LaserJet_Pro_M201dw accepting requests since Sun 14 Feb 2021 01:53:12 PM EST printer epson disabled since Sun 14 Feb 2021 01:53:15 PM EST - Paused printer HP_LaserJet_Pro_M201dw disabled since Sun 14 Feb 2021 01:53:12 PM EST - File "/usr/lib/cups/filter/hpps" not available: No such file or directory epson-290
-v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
example:
cer@Telcontar:~> lpstat -v device for cp1510n_ps: socket://bilbo.valinor:9100 device for cp1515n_hpijs: socket://bilbo.valinor:9100 device for cp1515n_pcl3: socket://bilbo.valinor:9100
I then cleared the queue with lprm -P, as you
can see, and the queue is gone, but no output resulted. That was then.
NOW: doug@linux1:~> lprm -P Segmentation fault (core dumped) <<<<<<<<<<<<<<<<
I then went to a laptop with a Linux system (not OS-TW) on it and repeated the exercise, which shows the LaserJet working fine.
What now? --doug You have not shown anything wrong. I think the above shows something wrong. I'd sure like to fix this without having to start OS from scratch!
I know installing the printers was a hassle for me and for the readers and responders of this form, but I'm wondering if DEinstalling them and starting over would be the best solution, or is there something hiding in there that doesn't like me????? I have to make an observation. I've used Linux for a long time, much of it with PC Linux OS, which was nice until they "upgraded" it--castrated it, is more likely--but it was a bit of a hassle since some of the new assisting apps like YUM and YaST and zypper that OS has did not exist. OTOH, these apps are not transparent, and take some getting used to. I wonder if there is perhaps a bit more complication there than there needs to be --just thinking. . . . A couple of weeks ago (when it seemed to me that I needed another system) I installed Mint 19 386 on an old laptop. I had to find a way to install KDE, because Mint doesn't like it anymore, which I did. Once I did that, I would have to admit that a bunch of things go easier in that system. One of those things was the VERY SIMPLE installation of both printers, and they work without any problems at all! I'm not about to abandon OpenSUSE, but maybe someone should look into the complications that are part of this system. /rant off/ --doug