From owner-freebsd-questions Thu Feb 22 6:40:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web3103.mail.yahoo.com (web3103.mail.yahoo.com [204.71.202.188]) by hub.freebsd.org (Postfix) with SMTP id 7A8DB37B401 for ; Thu, 22 Feb 2001 06:40:29 -0800 (PST) (envelope-from gavinkenny@yahoo.co.uk) Message-ID: <20010222144029.29593.qmail@web3103.mail.yahoo.com> Received: from [193.123.204.66] by web3103.mail.yahoo.com; Thu, 22 Feb 2001 14:40:29 GMT Date: Thu, 22 Feb 2001 14:40:29 +0000 (GMT) From: =?iso-8859-1?q?Gavin=20Kenny?= Subject: Re: Accessing another machines printer To: James Housley Cc: freebsd-questions@freebsd.org In-Reply-To: <3A9522EC.520CFA58@thehousleys.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah Ha! A small but vital omission! Thanks - it all suddenly works. p.s. There are quite a few "hosts.xxx" files. What do they all do? I can't find a reference in the Complete FreeBsd book. --- James Housley wrote: > Gavin Kenny wrote: > > > > Hi, > > > > I have a small network of 5 machines. I have > looked up > > my printer to the parrallel port of one of them > > (called webby - yes it's a web server) and can > print > > from that machine only using lpr. > > > > The printcap file is: > > > > lp|scps|lj|ps|local printer:\ > > :sh:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/output/lpd:\ > > :lf=/var/log/lpd-errs:\ > > :if=/usr/local/libexec/hpif: > > > > I want to be able to print from any machine in the > > network, so I have written the following printcap > for > > the other machines: > > > > scps|lp|rlp|remote|remote printer > > :sh:\ > > :lp=:\ > > :rm=webby:\ > > :rp=scps:\ > > :sd=/var/spool/output/printing:\ > > :lf=/var/log/lpd-errs: > > > > I start up the deamon using lpd and then try to > print > > using lpr. No error is reported but nothing > happens. > > > > Looking at the queue on the remote machine I get: > > > > "waiting for queue to be enabled on webby" > > and then I see the job sitting in the queue. The > print > > job doesan't get transferred to webby. > > > > I've tried lpc enable and lpc start but these > don't > > solve the problem. > > > > HELP I'm running out of ideas!! > > > > Have you added you other machines to /etc/hosts.lpd > on webby???? This > controls who may print on webby. > > Jim > -- > /"\ ASCII Ribbon Campaign . > \ / - NO HTML/RTF in e-mail . > X - NO Word docs in e-mail . > / \ > ----------------------------------------------------------------- > jeh@FreeBSD.org http://www.FreeBSD.org The > Power to Serve > jim@TheHousleys.Net http://www.TheHousleys.net > --------------------------------------------------------------------- > Nothing is fool proof, because fools are too ingenious. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message