From owner-freebsd-questions Thu Feb 18 6:24: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from milf18.bus.net (milf18.bus.net [207.41.25.18]) by hub.freebsd.org (Postfix) with ESMTP id BCB6B11403 for ; Thu, 18 Feb 1999 06:23:01 -0800 (PST) (envelope-from cao@milf18.bus.net) Received: (from cao@localhost) by milf18.bus.net (8.8.8/8.8.8) id JAA06035; Thu, 18 Feb 1999 09:22:49 -0500 (EST) (envelope-from cao) Date: Thu, 18 Feb 1999 09:22:49 -0500 From: "Chuck O'Donnell" To: Graeme Brown Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why does lpd say I have no printer ? Message-ID: <19990218092249.A5991@milf18.bus.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Graeme Brown on Thu, Feb 18, 1999 at 09:43:54AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 18, 1999 at 09:43:54AM +0100, Graeme Brown wrote: > Can anyone point me in the right direction concerning a problem > with configuring my FreeBSD host (freeb1) lpd spooler to access a > remote network printer ? > > The remote printer is "lp" with print server at host freeb15. > I can ping free freeb15 from freeb1 OK > > % ping freeb15 > PING freeb15 (132.146.239.202): 56 data bytes > 64 bytes from 132.146.239.202: icmp_seq=0 ttl=255 time=0.716 ms > 64 bytes from 132.146.239.202: icmp_seq=1 ttl=255 time=0.457 ms > 64 bytes from 132.146.239.202: icmp_seq=2 ttl=255 time=0.443 ms > 64 bytes from 132.146.239.202: icmp_seq=3 ttl=255 time=0.441 ms > 64 bytes from 132.146.239.202: icmp_seq=4 ttl=255 time=0.455 ms > 64 bytes from 132.146.239.202: icmp_seq=5 ttl=255 time=0.459 ms > ^C > --- freeb15 ping statistics --- > 6 packets transmitted, 6 packets received, 0% packet loss > round-trip min/avg/max/stddev = 0.441/0.495/0.716/0.099 ms > % > > My /etc/printcap contains > > #remote|sample remote printer:\ > lp|ljet4|ljet4_1|remote|remote printer:\ > :lp=:\ > :rm=freeb15:mx#0:sd=/var/spool/lp:lf=/var/log/lpd-errs: > [cut] > Try removing the comment line above your printer definition or adding a blank line under it. I think it may be confusing lpd. Then do a `lpd restart all' and an `lpd stat' to see if it worked. Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message