1 |
On 9/18/06, Mark Knecht <markknecht@×××××.com> wrote: |
2 |
> Hi, |
3 |
> Sorry. This has got to be me just not seeing the right way about |
4 |
> this. What do I have to do on my Gentoo AMD64 machine with a working |
5 |
> CUPS printer to share it with other Gentoo desktop machines here at |
6 |
> home? |
7 |
> |
8 |
> I have a working CUPS printer on my machine. I want to print to it |
9 |
> from my wife and son's machines. I've been trying to figure out how to |
10 |
> set that up but cannot get the right configuration. It seems that the |
11 |
> Gentoo Printing Guide is somewhat silent on this. |
12 |
> |
13 |
> http://www.gentoo.org/doc/en/printing-howto.xml |
14 |
> |
15 |
> On the machine with the printer I've done what I think the guide |
16 |
> has asked for, modified for my network IP addresses: |
17 |
> |
18 |
> <Location /> |
19 |
> Order Deny,Allow |
20 |
> Deny From All |
21 |
> Allow From 127.0.0.1 |
22 |
> Allow From 192.168.1.* |
23 |
> </Location> |
24 |
> |
25 |
> Port 631 |
26 |
> (make sure the next two lines are commented out) |
27 |
> #Listen 127.0.0.1:631 |
28 |
> #Listen localhost:631 |
29 |
|
30 |
Maybe port 631 will work here, I have it set to Listen *.631 |
31 |
|
32 |
> At this point I believe I'm supposed to set up IPP printing on the |
33 |
> remote machines but everything I've tried there results in messages |
34 |
> about the printer not being found, not responding, not existing, etc. |
35 |
> I'm telling CUPS that it's an IPP printer and trying addresses like: |
36 |
> |
37 |
> ipp://lightning/ipp |
38 |
> ipp://lightning/ipp/port1 |
39 |
> etc. |
40 |
|
41 |
On the client mahines you want to comment out the listen localhost:631 |
42 |
line in cupsd.conf. Then you want to make a file in /etc/cups called |
43 |
client.conf. Insert in it |
44 |
|
45 |
ServerName ***** |
46 |
|
47 |
Add whatever the name or ip address of the server machine is. |
48 |
Somewhere I read that you have to use the server name as defined in |
49 |
/etc/host, you might have to add it to the file if you haven't done |
50 |
this all ready. I did it that way and restrated cups and it worked. |
51 |
|
52 |
lpstat -a |
53 |
Epson accepting requests since Mon Sep 18 12:19:08 2006 |
54 |
hp_photosmart_7700_series_USB_1 accepting requests since Wed Jul 26 |
55 |
20:25:52 2006 |
56 |
|
57 |
The lpstat command will show if you are seeing the printer or not. |
58 |
|
59 |
I just figured this out last night. Hope it works for you. |
60 |
|
61 |
|
62 |
> However when I try to print to it I get messages in CUPS like: |
63 |
> |
64 |
> "Destination printer does not exist!" |
65 |
> |
66 |
> I'm sure it's just me not understanding the right way to input the |
67 |
> printer's address. |
68 |
> |
69 |
> Thanks in advance, |
70 |
> Mark |
71 |
-- |
72 |
gentoo-user@g.o mailing list |