Subject: Re: Printing with lpr
To: ianm <ianm@cat.co.za>
From: Jay Nelson <jnelson@newsstand.com>
List: netbsd-users
Date: 02/25/2003 14:28:57
On Tue, Feb 25, 2003 at 07:04:54PM +0200, ianm wrote:
> Hi,
>  
> I am having trouble printing with lpr. I have two netBSD 161 boxes (call
> them A and B) networked. 
> Both are able to successfully print to a local printer with no problem.
> However when I set up 
> box A to print using box B's printer (a remote printer setup) I run into
> trouble. Having setup the 
> printcap entries, when using the lpq command to check the printer queue
> I get the following
> message.

Are the respective hosts listed in /etc/hosts.lpd and did you start
the daemon without the '-s' flag?

-- jay
  
> connection to "ip_of_B" down
>  
> My printcap for A is as follows:
> ian:\
> :lp=:rm="ip_of_B":rp="name_of_B_printer":\
> :sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:sh:mx#0:
>  
>  
> I thought that box B and A could both be looking at different ports, but
> the printer ports in 
> the /etc/services files match. In lpd.perms I have set it is DEFAULT
> ACCEPT and commented
> out everything else.
>  
> Any suggestions for other things I could try would be greatly
> appreciated
>  
> Thanks
> Ian