Gentoo Archives: gentoo-dev

From: Collins Richey <erichey2@××××.com>
To: gentoo <gentoo-dev@g.o>
Cc: caldera <users@×××××××××××××.com>
Subject: [gentoo-dev] Re: setting up cups on gentoo
Date: Sat, 26 May 2001 10:26:52
Message-Id: 20010526103542.25fa6245.erichey2@home.com
1 On Sat, 26 May 2001 09:05:52 -0600 Collins Richey <erichey2@××××.com>
2 wrote:
3
4 > Do we have any cups experts in the group?
5 >
6 > I'm trying to get cups to work on my gentoo distro - no automatic stuff
7 > like coas or webmin available.
8 >
9 > I've done the RTFM on the cups site several times, but no joy yet
10 >
11 > Here's what I've done
12 >
13 > cups installed and the daemon comes up ok. ghostscript and enscript are
14 > also installed.
15 >
16 > per instructions on the cups site
17 > 1) setup /usr/lib/cups/filter/cupsomatic (755)
18 > 2) setup /usr/local/bin/foomatic-gswrapper (755) (this is in my $PATH)
19 > 3) generated and added the appropriate Canon-BJC-610.....ppd file
20 > 3) /etc/rc.d/init.d/cupsd start (this is the correct script on my
21 > system)
22 > 4) lpadmin (fails with client error)
23 > 5) http://localhost:631/admin
24 > brings up login screen (used root)
25 > did add printer dialog, prompts for parport, Canon and the .ppd file
26 > I added
27 > says added lp0
28 > but manage printers says no printers!
29 > 6) cat xyz | lpr -Plp0 puts a file in /var/spool/cups but no printing
30 > 7) After turning on debugging messages, /var/log/cups/error_log says
31 > (among other things)
32 > Unable to convert file 0 to printable format for job 10!
33 > It doesn't seem to enter the cupsomatic script; therefor, no conversion
34 > 8) All of the ***.conf files in /etc/cups look similar to what I have on
35 > Sybil,where the printer works.
36 >
37
38 More info. lpadmin logs the following errors
39
40 lpadmin -dlp0 -vparallel:/dev/lp0 -mCanon-BJC-610-bjc610a0.upp.ppd -E
41 (Canon...ppd is in /usr/share/cups/model (per instructions))
42
43 set_default(3, ipp://localhost/printers/lp0)
44 set_default: resource name '/printers/lp0' no good!
45 send_ipp_error(3, 406)
46 Sending error: client-error-not-found
47
48 What do I do to get the resource name to be recognized?
49
50 --
51 Collins Richey
52 Denver area
53 gentoo system

Replies

Subject Author
Re: [gentoo-dev] Re: setting up cups on gentoo Sebastian Werner <sebastian@××××××××××××××××××.de>