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.
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.
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:~> -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the -d, -c, and -v options. -t Shows all status information. This is equivalent to using the -r, -d, -c, -v, -a, -p, and -o options. 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:~> -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 cer@Telcontar:~>
I then cleared the queue with lprm -P, as you can see, and the queue is gone, but no output resulted.
Means no error. This is the correct expected behaviour.
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. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)