From owner-freebsd-questions Sat Feb 26 8:18: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fb01.eng00.mindspring.net (fb01.eng00.mindspring.net [207.69.229.19]) by hub.freebsd.org (Postfix) with ESMTP id 79A9A37BDAD for ; Sat, 26 Feb 2000 08:17:48 -0800 (PST) (envelope-from ccba@mindspring.com) Received: from mindspring.com (user-2ivebmk.dialup.mindspring.com [165.247.46.212]) by fb01.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id LAA08858 for ; Sat, 26 Feb 2000 11:17:46 -0500 (EST) Message-ID: <38B7FCB4.9557FDFD@mindspring.com> Date: Sat, 26 Feb 2000 11:18:02 -0500 From: ccba X-Mailer: Mozilla 4.51 (Macintosh; I; PPC) X-Accept-Language: en,zh-TW,zh,zh-CN,pdf MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: PostScript LAN Printer problem part 2 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello: The LaserWriter IIg is connected to a hub via a UTP cable. My FreeBSD machine is also connected to the hub via a UTP cable. My mac is connected to the hub and it prints to the IIg perfectly. The purpose for this wire up is for both the Mac and the FreeBSD to share the same printer. phil wong Walter Brameld wrote: > On Sat, 26 Feb 2000, in a never-ending search for enlightenment, ccba wrote: > > Hello: > > > > I setup my /etc/printcap file with the following as its first line: > > > > rlp|Remote Printer:\ > > > > :rm=LaserWriter-IIg:sd=/var/spool/output/LaserWriter-IIg:lf=/var/log/lpd-errs: > > > > When I type this > > > > lpr -Prlp /etc/printcap > > > > I got this > > > > Feb 26 06:48:18 myname lpd[369]:unalbe to get address list for > > remote machine > > LaserWriter-IIg: Host name lookup failure > > > > question: > > > > Where should I enter the printer's address ?? > > > > BTW, how do you get the ethernet address of this printer ?? > > > > > > Sincerely, > > phil wong > > > > still trying to print after three weeks of FreeBSD use :-(( > > > Not knowing anything about how your printer is connected I can't answer your > last question. What I did notice is, in your printcap file, "rm" refers to the > name of the host machine to which the printer is connected. "rp" is used to > provide the name given to the printer connected to the host machine. For > example, if the printer host machine is known on the network as > comp.mydomain.domain and the printer is known ON THAT HOST as LaserWriter-IIg, > then your printcap file should appear this way: > > rlp|Remote Printer:\ > :rm=comp.mydomain.domain:\ > :rp=LaserWriter-IIg:\ > :sd=/var/spool/output/LaserWriter-IIg:\ > :lf=/var/log/lpd-errs: > > What your error message is trying to tell you is that lpd can't find a machine > on the network named LaserWriter-IIg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message