SOLVED, mostly. [Was: Re: Have managed a CUPS printer addition, but the queue is a black hole.

2018-06-24 Thread Erik Christiansen
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.

2018-06-24 Thread mick crane

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.

2018-06-23 Thread Erik Christiansen
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