[cups] LaserJet stopped working

Jörg Thümmler listen at vordruckleitverlag.de
Tue Apr 18 01:52:31 PDT 2023


Am 18.04.23 um 09:22 schrieb Ken Wright:
> On Fri, 2023-04-14 at 09:51 +0200, Jörg Thümmler wrote:
>> Hi,
>>
>> so if you use localhost:631 on the client (laptop) you have a running
>> cups server on the client. So the lpstat infos on the laptop would be
>> of interest.
> 
> kwright at Latitude-5590:~$ sudo lpstat -t
> scheduler is running
> system default destination: HP_DeskJet_3630_series_0579C9
> device for HP_DeskJet_3630_series_:
> ipps://HPA08CFD0579C9.local:443/ipp/print
> device for HP_DeskJet_3630_series_0579C9:
> implicitclass://HP_DeskJet_3630_series_0579C9/
> device for HP_LaserJet_M14-M17_: ipp://grace.local:60000/ipp/print
> device for HP_LaserJet_M15a_grace:
> implicitclass://HP_LaserJet_M15a_grace/
> device for LaserJet_M15a_grace: implicitclass://LaserJet_M15a_grace/
> HP_DeskJet_3630_series_ accepting requests since Fri 14 Apr 2023
> 11:22:48 PM EDT
> HP_DeskJet_3630_series_0579C9 accepting requests since Fri 14 Apr 2023
> 11:23:17 PM EDT
> HP_LaserJet_M14-M17_ accepting requests since Fri 14 Apr 2023 11:25:44
> PM EDT
> HP_LaserJet_M15a_grace accepting requests since Fri 14 Apr 2023
> 11:34:31 PM EDT
> LaserJet_M15a_grace accepting requests since Fri 14 Apr 2023 11:34:31
> PM EDT
> printer HP_DeskJet_3630_series_ is idle.  enabled since Fri 14 Apr 2023
> 11:22:48 PM EDT
> printer HP_DeskJet_3630_series_0579C9 is idle.  enabled since Fri 14
> Apr 2023 11:23:17 PM EDT
> printer HP_LaserJet_M14-M17_ is idle.  enabled since Fri 14 Apr 2023
> 11:25:44 PM EDT
> printer HP_LaserJet_M15a_grace is idle.  enabled since Fri 14 Apr 2023
> 11:34:31 PM EDT
> printer LaserJet_M15a_grace is idle.  enabled since Fri 14 Apr 2023
> 11:34:31 PM EDT
> 
>> In the servers lpstat i see:
>>
>> "HP_LaserJet_M14-M17_ accepting requests since Fri 14 Apr 2023
>> 12:29:08
>> AM EDT
>> HP_LaserJet_M15a_103F7B_USB accepting requests since Fri 14 Apr 2023
>> 12:26:33 AM EDT"
>>
>> which means you have more than one queue for the LaserJet M15a
>> printer... which do you use for the laptop printing.
> 
> I've tried both.  Neither one works.
> 
>> And have a look on /var/log/cups/error_log on both server and laptop
>> and show maybe interesting lines as Gene wrote. There should be some
>> error notes.
> 
> kwright at Latitude-5590:~$ tail /var/log/cups/error_log
> E [14/Apr/2023:23:34:23 -0400] Unknown directive
> SubscriptionPrivateAccess on line 127 of /etc/cups/cupsd.conf.
> E [14/Apr/2023:23:34:23 -0400] Unknown directive
> SubscriptionPrivateValues on line 128 of /etc/cups/cupsd.conf.
> W [14/Apr/2023:23:34:23 -0400] Raw queues are deprecated and will stop
> working in a future version of CUPS. See
> https://github.com/OpenPrinting/cups/issues/103
> E [14/Apr/2023:23:34:23 -0400] [Job 117] Files have gone away.
> W [14/Apr/2023:23:34:31 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'HP_LaserJet_M15a_grace-Gray..\' already exists
> W [14/Apr/2023:23:34:31 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'HP_LaserJet_M15a_grace-DeviceN..\' already exists
> W [14/Apr/2023:23:34:31 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'LaserJet_M15a_grace-Gray..\' already exists
> W [14/Apr/2023:23:34:31 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'LaserJet_M15a_grace-DeviceN..\' already exists
> W [14/Apr/2023:23:34:33 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'HP_DeskJet_3630_series_0579C9-Gray..\' already exists
> W [14/Apr/2023:23:34:33 -0400] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'HP_DeskJet_3630_series_0579C9-DeviceN..\' already exists
> 
> It may help the troubleshooting to know the DeskJet 3630 prints with no
> problems.
> 
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups

Hi,

i see 3 remarkable things here:

1st:

 > E [14/Apr/2023:23:34:23 -0400] Unknown directive
 > SubscriptionPrivateAccess on line 127 of /etc/cups/cupsd.conf.
 > E [14/Apr/2023:23:34:23 -0400] Unknown directive
 > SubscriptionPrivateValues on line 128 of /etc/cups/cupsd.conf.

this is errornous (acc. to cups 1.5 ref. it has to be in a <policy> 
section, but maybe it's fully unuseable in cups 2.x

2nd:

 > W [14/Apr/2023:23:34:23 -0400] Raw queues are deprecated and will stop
 > working in a future version of CUPS. See
 > https://github.com/OpenPrinting/cups/issues/103

I assume, you have "raw" queues defined (nothing errornous, I have a lot 
of them but) ... sure you not sending your jobs over them to the server. 
If no other problem occurs, cups server will send the job files directly 
to the printer and if printer doesn't understand the data, it takes them 
but doesn't print anything...


3rd:

 > E [14/Apr/2023:23:34:23 -0400] [Job 117] Files have gone away.

this means, something deleted print file(s) before cups could send them 
to the printer ... strange behavior, possible print job is active but 
cannot be printed and waits therefore... and something deletes/alteres 
the jobs print datafile meanwhile...

May be connected with 2. ... printer takes the file, but doesn't give a 
"done,ok" to cups (dunno whether cups can read printer signals), so cups 
wants to try oncemore, but file is correctly send to printer and "gone"...

can you provide the printers.conf section for the printers?

-- 
cu

jth



More information about the cups mailing list