I have a HP DeskJet 710C connected to my parallel port (parallel0, lp0) After emerging cups and ghostscript-gpl, using webinterface to set-up my printer HP DeskJet 710C, CUPS finds it automatically in the Device list. It shows up in printer list as Description: HP DeskJet 710C Farverprinter Location: thysells Printer Driver: HP DeskJet 710C Foomatic/pnm2ppa (recommended) Printer State: idle, accepting jobs, published. Device URI: parallel:/dev/lp0 But when printing test page: DESKJET_710C "/usr/libexec/cups/filter/foomatic-rip failed" Appears as heading instead of just the name (DESkJET_710C) I have tried to clean (remove) config files and reemerged cups and ghostscript-gpl and hplip. (hp-setup wont even find it on the parallel port, don't know if this is a symptom or the cause of the problem.) I have Kubuntu on the same machine. When running that, printing works perfectly, using cups (same version 1.3.10) Reproducible: Always Steps to Reproduce: 1. emerge cups ghostscript-gpl hplip 2. setup the printer (HP 710C) 3. print test page Actual Results: Connect printer to parallel port Emerge cups Setup the printer on Device URI: parallel:/dev/lp0 Print test page - Cups report DESKJET_710C "/usr/libexec/cups/filter/foomatic-rip failed" ID Name User Size Pages State DESKJET_710C-25 Test Page root 17k 1 stopped Expected Results: (Test) Page printed
Created attachment 190111 [details] Make.conf
Created attachment 190112 [details] Cupsd config file
Created attachment 190113 [details] Printer config file in cups
Created attachment 190115 [details] Emerge --info results
Created attachment 190116 [details] CUPS error log
Thank you for report Erik. Could you try to enable "LogLevel debug" at /etc/cups/cupsd.conf, restart cups, print some page and show us log from /var/log/cups/access_log?
Created attachment 190384 [details] /var/log/cups/access_log
(In reply to comment #7) > Created an attachment (id=190384) [edit] > /var/log/cups/access_log > The first part of it up to today about 07:31 is without the debug set (only "info")
I see the following in your logs: D [30/Apr/2009:20:04:02 +0200] [Job 23] /bin/sh: pnm2ppa: command not found So try to install pnm2ppa. And as I the reason for foomatic-rip to fail is: D [30/Apr/2009:17:39:59 +0200] cupsdIsAuthorized: requesting-user-name="guest" E [30/Apr/2009:17:39:59 +0200] Cancel-Job: Unauthorized [snip] E [30/Apr/2009:17:40:03 +0200] PID 5772 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 1! Could you check permissions?
(In reply to comment #9) > I see the following in your logs: > > D [30/Apr/2009:20:04:02 +0200] [Job 23] /bin/sh: pnm2ppa: command not found > > So try to install pnm2ppa. And as I the reason for foomatic-rip to fail is: > > D [30/Apr/2009:17:39:59 +0200] cupsdIsAuthorized: requesting-user-name="guest" > E [30/Apr/2009:17:39:59 +0200] Cancel-Job: Unauthorized > [snip] > E [30/Apr/2009:17:40:03 +0200] PID 5772 (/usr/libexec/cups/filter/foomatic-rip) > stopped with status 1! > > Could you check permissions? > My permissions: ls -l /usr/libexec/cups/filter/foomatic-* lrwxrwxrwx 1 root root 27 16 apr 01:32 /usr/libexec/cups/filter/foomatic-gswrapper -> /usr/bin/foomatic-gswrapper lrwxrwxrwx 1 root root 21 16 apr 01:32 /usr/libexec/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip and then : ls -l /usr/bin/foomatic-* -rwxr-xr-x 1 root root 3237 16 apr 01:31 /usr/bin/foomatic-gswrapper -rwxr-xr-x 1 root root 215818 16 apr 01:31 /usr/bin/foomatic-rip
Fantastic, it was that simple: emerge pnm2ppa nano /etc/pnm2ppa.conf alter the configuration to match my printer and... voila! Thanks a lot, just a shame I didn't find out myself. Is this a bug or just a thing I should have known I had to do?
I don't think we need to do anything here since this solution is covered by our printing guide: http://www.gentoo.org/doc/en/printing-howto.xml http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_710C Closing as INVALID.