Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 09:32:12 -0500
From:      James Housley <jim@thehousleys.net>
To:        Gavin Kenny <gavinkenny@yahoo.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Accessing another machines printer
Message-ID:  <3A9522EC.520CFA58@thehousleys.net>
References:  <20010222142631.10337.qmail@web3106.mail.yahoo.com>

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

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?3A9522EC.520CFA58>