Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 14:40:29 +0000 (GMT)
From:      =?iso-8859-1?q?Gavin=20Kenny?= <gavinkenny@yahoo.co.uk>
To:        James Housley <jim@thehousleys.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Accessing another machines printer
Message-ID:  <20010222144029.29593.qmail@web3103.mail.yahoo.com>
In-Reply-To: <3A9522EC.520CFA58@thehousleys.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jim@thehousleys.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010222144029.29593.qmail>