From owner-freebsd-questions Thu Feb 18 6:37:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (Postfix) with ESMTP id 0E9EB113A8 for ; Thu, 18 Feb 1999 06:37:36 -0800 (PST) (envelope-from graeme.brown@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur (local) with SMTP; Thu, 18 Feb 1999 14:35:42 +0000 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Thu, 18 Feb 1999 14:39:54 +0000 Message-ID: Date: 18 Feb 1999 14:39:18 +0100 From: Graeme Brown Subject: RE: Why does lpd say I have no printer ? To: Chuck O'Donnell Cc: freebsd-questions@freebsd.org X-Mailer: Mail*Link SMTP for Quarterdeck Mail; Version 4.0.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck wrote >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. Followed your suggestion and it cleaned up the problem... % cat /etc/printcap lp|ljet4|ljet4_1|remote|remote printer:\ :lp=:\ :rm=freeb15:mx#0:sd=/var/spool/lp:lf=/var/log/lpd-errs: % lpc stat lp: queuing is enabled printing is enabled no entries printer idle % lpr /etc/hosts printed my /etc/hosts OK! Thanks a lot, Chuck Kind regards Graeme _______________________________________________________________________________ To: Graeme Brown Cc: freebsd-questions@FreeBSD.ORG From: Chuck O'Donnell on Thu, Feb 18, 1999 2:25 pm Subject: Re: Why does lpd say I have no printer ? RFC Header:Received: by maczebedee with ADMIN;18 Feb 1999 14:25:26 +0100 Received: from dent.axion.bt.co.uk by rambo with SMTP (PP); Thu, 18 Feb 1999 14:27:45 +0000 Received: from milf18.bus.net by dent with Internet with ESMTP; Thu, 18 Feb 1999 14:22:57 +0000 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 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