From owner-freebsd-questions Sat Feb 26 8: 3:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.twave.net (twave.net [206.100.228.5]) by hub.freebsd.org (Postfix) with SMTP id 6808137BD0E for ; Sat, 26 Feb 2000 08:03:09 -0800 (PST) (envelope-from brameld@twave.net) Received: from [208.219.234.51] by mail.twave.net (NTMail 3.03.0018/1.abwg) with ESMTP id ma797328 for ; Sat, 26 Feb 2000 11:01:45 -0500 Received: from Bozo_3.BozoLand.domain (localhost [127.0.0.1]) by Bozo_3.BozoLand.domain (8.9.3/8.9.3) with SMTP id LAA06002; Sat, 26 Feb 2000 11:02:56 -0500 (EST) (envelope-from brameld@twave.net) From: Walter Brameld To: ccba , FreeBSD-Questions Subject: Re: PostScript LAN printer problem Part 2 Date: Sat, 26 Feb 2000 10:45:05 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <38B7D3DA.B83E0EA2@mindspring.com> In-Reply-To: <38B7D3DA.B83E0EA2@mindspring.com> MIME-Version: 1.0 Message-Id: <00022611025601.05869@Bozo_3.BozoLand.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Hope this helps. -- Walter Brameld in·tel·lec·tu·al n. Someone who has been educated past his/her level of intelligence. Join the Army, meet interesting people, kill them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message