Discussion:
/usr/lib/cups/filter/foomatic-rip failed
(too old to reply)
Gerard Robin
2008-03-10 14:30:23 UTC
Permalink
Hello,
My printer HP Photosmart C7280 printed fine until I upgraded my sid box
and now cups gives:
/usr/lib/cups/filter/foomatic-rip failed

(the script perl /usr/lib/filter/foomatic-rip exits on my system)

hp-setup (as root) gives:

Session management error:
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed

I can't print anything now, SOS ...

tia
--
Gérard
s. keeling
2008-03-11 00:30:25 UTC
Permalink
Post by Gerard Robin
My printer HP Photosmart C7280 printed fine until I upgraded my sid box
/usr/lib/cups/filter/foomatic-rip failed
(the script perl /usr/lib/filter/foomatic-rip exits on my system)
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed
I can't print anything now, SOS ...
I'd worry about that Authentication Rejected bit first. Then try
falling back to another model name of the same type printer, an
earlier version. I used an Epson that way recently.

Second possibility: rip out all the cups related cruft, find a ppd
from hp for your machine, install gs foomatic-filters
foomatic-db-engine and lpr/lprng, then hack /etc/printcap (this is for
lprng):

lp|To your left: \
:lp=/dev/lp0: \
:force_localhost: \
:if=/usr/bin/foomatic-rip: \
:ppd=/usr/local/etc/HP-LaserJet_6L-ljet4.ppd: \
:sd=/var/spool/lpd/lp: \
:mx#0:sh:

I thank the DDs for their efforts in making this possible. I had a
devil of a time trying to do this in Sarge, but Etch appears far more
amenable to nutbars like us non-CUPS users. Great job!
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Gerard Robin
2008-03-12 08:40:08 UTC
Permalink
Subject: Re: /usr/lib/cups/filter/foomatic-rip failed
Post by Gerard Robin
My printer HP Photosmart C7280 printed fine until I upgraded my sid box
/usr/lib/cups/filter/foomatic-rip failed
(the script perl /usr/lib/filter/foomatic-rip exits on my system)
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed
I can't print anything now, SOS ...
I'd worry about that Authentication Rejected bit first. Then try
falling back to another model name of the same type printer, an
earlier version. I used an Epson that way recently.
--------------------------8<--------------------------------
I thank the DDs for their efforts in making this possible. I had a
devil of a time trying to do this in Sarge, but Etch appears far more
amenable to nutbars like us non-CUPS users. Great job!
My problem is partialy solved:
I have downloaded the ppd driver for my HP Photosmart C7280 at:

http://www.openprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_C7200

and I replaced the driver supplied by the debian package by this one and
now hp-setup and hp-toolbox work fine but:

I can scan a document.
I can make a copie of a document (from the computer)

I can't print a file, always I get: /usr/lib/cups/filter/foomatic-rip failed

Thanks for your help.
--
Gérard
Andrew Sackville-West
2008-03-13 01:40:06 UTC
Permalink
Post by Gerard Robin
Subject: Re: /usr/lib/cups/filter/foomatic-rip failed
Post by Gerard Robin
My printer HP Photosmart C7280 printed fine until I upgraded my sid box
/usr/lib/cups/filter/foomatic-rip failed
(the script perl /usr/lib/filter/foomatic-rip exits on my system)
Session management error: Authentication Rejected, reason : None of
the authentication protocols specified are supported and host-based
authentication failed
I can't print anything now, SOS ...
I'd worry about that Authentication Rejected bit first. Then try
falling back to another model name of the same type printer, an
earlier version. I used an Epson that way recently.
--------------------------8<--------------------------------
I thank the DDs for their efforts in making this possible. I had a
devil of a time trying to do this in Sarge, but Etch appears far more
amenable to nutbars like us non-CUPS users. Great job!
http://www.openprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_C7200
and I replaced the driver supplied by the debian package by this one and
I can scan a document.
I can make a copie of a document (from the computer)
I can't print a file, always I get: /usr/lib/cups/filter/foomatic-rip failed
I've had a number of occaisions where cups has just failed for me like
that with a "...foomatic-rip failed" message. On different occaisions
I've had different solutions work:

purge cups* and foomatic* and
anything else printing related I can find and start over

remove ~/.gnome (not sure why this worked, but it did once).

remove the existing printer, shutdown cups completely, restart it
and re-add the printer

other mysterious mumbo-jumbo that magically fixes printing... :(


It's a big complicated system and seems overly prone to breakage IMO.

A
Gerard Robin
2008-03-13 13:20:12 UTC
Permalink
Subject: Re: /usr/lib/cups/filter/foomatic-rip failed
Subject: Re: /usr/lib/cups/filter/foomatic-rip failed
I've had a number of occaisions where cups has just failed for me like
that with a "...foomatic-rip failed" message. On different occaisions
purge cups* and foomatic* and
anything else printing related I can find and start over
remove ~/.gnome (not sure why this worked, but it did once).
remove the existing printer, shutdown cups completely, restart it
and re-add the printer
other mysterious mumbo-jumbo that magically fixes printing... :(
It's a big complicated system and seems overly prone to breakage IMO.
I did all everything you explained to me but always .../foomatic-rip failed.

However it's ok now :-)
The problem was caused by me ;-)
I use apt-listbugs and I saw six bugs on ghostscript so I put hold in
the selections file.

But five bugs have been corrected and so I decided to upgrade
ghostscript and after that the jobs of the spool is sent to the printer.

I apologise for the inconvenient caused.
--
Gérard
s. keeling
2008-03-14 00:50:07 UTC
Permalink
Post by Gerard Robin
Post by Andrew Sackville-West
It's a big complicated system and seems overly prone to breakage IMO.
I did all everything you explained to me but always .../foomatic-rip failed.
Well, it would, wouldn't it?
Post by Gerard Robin
However it's ok now :-)
The problem was caused by me ;-)
I use apt-listbugs and I saw six bugs on ghostscript so I put hold in
the selections file.
User error, though the warning from foomatic-rip could have been a bit
more informative. Failed, why?
Post by Gerard Robin
I apologise for the inconvenient caused.
We learn things which educate and may come in handy later. Why
apologise? :-)
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Gerard Robin
2008-03-14 06:30:08 UTC
Permalink
Subject: Re: /usr/lib/cups/filter/foomatic-rip failed
User error, though the warning from foomatic-rip could have been a bit
more informative. Failed, why?
/var/log/cups/error_log:

E [13/Mar/2008:13:56:54 +0100] PID 4938 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
E [13/Mar/2008:13:57:10 +0100] [Job 30] Job stopped due to filter errors.

I thought that it was the filter which was bad ...

"Job stopped due to filter errors because ..." will be better (if it possible)
--
Gérard
Loading...