
Tue, 10 Aug 2021 21:26:54 +0900 időpontban Masaru Nomiya írta:
Hello,
In the Message;
Subject : cups print problem Message-ID : <ce0e8789dbb0231842491dfcd80dbd15@gmail.hu> Date & Time: Tue, 10 Aug 2021 13:10:29 +0200
[IG] == Istvan Gabor <suseuser04@gmail.hu> has written:
IG> Hello:
IG> This occurs in openSUSE Leap 15.1 with its default cups version (CUPS 2.2.7).
IG> I have a HP Laserjet P3015 printer attached to the computer via USB cable.
IG> The print queue setup is OK and many times printing occurs without any problem.
IG> But occasionally the printer completely freezes when I try to print something. IG> I could not find out yet what causes the printer freezes. When the printer is IG> frozen it doesn't print and even does not respond to any of its buttons. IG> When this occurs the print job is halted and is stored in the print queue:
IG> > lpstat -o IG> laserjet-3847 unknown 80896 Tue 10 Aug 2021 11:15:14 AM IG> CEST
IG> > lpstat -p IG> printer laserjet now printing laserjet-3847. enabled since Tue 10 Aug 2021 IG> 11:15:14 AM CEST IG> Processing page 1...
IG> Here is my problem (apart from the printer freeze):
IG> If I restart (switch off and on) the printer, the print job is waiting quite IG> long before IG> printed. Eventually it gets printed but is takes several minutes. I would expect IG> that IG> after restarting the printer the print job is printed immediately. IG> How could I achieve that?
IG> In /etc/cups/printers.conf file the ErrorPolicy is set to retry-job for the IG> printer:
IG> <Printer laserjet> IG> ... IG> ErrorPolicy retry-job IG> </Printer>
Check the files;
/var/log/cups/access_log /var/log/cups/error_log
Thank for your answer. I waited to happen it again. I sent job to the printer, the printer freezed, I restarted the printer. Printer became ready at 12:31:14, print job started at 12:34:44, that is the delay was 3:30 min. After restarting the printer:
lpstat -o hplaserjet-3862 user 145408 Mon 16 Aug 2021 12:28:35 PM CEST
lpstat -p printer hplaserjet is idle. enabled since Mon 16 Aug 2021 12:31:14 PM CEST
lpstat -a hplaserjet accepting requests since Mon 16 Aug 2021 12:31:14 PM CEST
The last lines of /var/log/cups/access_log (last modified at 12:31): localhost - - [16/Aug/2021:12:28:26 +0200] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok localhost - root [16/Aug/2021:12:28:26 +0200] "POST / HTTP/1.1" 200 1487 CUPS-Get-Devices - localhost - - [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 401 135 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 200 135 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 401 133 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 200 133 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 401 122 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 200 122 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 401 124 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 200 124 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 401 124 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:28:28 +0200] "POST /admin/ HTTP/1.1" 200 124 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:28:35 +0200] "POST /printers/hplaserjet_USB_ps HTTP/1.1" 200 230 Create-Job successful-ok localhost - - [16/Aug/2021:12:28:35 +0200] "POST /printers/hplaserjet_USB_ps HTTP/1.1" 200 145459 Send-Document successful-ok localhost - - [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 401 184 Pause-Printer successful-ok localhost - root [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 200 184 Pause-Printer successful-ok localhost - - [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 401 182 Pause-Printer successful-ok localhost - root [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 200 182 Pause-Printer successful-ok localhost - - [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 401 171 Pause-Printer successful-ok localhost - root [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 200 171 Pause-Printer successful-ok localhost - - [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 401 173 Pause-Printer successful-ok localhost - root [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 200 173 Pause-Printer successful-ok localhost - - [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 401 173 Pause-Printer successful-ok localhost - root [16/Aug/2021:12:29:39 +0200] "POST /admin/ HTTP/1.1" 200 173 Pause-Printer successful-ok localhost - - [16/Aug/2021:12:31:12 +0200] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok localhost - root [16/Aug/2021:12:31:12 +0200] "POST / HTTP/1.1" 200 1487 CUPS-Get-Devices - localhost - - [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 401 135 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 200 135 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 401 133 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 200 133 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 401 122 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 200 122 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 401 124 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 200 124 Resume-Printer successful-ok localhost - - [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 401 124 Resume-Printer successful-ok localhost - root [16/Aug/2021:12:31:14 +0200] "POST /admin/ HTTP/1.1" 200 124 Resume-Printer successful-ok The last line of /var/log/cups/error_log (last modified at 12:34): W [16/Aug/2021:08:14:07 +0200] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files E [16/Aug/2021:08:14:07 +0200] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address. E [16/Aug/2021:12:28:26 +0200] [CGI] cups-brf must be called as root E [16/Aug/2021:12:28:26 +0200] [cups-deviced] PID 6025 (cups-brf) stopped with status 1! E [16/Aug/2021:12:31:12 +0200] [CGI] cups-brf must be called as root E [16/Aug/2021:12:31:12 +0200] [cups-deviced] PID 6122 (cups-brf) stopped with status 1! E [16/Aug/2021:12:34:41 +0200] [Job 3862] Stopping unresponsive job. I don't know how to interpret the log messages. Thanks, Istvan