Printer stopped printing

Using XFCE.

It worked two days ago and I have not changed any settings in YaST. I have updated with zypper twice since then. My /var/log/cups/error_log shows…


E [23/Oct/2024:11:11:58 -0600] [CGI] cups-brf must be called as root
E [23/Oct/2024:11:11:58 -0600] [cups-deviced] PID 2702 (cups-brf) stopped with status 1!
E [23/Oct/2024:11:11:58 -0600] [cups-deviced] PID 2706 (gutenprint52+usb) stopped with status 1!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/cupsfilters.drv\"!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/generic-ubrl.drv\"!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/indexv4.drv\"!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/indexv3.drv\"!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/sample.drv\"!
E [23/Oct/2024:11:12:02 -0600] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/generic-brf.drv\"!

The printer works using other distros.

The log snippet you showed is not related to your issue with printing.

Please show us the output from

lpstat -r
ion@localhost:~> lpstat -r
scheduler is running
ion@localhost:~> 


It’s what YaST pointed to when trying to print a test page failed.

That happens when cupsd is not running.

What is reported by the following?

sudo systemctl status cups

ion@localhost:~> sudo systemctl status cups
[sudo] password for root:
● cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-10-23 11:11:17 CST; 59min ago
TriggeredBy: ● cups.socket
● cups.path
Docs: man:cupsd(8)
Main PID: 1029 (cupsd)
Tasks: 1 (limit: 4915)
CPU: 7.477s
CGroup: /system.slice/cups.service
└─1029 /usr/sbin/cupsd -l

Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 390: Active kernel driver on interface=0 r>
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 536: claimed 7/1/2 interface
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 781: read actual device_id successfully fd>
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 562: released 7/1/2 interface
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 961: new PRINT channel=2 clientCnt=1 chann>
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 428: Found interface conf=0, iface=0, alts>
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 390: Active kernel driver on interface=0 r>
Oct 23 12:05:19 localhost.localdomain hp[16357]: io/hpmud/musb.c 536: claimed 7/1/2 interface
Oct 23 12:05:27 localhost.localdomain hp[16357]: io/hpmud/musb.c 562: released 7/1/2 interface
Oct 23 12:05:27 localhost.localdomain hp[16357]: io/hpmud/musb.c 976: removed PRINT channel=2 clientCnt=0 c>
lines 8-22/22 (END)

My bad. I didn’t give you the right command, and misinterpreted the output; (the dangers of trying to multitask).

Show the results from

lpstat -t

and post output as pre-formatted text please.

ion@localhost:~> lpstat -t
scheduler is running
system default destination: hplaserjetm14m17
device for hplaserjetm14m17: hp:/usb/HP_LaserJet_M14-M17?serial=VNB3K24192
hplaserjetm14m17 accepting requests since Wed 23 Oct 2024 12:05:27 CST
printer hplaserjetm14m17 is idle.  enabled since Wed 23 Oct 2024 12:05:27 CST
ion@localhost:~> 


That actually looks ok.

Put CUPS into debug logging mode with

sudo cupsctl --dubug-logging

and clear any stale print jobs

sudo cancel -a

Try printing a PDF or text document with your favourite app, and observe the log with something like

egrep -iA3 "filter|error" /var/log/cups/error_log

Huge output

Thanks for all the assistance. I have never had as much trouble with any other printer I have owned in the last 50 years. Maybe it’s time to buy one that isn’t H-P.

Here’s the filter chain for the print job…

D [23/Oct/2024:12:36:55 -0600] [Job 9] 3 filters for job:
D [23/Oct/2024:12:36:55 -0600] [Job 9] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [23/Oct/2024:12:36:55 -0600] [Job 9] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [23/Oct/2024:12:36:55 -0600] [Job 9] hpcups (application/vnd.cups-raster to printer/hplaserjetm14m17, cost 0)
--
D [23/Oct/2024:12:36:55 -0600] [Job 9] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [23/Oct/2024:12:36:55 -0600] [Job 9] envp[10]="SERVER_ADMIN=root@localhost.localdomain"
D [23/Oct/2024:12:36:55 -0600] [Job 9] envp[11]="SOFTWARE=CUPS/2.2.7"
D [23/Oct/2024:12:36:55 -0600] [Job 9] envp[12]="TMPDIR=/var/spool/cups/tmp"
--
I [23/Oct/2024:12:36:55 -0600] [Job 9] Started filter /usr/lib/cups/filter/pdftopdf (PID 19996)
I [23/Oct/2024:12:36:55 -0600] [Job 9] Started filter /usr/lib/cups/filter/gstoraster (PID 19997)
I [23/Oct/2024:12:36:55 -0600] [Job 9] Started filter /usr/lib/cups/filter/hpcups (PID 19998)
I [23/Oct/2024:12:36:55 -0600] [Job 9] Started backend /usr/lib/cups/backend/hp (PID 19999)

The filters seem to execute with no errors…

D [23/Oct/2024:12:36:55 -0600] [Job 9] PID 19996 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [23/Oct/2024:12:36:55 -0600] [Job 9] PID 19997 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [23/Oct/2024:12:36:55 -0600] [Job 9] PID 19998 (/usr/lib/cups/filter/hpcups) exited with no errors.
D [23/Oct/2024:12:37:03 -0600] [Job 9] PID 19999 (/usr/lib/cups/backend/hp) exited with no errors.

But I assume no printed output?

Printed once, then stopped. I am looking for a hardware failure. Will report back.

It’s a printer problem. It has now stopped working with other distros. Thanks for all diagnostic help.

You could try removing the printer configuration and running hp-setup to reinstall again.

It’s an intermittent hardware problem with paper pickup. I need to buy a new printer. Switching to another post.

Ok, thanks for the update. A biased comment from me, (but based on long experience with using them) - Consider buying a Brother printer. They have good Linux support.

Thanks. I just read your post and will see what Brother model are sold here in Mexico.

The Brother I can buy is HL-1212 which doesn’t show up on the Printer List | OpenPrinting - The Linux Foundation list. And I can’t see if YaST lists it until I buy it and connect it.

Yes, that model is listed on the Brother site with having Linux drivers…
https://support.brother.com/g/b/downloadtop.aspx?c=us_ot&lang=en&prod=hl1212w_us_eu

In addition, most modern network printer models support driverless printing as well.