You are not logged in.
[edit] This problem was caused by dbus not running, and the solution was to start the hal daemon, which also launches dbus.
http://wiki.archlinux.org/index.php/HAL
[/edit]
Hi, I'm trying to set up a HP C4480 (Photosmart all-in-one) printer, connecting via USB. I've got cups running, added the printer. But I can't print a test page so obviously I'm missing something.
The error I see on the cups page (localhost:631) is "/usr/lib/cups/backend/hp failed"
In the cups error_log (log level is debug), the first error I see is
D [01/Oct/2008:12:12:32 -0700] [Job 6] Renderer exit stat: 9
D [01/Oct/2008:12:12:32 -0700] [Job 6] Process dying with "error closing *main::STDOUT", exit stat: 9
Here's a longer chunk of the same log:
D [01/Oct/2008:12:12:30 -0700] [Job 6] Starting renderer
D [01/Oct/2008:12:12:30 -0700] [Job 6] JCL: <job data>
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6] renderer PID kid4=9332
D [01/Oct/2008:12:12:30 -0700] [Job 6] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [01/Oct/2008:12:12:30 -0700] [Job 6] Found: %%Trailer
D [01/Oct/2008:12:12:30 -0700] [Job 6] --> Continue DSC parsing now.
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6] Found: %%Pages: 1
D [01/Oct/2008:12:12:30 -0700] [Job 6] --> Continue DSC parsing now.
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6] Found: %%BoundingBox: 0 0 612 792
D [01/Oct/2008:12:12:30 -0700] [Job 6] --> Continue DSC parsing now.
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6] Found: %%EOF
D [01/Oct/2008:12:12:30 -0700] [Job 6] --> Continue DSC parsing now.
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6]
D [01/Oct/2008:12:12:30 -0700] [Job 6] Closing renderer
D [01/Oct/2008:12:12:31 -0700] [Job 6] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'
D [01/Oct/2008:12:12:31 -0700] Discarding unused job-progress event...
D [01/Oct/2008:12:12:32 -0700] [Job 6] KID3 exited with status 0
D [01/Oct/2008:12:12:32 -0700] [Job 6] KID4 exited with status 9
D [01/Oct/2008:12:12:32 -0700] [Job 6] Renderer exit stat: 9
D [01/Oct/2008:12:12:32 -0700] [Job 6] Process dying with "error closing *main::STDOUT", exit stat: 9
D [01/Oct/2008:12:12:32 -0700] [Job 6] error: Broken pipe (32)
D [01/Oct/2008:12:12:32 -0700] [Job 6] error closing *main::STDOUT
D [01/Oct/2008:12:12:32 -0700] [Job 6] KID3 finished
D [01/Oct/2008:12:12:32 -0700] [Job 6] Renderer process finished
D [01/Oct/2008:12:12:32 -0700] [Job 6] Killing process 9331 (KID3)
D [01/Oct/2008:12:12:32 -0700] [Job 6] Process dying with "Error closing renderer", exit stat: 9
D [01/Oct/2008:12:12:32 -0700] [Job 6] error: Bad file descriptor (9)
D [01/Oct/2008:12:12:32 -0700] [Job 6] Error closing renderer
E [01/Oct/2008:12:12:32 -0700] PID 9326 (/usr/lib/cups/filter/foomatic-rip-hplip) stopped with status 9!
D [01/Oct/2008:12:12:32 -0700] [Job 6] File 0 is complete.
I [01/Oct/2008:12:12:32 -0700] [Job 6] Backend returned status -6 (crashed)
Any help is greatly appreciated, thanks.
Last edited by Dave Cohen (2008-10-02 17:50:26)
Offline
Did you install hplip?
1000
Offline
Yes, hplip version 2.8.9-2. Before Arch I was using Gentoo, where I had to run hplip as a service. Apparently that is not required anymore. So I've installed it, but nothing else.
Offline
Are you in the lp and scanner groups?
1000
Offline
When the localhost:631 interface prompts me to log in, I log in as root.
Offline
some rivers seem to need the a2ps pkg or even ghostscript. maybe that helps.
Last edited by AndyRTR (2008-10-02 05:01:36)
Offline
Already had ghostscript 8.63-3. Just installed a2ps 4.13c-1 and its dependency, psutils-1.17-1. But not change in the error message.
I read something on a gentoo board about some printers working with ghostscript-eps (as opposed to ghostscript-gpl). But from what I read, the two have merged into just one release.
Perhaps I should mention I'm on a amd64 machine. I'm really at a loss here so any suggestions are welcome.
Offline
Possible clue. I tried running hp-levels and ran into a couple problems. First it tells me
error: Unable to connect to dbus system bus. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
and then...
Black cartridge
Part No.: 74/74XL
Health: Good/OK
Traceback (most recent call last):
File "/usr/bin/hp-levels", line 184, in <module>
logBarGraph(agent_level, agent_type, size, color, bar_char)
File "/usr/bin/hp-levels", line 46, in logBarGraph
adj = 100.0/size
ZeroDivisionError: float division
It's trying to tell me how much ink is in the black cartridge, then it crashes hard.
I tried running hp-systray (whatever the heck that is) and got similar errors.
The dbus message is lost on me, but I looked for packages named dbus and I see that I have both dbus and lib32-dbus installed. Is that a problem? (And how would I resolve it?)
Thanks again in advance.
Offline
hal is enabled?
Love, and do what thou wilt - St. Augustine of Hippo
Offline
hal is enabled?
Roberto, you are the man!
Hal was not enabled. It is now, and I can print my test page.
(hp-levels no longer displayes the dbus message, but still crashes with "ZeroDivisionError: float division". I'm not planning to use hp-levels ever, so no big deal.)
As I write this, I don't see how to change this thread to [solved], but it is. Thanks everyone!
Last edited by Dave Cohen (2008-10-02 09:30:46)
Offline
Seems like dbus was the culprit here, but as the daemon script for hal takes care to also load dbus, it got fixed nonetheless.
You can mark the thread by editing your first post.
1000
Offline