Date: 18 Feb 1999 14:39:18 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: Chuck O'Donnell <cao@bus.net> Cc: freebsd-questions@freebsd.org Subject: RE: Why does lpd say I have no printer ? Message-ID: <n1292773902.79107@maczebedee>
next in thread | raw e-mail | index | archive | help
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 <cao@bus.net> To: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why does lpd say I have no printer ? Message-ID: <19990218092249.A5991@milf18.bus.net> References: <n1292791608.13146@maczebedee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <n1292791608.13146@maczebedee>; 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1292773902.79107>