Gentoo Archives: gentoo-user

From: Martins Steinbergs <mar@××.lv>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Home Network Printing
Date: Fri, 25 Nov 2005 10:49:08
Message-Id: 200511251244.24736.mar@ml.lv
In Reply to: [gentoo-user] Home Network Printing by Michael Kintzios
1 On Friday 25 November 2005 12:14, Michael Kintzios wrote:
2 > Hi All,
3 >
4 > I am sure that this is an easy thing to achieve, but for some reason I
5 > seem to fail to get it going. Probably because I do not completely
6 > understand the logic. The setup is as follows:
7 >
8 > I have two boxen, hostname1.STUDY and hostname2.STUDY. hostname2 has the
9 > printer connected to it via parallel port. The printer's name is
10 > Compaq-HP. Hostname2 can print locally without a hitch.
11 >
12 > I created a new printer on hostname1 and also named it Compaq-HP. I set
13 > the ipp address to ipp://hostname2.STUDY/ipp but I kept getting errors
14 > telling me it can't resolve the address. So I changed it to the LAN ip
15 > address (ipp://192.163.0.3/ipp)and it seems that it can now connect, but
16 > it cannot find the printer:
17 > =========================================
18 > I [21/Nov/2005:21:55:47 +0000] [Job 44] Connecting to 192.168.0.3 on
19 > port 631...
20 > I [21/Nov/2005:21:55:47 +0000] [Job 44] Connected to 192.168.0.3...
21 > D [21/Nov/2005:21:55:47 +0000] [Job 44] Getting supported attributes...
22 > E [21/Nov/2005:21:55:47 +0000] [Job 44] Destination printer does not
23 > exist!
24 > E [21/Nov/2005:21:55:49 +0000] PID 15530 stopped with status 1!
25 > =========================================
26 >
27 > lpstats shows both printers (local and remote):
28 > =========================================
29 > $ lpstat -t
30 > scheduler is running
31 > system default destination: Compaq-HP
32 > device for Compaq-HP: ipp://192.168.0.3/ipp
33 > device for DeskJet-930C: parallel:/dev/lp0
34 > Compaq-HP accepting requests since Jan 01 00:00
35 > DeskJet-930C accepting requests since Jan 01 00:00
36 > printer Compaq-HP is idle. enabled since Jan 01 00:00
37 > printer DeskJet-930C disabled since Jan 01 00:00 -
38 > Paused
39 > =========================================
40 >
41 > Would you know why it can't resolve hostname2.STUDY? Am I meant to add
42 > the printer name on the ipp://192.168.0.3/ipp?
43 >
44 > Regards,
45 > --
46 > Mick
47
48 maybe adding "192.168.0.3 hostname2.STUDY" to /etc/hosts would help
49
50 just guessing, planning to put old ibm pentium (200Mhz) to do the firewall,
51 router and printer server job
52
53 martins
54 --
55 Linux 2.6.15-rc2 AMD Athlon(tm) 64 Processor 3200+
56 12:33:12 up 4:23, 4 users, load average: 0.00, 0.00, 0.00
57 --
58 gentoo-user@g.o mailing list