From owner-freebsd-questions Sat Feb 26 7:54:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 6C9B837BBF8 for ; Sat, 26 Feb 2000 07:53:59 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12Ohir-000CP9-00; Sat, 26 Feb 2000 13:57:29 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12Ohir-000F9o-00; Sat, 26 Feb 2000 13:57:29 +0000 Date: Sat, 26 Feb 2000 13:57:29 +0000 From: Ben Smithurst To: ccba Cc: FreeBSD-Questions Subject: Re: PostScript LAN printer problem Part 2 Message-ID: <20000226135729.D98536@strontium.scientia.demon.co.uk> References: <38B7D3DA.B83E0EA2@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38B7D3DA.B83E0EA2@mindspring.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ?? I assume this is a printer with a direct LAN connection, rather than being attached to another server? If so, you'll have to find it's IP address (RTFM for your printer to find out how), and add it to your /etc/hosts, e.g.: laserwriter-iig: 192.168.12.34 or, if you run a local DNS server, you could add it to your zone file. > BTW, how do you get the ethernet address of this printer ?? You shouldn't need it's ethernet address. ARP should find that for you, you'll need it's IP address to print to it, I think. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message