Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP Deskjet 5740 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Fri Jan 19, 2007 4:42 pm    Post subject: HP Deskjet 5740 [Solved] Reply with quote

I installed cups and am using the ppd file that linuxprinting.org suggests for my USB printer (HP Deskjet 5740) but I get this error: "/usr/libexec/cups/filter/foomatic-rip failed". My /var/log/cups/error_log:
Code:
I [19/Jan/2007:11:35:22 +0100] Listening to 127.0.0.1:631 (IPv4)
I [19/Jan/2007:11:35:22 +0100] Listening to ::1:631 (IPv6)
I [19/Jan/2007:11:35:22 +0100] Listening to /var/run/cups/cups.sock (Domain)
I [19/Jan/2007:11:35:22 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [19/Jan/2007:11:35:22 +0100] Using default TempDir of /var/spool/cups/tmp...
I [19/Jan/2007:11:35:22 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [19/Jan/2007:11:35:22 +0100] Configured for up to 100 clients.
I [19/Jan/2007:11:35:22 +0100] Allowing up to 100 client connections per host.
I [19/Jan/2007:11:35:22 +0100] Using policy "default" as the default!
I [19/Jan/2007:11:35:22 +0100] Full reload is required.
I [19/Jan/2007:11:35:22 +0100] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [19/Jan/2007:11:35:22 +0100] Loading job cache file "/var/cache/cups/job.cache"...
I [19/Jan/2007:11:35:22 +0100] Full reload complete.
I [19/Jan/2007:11:35:22 +0100] Listening to 127.0.0.1:631 on fd 2...
E [19/Jan/2007:11:35:22 +0100] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
I [19/Jan/2007:11:35:22 +0100] Listening to /var/run/cups/cups.sock on fd 3...
I [19/Jan/2007:11:35:26 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=20803)
I [19/Jan/2007:11:35:28 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=20805)
I [19/Jan/2007:11:35:29 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=20806)
I [19/Jan/2007:11:35:30 +0100] Adding start banner page "none" to job 3.
I [19/Jan/2007:11:35:30 +0100] Adding end banner page "none" to job 3.
I [19/Jan/2007:11:35:30 +0100] Job 3 queued on "hpdjet5740" by "guest".
I [19/Jan/2007:11:35:30 +0100] Started filter /usr/libexec/cups/filter/pstops (PID 20807) for job 3.
I [19/Jan/2007:11:35:30 +0100] Started filter /usr/libexec/cups/filter/foomatic-rip (PID 20808) for job 3.
I [19/Jan/2007:11:35:30 +0100] Started backend /usr/libexec/cups/backend/usb (PID 20809) for job 3.
E [19/Jan/2007:11:35:30 +0100] PID 20808 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 3!
I [19/Jan/2007:11:35:30 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
I [19/Jan/2007:11:35:32 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=20818)
I [19/Jan/2007:11:35:47 +0100] Started "/usr/libexec/cups/cgi-bin/jobs.cgi" (pid=20819)
I'm not too sure what I'm supposed to do, it seems that I'm doing everything right...
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus


Last edited by G2k on Fri Feb 02, 2007 9:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Thu Feb 01, 2007 8:11 pm    Post subject: Reply with quote

I just followed the gentoo printing guide for the hundredth time...i cant seem to figure this one out for the life of me. I added some users to set allowed users, separating them with a comma because without that I was getting a quota limit reached error. Then I cleared out the error_log file and this is what I'm getting
Code:
cat /var/log/cups/error_log
I [01/Feb/2007:15:02:54 +0100] Started "/usr/libexec/cups/cgi-bin/admin.cgi" (pid=16915)
I [01/Feb/2007:15:03:03 +0100] Started "/usr/libexec/cups/cgi-bin/admin.cgi" (pid=16916)
E [01/Feb/2007:15:03:03 +0100] CUPS-Add-Modify-Printer: Unauthorized
I [01/Feb/2007:15:03:04 +0100] Saving printers.conf...
I [01/Feb/2007:15:03:04 +0100] Printer "hpdjet5740" modified by "root".
I [01/Feb/2007:15:03:09 +0100] Started "/usr/libexec/cups/cgi-bin/admin.cgi" (pid=16917)
I [01/Feb/2007:15:03:09 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=16918)
I [01/Feb/2007:15:03:10 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=16919)
I [01/Feb/2007:15:03:10 +0100] Adding start banner page "none" to job 12.
I [01/Feb/2007:15:03:10 +0100] Adding end banner page "none" to job 12.
I [01/Feb/2007:15:03:10 +0100] Job 12 queued on "hpdjet5740" by "root".
I [01/Feb/2007:15:03:10 +0100] Started filter /usr/libexec/cups/filter/pstops (PID 16920) for job 12.
I [01/Feb/2007:15:03:10 +0100] Started filter /usr/libexec/cups/filter/foomatic-rip (PID 16921) for job 12.
I [01/Feb/2007:15:03:10 +0100] Started backend /usr/libexec/cups/backend/usb (PID 16922) for job 12.
E [01/Feb/2007:15:03:11 +0100] PID 16921 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 3!
I [01/Feb/2007:15:03:11 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
I [01/Feb/2007:15:03:13 +0100] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=16931)

Where can I set the LogLevel to "debug"? Maybe that will give me a better idea as to where I have to look. Thanks

EDIT: by the way, the printer was working fine when I tried out Ubuntu so it should work...
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Fri Feb 02, 2007 8:37 pm    Post subject: Reply with quote

I added debug to my cups.conf file and this is apparently the error it's receiving
Code:
D [02/Feb/2007:15:19:43 +0100] [Job 13] -----------
D [02/Feb/2007:15:19:43 +0100] [Job 13] New page:  1 1
D [02/Feb/2007:15:19:43 +0100] [Job 13] Inserting option code into "PageSetup" section.
D [02/Feb/2007:15:19:43 +0100] [Job 13]
D [02/Feb/2007:15:19:43 +0100] [Job 13] Found: %%BeginPageSetup
D [02/Feb/2007:15:19:43 +0100] [Job 13] Found: %%EndPageSetup
D [02/Feb/2007:15:19:43 +0100] [Job 13] End of page header
D [02/Feb/2007:15:19:43 +0100] [Job 13] Stopping search for page header options
D [02/Feb/2007:15:19:43 +0100] [Job 13] Found:
D [02/Feb/2007:15:19:43 +0100] [Job 13] wheelSize -0.4 mul 0 rlineto    % Left side...
D [02/Feb/2007:15:19:43 +0100] [Job 13] --> Output goes directly to the renderer now.
D [02/Feb/2007:15:19:43 +0100] [Job 13]
D [02/Feb/2007:15:19:43 +0100] [Job 13]
D [02/Feb/2007:15:19:43 +0100] [Job 13] Starting renderer
D [02/Feb/2007:15:19:43 +0100] [Job 13] JCL: <job data>
D [02/Feb/2007:15:19:43 +0100] [Job 13]
D [02/Feb/2007:15:19:43 +0100] [Job 13] renderer PID kid4=8853
D [02/Feb/2007:15:19:43 +0100] [Job 13] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [02/Feb/2007:15:19:43 +0100] [Job 13]
D [02/Feb/2007:15:19:43 +0100] [Job 13] Closing renderer
D [02/Feb/2007:15:19:43 +0100] [Job 13] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [02/Feb/2007:15:19:44 +0100] [Job 13] sh: hpijs: command not found
D [02/Feb/2007:15:19:44 +0100] [Job 13] GPL Ghostscript 8.54: Can't start ijs server "hpijs"
D [02/Feb/2007:15:19:44 +0100] [Job 13] **** Unable to open the initial device, quitting.
D [02/Feb/2007:15:19:44 +0100] [Job 13] renderer return value: 1
D [02/Feb/2007:15:19:44 +0100] [Job 13] renderer received signal: 1
D [02/Feb/2007:15:19:44 +0100] [Job 13] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [02/Feb/2007:15:19:44 +0100] [Job 13] error: Illegal seek (29)
D [02/Feb/2007:15:19:44 +0100] [Job 13] Possible error on renderer command line or PostScript error. Check options.
D [02/Feb/2007:15:19:44 +0100] [Job 13] tail process done writing data to STDOUT
D [02/Feb/2007:15:19:44 +0100] [Job 13] KID4 finished
D [02/Feb/2007:15:19:44 +0100] [Job 13] KID3 exited with status 3
D [02/Feb/2007:15:19:44 +0100] [Job 13] Renderer exit stat: 3
D [02/Feb/2007:15:19:44 +0100] [Job 13] Renderer process finished
D [02/Feb/2007:15:19:44 +0100] [Job 13] Killing process 8852 (KID3)
D [02/Feb/2007:15:19:44 +0100] [Job 13] Process dying with "Error closing renderer", exit stat: 3
D [02/Feb/2007:15:19:44 +0100] [Job 13] error: Illegal seek (29)
D [02/Feb/2007:15:19:44 +0100] [Job 13] Error closing renderer
E [02/Feb/2007:15:19:44 +0100] PID 8847 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 3!
D [02/Feb/2007:15:19:44 +0100] PID 8848 (/usr/libexec/cups/backend/usb) exited with no errors.
D [02/Feb/2007:15:19:44 +0100] [Job 13] File 0 is complete.
but I don't really know what to make of that. :cry:
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Fri Feb 02, 2007 8:57 pm    Post subject: Reply with quote

G2k wrote:
Code:
GPL Ghostscript 8.54: Can't start ijs server "hpijs"
CUPS requires ghostscript-esp and won't work with ghostscript-gpl or ghostscript-gnu.

You also need hpijs but as you've looked at http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5740, I expect you know that and have it installed.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Fri Feb 02, 2007 9:15 pm    Post subject: Reply with quote

yeah i"m already using that hpijs file form the linux printing page. I'm emerging ghostscript-esp now and unmerged ghostscript-gpl, but when I emerge -pvD world, something pulls in ghostscript-gpl regardless. Is CUPS pulling it in as a dependency?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Fri Feb 02, 2007 9:45 pm    Post subject: Reply with quote

finally got it to work, I had to install hplip with foomaticdb and usb flags. Wohoo!!
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum