SOLVED, mostly. [Was: Re: Have managed a CUPS printer addition, but the queue is a black hole.
On 24.06.18 10:04, mick crane wrote: > On 2018-06-23 13:12, Erik Christiansen wrote: > > The new CUPS & HP-LaserJet-3050 addition prints the printer self-test > > page immediately, the CUPS test page after several minutes, but other > > print jobs not at all. Again, printing from xpdf, the job is queued: ... > > but no printer output. > > > The CUPS test page includes "Driver: HP3380_6.PPD". I don't know if it > > has selected the best one, or if that's relevant to this print job > > evaporation. > > any error messages on the printer ? > more than 1 tray ? right tray selected ? No errors on the printer, and now I find that in addition to the test pages mentioned, it prints a .ps saved to file from libreoffice immediately, without any problems. But postscript output by xpdf, which is what I had to hand for the post-installation tests, is still queued and lost without output or visible symptom. So, to probe what's up there, I printed to file from xpdf, then lpr-ed that, as I had done with the saved .ps from libreoffice. That disappeared too, so it seems that the ps from xpdf is somehow unprintable, though they're all %!PS-Adobe-3.0. For the moment, I'll put it down to an xpdf problem, rather than cups, as another .ps I had to hand prints too. Ah ... printing directly from libreoffice, something I very rarely use, works too. It's mysterious rather than a show-stopper now, so we'll see how much effort I put in later to try to print from xpdf and anything else which fails similarly. Thanks for the inquiring mind. Erik -- If at first you don't succeed, try again. Then Quit. No use being a damn fool about it. - W.C. Fields
Re: Have managed a CUPS printer addition, but the queue is a black hole.
On 2018-06-23 13:12, Erik Christiansen wrote: Aargh! Apologies for committing a subthread hijack. That wasn't intended. The new CUPS & HP-LaserJet-3050 addition prints the printer self-test page immediately, the CUPS test page after several minutes, but other print jobs not at all. Again, printing from xpdf, the job is queued: $ lpq HP-LaserJet-3050 is ready and printing RankOwner Job File(s) Total Size active (null) 5 untitled8192 bytes then $ lpq HP-LaserJet-3050 is ready no entries but no printer output. The CUPS test page includes "Driver: HP3380_6.PPD". I don't know if it has selected the best one, or if that's relevant to this print job evaporation. Erik any error messages on the printer ? more than 1 tray ? right tray selected ? mick -- Key ID4BFEBB31
Re: Have managed a CUPS printer addition, but the queue is a black hole.
Aargh! Apologies for committing a subthread hijack. That wasn't intended. The new CUPS & HP-LaserJet-3050 addition prints the printer self-test page immediately, the CUPS test page after several minutes, but other print jobs not at all. Again, printing from xpdf, the job is queued: $ lpq HP-LaserJet-3050 is ready and printing RankOwner Job File(s) Total Size active (null) 5 untitled8192 bytes then $ lpq HP-LaserJet-3050 is ready no entries but no printer output. In /var/log/cups/error_log, for that job, we see: 2 I [23/Jun/2018:21:49:26 +1000] [Job 5] ready to print 3 D [23/Jun/2018:21:49:26 +1000] [Job 5] Set job-printer-state-message to "ready to print", current level=INFO 4 D [23/Jun/2018:21:49:26 +1000] Discarding unused job-progress event... 5 D [23/Jun/2018:21:49:26 +1000] cupsdMarkDirty(-S) 6 D [23/Jun/2018:21:49:26 +1000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" 7 D [23/Jun/2018:21:49:26 +1000] [Notifier] state=3 8 D [23/Jun/2018:21:49:26 +1000] [Notifier] PrinterStateChanged 9 D [23/Jun/2018:21:49:26 +1000] cupsdReadClient: 24 POST / HTTP/1.1 10 D [23/Jun/2018:21:49:26 +1000] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files" 11 D [23/Jun/2018:21:49:26 +1000] cupsdAuthorize: No authentication data provided. 12 D [23/Jun/2018:21:49:26 +1000] cupsdReadClient: 24 1.1 CUPS-Get-Printers 1 13 D [23/Jun/2018:21:49:26 +1000] CUPS-Get-Printers 14 D [23/Jun/2018:21:49:26 +1000] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost 15 D [23/Jun/2018:21:49:26 +1000] PID 9829 (/usr/lib/cups/backend/hp) exited with no errors. 16 D [23/Jun/2018:21:49:26 +1000] cupsdMarkDirty(-S) 17 D [23/Jun/2018:21:49:26 +1000] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files" 18 I [23/Jun/2018:21:49:26 +1000] [Job 5] Job completed. but still nothing printed. The CUPS test page includes "Driver: HP3380_6.PPD". I don't know if it has selected the best one, or if that's relevant to this print job evaporation. Erik
Have managed a CUPS printer addition, but the queue is a black hole.
After a fresh update of CUPS, and a fresh "Add Printer", selecting the first (gutenberg) model option, printing a pdf page from xpdf caused display of GUI message boxes indicating "printing started" and "printing completed", but no printer output. At localhost:631 -> Job Management, "Show all jobs" gives: ▲ ID ▲ Name User Size PagesState HP-LaserJet-3050-1 Unknown Withheld 8k Unknown completed at Sat Jun 23 20:42:53 2018 so CUPS processed the job, but the printer stands silently oblivious, displaying "Ready". So why no printing? $ lsusb Bus 001 Device 005: ID 03f0:3217 Hewlett-Packard LaserJet 3050 $ lpstat -t scheduler is running system default destination: HP-LaserJet-3050 device for HP-LaserJet-3050: hp:/usb/HP_LaserJet_3050?serial=00CNCKR73450 device for HP-LaserJet-3050-Fax: hpfax:/usb/HP_LaserJet_3050?serial=00CNCKR73450 device for HP_LaserJet_3050: hp:/usb/HP_LaserJet_3050?serial=00CNCKR73450 HP-LaserJet-3050 accepting requests since Sat 23 Jun 2018 20:42:53 AEST HP-LaserJet-3050-Fax accepting requests since Sat 23 Jun 2018 20:27:56 AEST HP_LaserJet_3050 accepting requests since Sat 23 Jun 2018 20:40:42 AEST printer HP-LaserJet-3050 is idle. enabled since Sat 23 Jun 2018 20:42:53 AEST ready to print printer HP-LaserJet-3050-Fax is idle. enabled since Sat 23 Jun 2018 20:27:56 AEST printer HP_LaserJet_3050 is idle. enabled since Sat 23 Jun 2018 20:40:42 AEST $ lpq -PHP-LaserJet-3050 HP-LaserJet-3050 is ready no entries I'd like to try an "lpc up", but lpc seems not to be there, and I don't know which package would have it. Any prodding in the direction of an exit from the maze would be most welcome. Erik