Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS: Printing problem in new Gentoo install.
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
wbsoft
n00b
n00b


Joined: 26 Aug 2002
Posts: 73
Location: the Netherlands

PostPosted: Sun Sep 08, 2002 6:59 pm    Post subject: CUPS: Printing problem in new Gentoo install. Reply with quote

Hi, all I sincerely hope someone can help me with this.

I:
- did: echo "some text" > /dev/lp0, that worked. OK.
- emerged cups, hpijs and kde
- started cupsd and added it to the default runlevel
- got the HP Deskjet 400 hpijs ppd from linuxprinting.org (as the info said)
- put that in /usr/share/cups/model/
- Selected 'add printer' in KDE's printmanager.
- Selected the correct port and the Deskjet 400 name from the printerlist
All looks ok. BUT: when I print a test page it prints instead: Unable to open initial device, quitting. The /var/log/cups/error_log shows that the cupsomatic filter crashes (exits with status 32)
- So I opened the ppd to see where the commands to call /usr/bin/hpijs were entered and saw some strange things like:
Code:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs%A%B%C -dIjsUseOutputFD%Z -sOutputFile=- -

- So I removed the %A%B%C and the %Z.
But now it prints
Code:
Unrecoverable error: rangecheck in setscreen
Operand stack:
    -0.0  0  --nostringval--


I am really stuck. hpijs appears to be called now, but why does the ppd have that strage %A%B etc in it, and why doesn't the printing work ?? (should be more easy than ever :x :) )
Back to top
View user's profile Send private message
wbsoft
n00b
n00b


Joined: 26 Aug 2002
Posts: 73
Location: the Netherlands

PostPosted: Sun Sep 08, 2002 9:28 pm    Post subject: Reply with quote

Well, i found that the HP Deskjet 400 ppd from linuxprinting.org uses DeviceModel="HP DeskJet 4", a model hpijs does not know about.

The hpijs site (hpinkjet.sf.net) states that for Deskjet 400 support one must use the deskjet 540 driver.

That one works, but forces me to use the color cartridge (the DJ400 has interchangeable black/color cartrigdes).

I have yet to try the DJ350 driver (hoping for a native hpijs DJ400)
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Mon Sep 09, 2002 7:28 pm    Post subject: Reply with quote

Two things to try:

1. Make sure you have cups in your USE statement
2. Re-emerge ghostscript

BS
Back to top
View user's profile Send private message
wbsoft
n00b
n00b


Joined: 26 Aug 2002
Posts: 73
Location: the Netherlands

PostPosted: Mon Sep 09, 2002 8:01 pm    Post subject: Reply with quote

It works!!

Re-emerging ghostscript did the job. (Shouldn't ghostscript depend on cups when using cups?)

Thznka!
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