Gentoo Archives: gentoo-dev

From: Sebastian Werner <sebastian@××××××××××××××××××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: setting up cups on gentoo
Date: Sat, 26 May 2001 12:02:57
Message-Id: E153iNL-0005Hj-00@mrvdom04.kundenserver.de
In Reply to: [gentoo-dev] Re: setting up cups on gentoo by Collins Richey
1 I have played with cups some time, i have detected that it do not work if you
2 don't have loaded all the modules: parport, parport_pc, lp
3
4 Then i have started konquerer with http://localhost:631 and setup my canon
5 bjc 4300. I use the gimp-print package as driver. With the driver from
6 linux-printing.org (without stp) i don't have success. Don't know why.
7
8 Sebastian
9
10 Am Samstag, 26. Mai 2001 18:35 schrieben Sie:
11 > On Sat, 26 May 2001 09:05:52 -0600 Collins Richey <erichey2@××××.com>
12 >
13 > wrote:
14 > > Do we have any cups experts in the group?
15 > >
16 > > I'm trying to get cups to work on my gentoo distro - no automatic stuff
17 > > like coas or webmin available.
18 > >
19 > > I've done the RTFM on the cups site several times, but no joy yet
20 > >
21 > > Here's what I've done
22 > >
23 > > cups installed and the daemon comes up ok. ghostscript and enscript are
24 > > also installed.
25 > >
26 > > per instructions on the cups site
27 > > 1) setup /usr/lib/cups/filter/cupsomatic (755)
28 > > 2) setup /usr/local/bin/foomatic-gswrapper (755) (this is in my $PATH)
29 > > 3) generated and added the appropriate Canon-BJC-610.....ppd file
30 > > 3) /etc/rc.d/init.d/cupsd start (this is the correct script on my
31 > > system)
32 > > 4) lpadmin (fails with client error)
33 > > 5) http://localhost:631/admin
34 > > brings up login screen (used root)
35 > > did add printer dialog, prompts for parport, Canon and the .ppd file
36 > > I added
37 > > says added lp0
38 > > but manage printers says no printers!
39 > > 6) cat xyz | lpr -Plp0 puts a file in /var/spool/cups but no printing
40 > > 7) After turning on debugging messages, /var/log/cups/error_log says
41 > > (among other things)
42 > > Unable to convert file 0 to printable format for job 10!
43 > > It doesn't seem to enter the cupsomatic script; therefor, no conversion
44 > > 8) All of the ***.conf files in /etc/cups look similar to what I have on
45 > > Sybil,where the printer works.
46 >
47 > More info. lpadmin logs the following errors
48 >
49 > lpadmin -dlp0 -vparallel:/dev/lp0 -mCanon-BJC-610-bjc610a0.upp.ppd -E
50 > (Canon...ppd is in /usr/share/cups/model (per instructions))
51 >
52 > set_default(3, ipp://localhost/printers/lp0)
53 > set_default: resource name '/printers/lp0' no good!
54 > send_ipp_error(3, 406)
55 > Sending error: client-error-not-found
56 >
57 > What do I do to get the resource name to be recognized?

Replies

Subject Author
Re: [gentoo-dev] Re: setting up cups on gentoo Collins Richey <erichey2@××××.com>