Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196817 > unrolled thread

Failure of cups printing.

Started bypeter@easthope.ca
First post2018-06-21 02:40 +0200
Last post2018-06-24 15:00 +0200
Articles 10 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  Failure of cups printing. peter@easthope.ca - 2018-06-21 02:40 +0200
    Re: Failure of cups printing. kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2018-06-21 03:10 +0200
      Re: Failure of cups printing. peter@easthope.ca - 2018-06-21 05:20 +0200
        Re: Failure of cups printing. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-06-21 14:00 +0200
    Re: Failure of cups printing. mick crane <mick.crane@gmail.com> - 2018-06-21 09:20 +0200
    Re: Failure of cups printing. Brian <ad44@cityscape.co.uk> - 2018-06-21 13:00 +0200
      Have managed a CUPS printer addition, but the queue is a black hole. Erik Christiansen <dvalin@internode.on.net> - 2018-06-23 13:30 +0200
        Re: Have managed a CUPS printer addition, but the queue is a black  hole. Erik Christiansen <dvalin@internode.on.net> - 2018-06-23 14:20 +0200
          Re: Have managed a CUPS printer addition, but the queue is a black  hole. mick crane <mick.crane@gmail.com> - 2018-06-24 11:10 +0200
            SOLVED, mostly. [Was: Re: Have managed a CUPS printer addition, but  the queue is a black hole. Erik Christiansen <dvalin@internode.on.net> - 2018-06-24 15:00 +0200

#196817 — Failure of cups printing.

Frompeter@easthope.ca
Date2018-06-21 02:40 +0200
SubjectFailure of cups printing.
Message-ID<w2VNL-7KV-1@gated-at.bofh.it>
Hi,

Since upgrading from Debian 8 to 9, CUPS printing has failed
with this log message. 
"/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such file or directory

Whereas,
peter@computer:~$ ls -ld /usr/lib/cups/filter/rastertogutenprint.5.2
-rwxr-xr-x 1 root root 42972 Feb 16  2016 /usr/lib/cups/filter/rastertogutenprint.5.2

I've reopened https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748761 
but no response there.

Anyone have an HP LaserJet 1100 working with Debian 9?
Ideas?

Thanks,                              ... Peter E.


-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                                                 
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

[toc] | [next] | [standalone]


#196818

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2018-06-21 03:10 +0200
Message-ID<w2WgN-88V-3@gated-at.bofh.it>
In reply to#196817
> I've reopened https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748761
> but no response there.
>

The bug report says that it was fixed in 5.2.10~pre2-2 . You can try
installing that version and see if that solves your problem.

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

[toc] | [prev] | [next] | [standalone]


#196825

Frompeter@easthope.ca
Date2018-06-21 05:20 +0200
Message-ID<w2YiB-SC-7@gated-at.bofh.it>
In reply to#196818
From:	kamaraju kusumanchi <raju.mailinglists@gmail.com>
Date:	Wed, 20 Jun 2018 21:00:46 -0400
> The bug report says that it was fixed in 5.2.10~pre2-2 . You can try
> installing that version and see if that solves your problem.

This is in the current Debian 9.
peter@computer:~$ dpkg -l | grep r-guten
ii  printer-driver-gutenprint  5.2.11-1+b2  i386  printer drivers for CUPS

For 5.2.10~pre2-2 I'd have to hunt for it precompiled or hunt for the 
specific source and compile it.  Either approach could easily soak up 
several hours.  Will keep in mind but can't tackle it immediately. 

Thanks,            ... Peter E.

 



-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                                                 
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

[toc] | [prev] | [next] | [standalone]


#196834

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-06-21 14:00 +0200
Message-ID<w36pQ-5vD-13@gated-at.bofh.it>
In reply to#196825
On Wed, Jun 20, 2018 at 07:54:41PM -0700, peter@easthope.ca wrote:
> This is in the current Debian 9.
> peter@computer:~$ dpkg -l | grep r-guten
> ii  printer-driver-gutenprint  5.2.11-1+b2  i386  printer drivers for CUPS
> 
> For 5.2.10~pre2-2 I'd have to hunt for it precompiled or [...]

I know nothing about CUPS or this specific bug, but if you want to
experiment with downgrading to a previous version of the package,
you can find those at <http://snapshot.debian.org/>.

For your package, the available versions are at
<http://snapshot.debian.org/binary/printer-driver-gutenprint/>.

[toc] | [prev] | [next] | [standalone]


#196831

Frommick crane <mick.crane@gmail.com>
Date2018-06-21 09:20 +0200
Message-ID<w322S-39r-5@gated-at.bofh.it>
In reply to#196817
On 2018-06-21 00:53, peter@easthope.ca wrote:
> Hi,
> 
> Since upgrading from Debian 8 to 9, CUPS printing has failed
> with this log message.
> "/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such
> file or directory
> 
> Whereas,
> peter@computer:~$ ls -ld /usr/lib/cups/filter/rastertogutenprint.5.2
> -rwxr-xr-x 1 root root 42972 Feb 16  2016
> /usr/lib/cups/filter/rastertogutenprint.5.2
> 
> I've reopened https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748761
> but no response there.
> 
> Anyone have an HP LaserJet 1100 working with Debian 9?
> Ideas?
> 
> Thanks,                              ... Peter E.

On Debian GNU/Linux buster/sid
cups web admin shows

Queue Name	Description	Location	Make and Model	Status
HP_LaserJet_4000_Series	HP LaserJet 4000 Series	Local Printer	HP 
LaserJet 4000 Series Postscript (recommended)	Idle

I'm afraid that I only remember things while I am getting it to work so 
it could be driver from HP.

If anything you want me to type please ask.


mick

-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#196833

FromBrian <ad44@cityscape.co.uk>
Date2018-06-21 13:00 +0200
Message-ID<w35tL-4Xm-3@gated-at.bofh.it>
In reply to#196817

[Multipart message — attachments visible in raw view] — view raw

On Wed 20 Jun 2018 at 16:53:04 -0700, peter@easthope.ca wrote:

> Hi,
> 
> Since upgrading from Debian 8 to 9, CUPS printing has failed
> with this log message. 
> "/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such file or directory
> 
> Whereas,
> peter@computer:~$ ls -ld /usr/lib/cups/filter/rastertogutenprint.5.2
> -rwxr-xr-x 1 root root 42972 Feb 16  2016 /usr/lib/cups/filter/rastertogutenprint.5.2
> 
> I've reopened https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748761 
> but no response there.

It would have been preferable to have opened a new bug report. The
version of printer-driver-gutenprint in #748761 was indeed lacking
rastertogutenprint.5.2, as acknowledged in the report. The file is
available on your system, so the issuue is distinctly different.
 
> Anyone have an HP LaserJet 1100 working with Debian 9?
> Ideas?

Possession of this printer is not required.

1. /usr/sbin/lpinfo -m | grep 1100

2. /usr/lib/cups/driver/gutenprint.5.2 cat gutenprint.5.2://hp-lj_1100/expert > 1100.ppd

3. /usr/sbin/cupsfilter -p 1100.ppd -m printer/foo -e /etc/services > data 2>log

The log (xz compressed) is attached.

-- 
Brian.


[toc] | [prev] | [next] | [standalone]


#196869 — Have managed a CUPS printer addition, but the queue is a black hole.

FromErik Christiansen <dvalin@internode.on.net>
Date2018-06-23 13:30 +0200
SubjectHave managed a CUPS printer addition, but the queue is a black hole.
Message-ID<w3OTT-8pR-1@gated-at.bofh.it>
In reply to#196833
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  Pages    State
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

[toc] | [prev] | [next] | [standalone]


#196870 — Re: Have managed a CUPS printer addition, but the queue is a black hole.

FromErik Christiansen <dvalin@internode.on.net>
Date2018-06-23 14:20 +0200
SubjectRe: Have managed a CUPS printer addition, but the queue is a black hole.
Message-ID<w3PGh-zG-1@gated-at.bofh.it>
In reply to#196869
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
Rank    Owner   Job     File(s)                         Total Size
active  (null)  5       untitled                        8192 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", curren    t 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 di    rty 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 l    ocalhost
 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 di    rty 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

[toc] | [prev] | [next] | [standalone]


#196880 — Re: Have managed a CUPS printer addition, but the queue is a black hole.

Frommick crane <mick.crane@gmail.com>
Date2018-06-24 11:10 +0200
SubjectRe: Have managed a CUPS printer addition, but the queue is a black hole.
Message-ID<w49bX-4Qd-5@gated-at.bofh.it>
In reply to#196870
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
> Rank    Owner   Job     File(s)                         Total Size
> active  (null)  5       untitled                        8192 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 ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


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

FromErik Christiansen <dvalin@internode.on.net>
Date2018-06-24 15:00 +0200
SubjectSOLVED, mostly. [Was: Re: Have managed a CUPS printer addition, but the queue is a black hole.
Message-ID<w4cMx-6JQ-1@gated-at.bofh.it>
In reply to#196880
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web