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: Sun, 27 May 2001 02:03:07
Message-Id: E153vVR-0003k9-00@mrvdom02.schlund.de
In Reply to: Re: [gentoo-dev] Re: setting up cups on gentoo by Collins Richey
1 Never, I have to use cups for a network-printer sorry. My local connection
2 works... Point one of your list is the same as my experience. I don't know
3 why but it works ;-)
4
5 Sebastian
6
7 Am Sonntag, 27. Mai 2001 03:01 schrieben Sie:
8 > Making some improvements.
9 >
10 > 1) I don't understand why, but installation of the gimp-print product
11 > cleared up some of the problem. After restarting cups and after adding
12 > another printer (same entries except name) with lpadmin, the lpadmin panels
13 > now showed that I had a printer with no defined connection. One of the
14 > other buttons allowed me to reenter the definitions (the same as before),
15 > and viola! the printer worked.
16 >
17 > 2) Not totally - the lpadmin panels still think that I have no printers
18 > defined when I select the printers button!
19 >
20 > 3) I added a printer with a smb://host/name definition (just like on
21 > Sybil), but printing to that destination does not work.
22 >
23 >
24 > On Sat, 26 May 2001 12:24:27 -0600 Collins Richey <erichey2@××××.com>
25 >
26 > wrote:
27 > > On Sat, 26 May 2001 19:55:49 +0200 Sebastian Werner
28 > >
29 > > <sebastian@××××××××××××××××××.de> wrote:
30 > > > I have played with cups some time, i have detected that it do not work
31 > >
32 > > if
33 > >
34 > > > you
35 > > > don't have loaded all the modules: parport, parport_pc, lp
36 > >
37 > > all these are loaded
38 > >
39 > > > Then i have started konquerer with http://localhost:631 and setup my
40 > > > canon
41 > > > bjc 4300. I use the gimp-print package as driver. With the driver from
42 > > > linux-printing.org (without stp) i don't have success. Don't know why.
43 > >
44 > > details on the gimp-print package?
45 > >
46 > > > Am Samstag, 26. Mai 2001 18:35 schrieben Sie:
47 > > > > On Sat, 26 May 2001 09:05:52 -0600 Collins Richey <erichey2@××××.com>
48 > > > >
49 > > > > wrote:
50 > > > > > Do we have any cups experts in the group?
51 > > > > >
52 > > > > > I'm trying to get cups to work on my gentoo distro - no automatic
53 > > >
54 > > > stuff
55 > > >
56 > > > > > like coas or webmin available.
57 > > > > >
58 > > > > > I've done the RTFM on the cups site several times, but no joy yet
59 > > > > >
60 > > > > > Here's what I've done
61 > > > > >
62 > > > > > cups installed and the daemon comes up ok. ghostscript and
63 > >
64 > > enscript
65 > >
66 > > > are
67 > > >
68 > > > > > also installed.
69 > > > > >
70 > > > > > per instructions on the cups site
71 > > > > > 1) setup /usr/lib/cups/filter/cupsomatic (755)
72 > > > > > 2) setup /usr/local/bin/foomatic-gswrapper (755) (this is in my
73 > > >
74 > > > $PATH)
75 > > >
76 > > > > > 3) generated and added the appropriate Canon-BJC-610.....ppd file
77 > > > > > 3) /etc/rc.d/init.d/cupsd start (this is the correct script on my
78 > > > > > system)
79 > > > > > 4) lpadmin (fails with client error)
80 > > > > > 5) http://localhost:631/admin
81 > > > > > brings up login screen (used root)
82 > > > > > did add printer dialog, prompts for parport, Canon and the .ppd
83 > > >
84 > > > file
85 > > >
86 > > > > > I added
87 > > > > > says added lp0
88 > > > > > but manage printers says no printers!
89 > > > > > 6) cat xyz | lpr -Plp0 puts a file in /var/spool/cups but no
90 > > >
91 > > > printing
92 > > >
93 > > > > > 7) After turning on debugging messages, /var/log/cups/error_log
94 > >
95 > > says
96 > >
97 > > > > > (among other things)
98 > > > > > Unable to convert file 0 to printable format for job 10!
99 > > > > > It doesn't seem to enter the cupsomatic script; therefor, no
100 > > >
101 > > > conversion
102 > > >
103 > > > > > 8) All of the ***.conf files in /etc/cups look similar to what I
104 > > >
105 > > > have on
106 > > >
107 > > > > > Sybil,where the printer works.
108 > > > >
109 > > > > More info. lpadmin logs the following errors
110 > > > >
111 > > > > lpadmin -dlp0 -vparallel:/dev/lp0 -mCanon-BJC-610-bjc610a0.upp.ppd
112 > >
113 > > -E
114 > >
115 > > > > (Canon...ppd is in /usr/share/cups/model (per instructions))
116 > > > >
117 > > > > set_default(3, ipp://localhost/printers/lp0)
118 > > > > set_default: resource name '/printers/lp0' no good!
119 > > > > send_ipp_error(3, 406)
120 > > > > Sending error: client-error-not-found
121 > > > >
122 > > > > What do I do to get the resource name to be recognized?