Subject: Printing with lpr
To: None <netbsd-users@netbsd.org>
From: ianm <ianm@cat.co.za>
List: netbsd-users
Date: 02/25/2003 19:04:54
This is a multi-part message in MIME format.
------=_NextPart_000_0396_01C2DD00.C7E27200
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am having trouble printing with lpr. I have two netBSD 161 boxes (call =
them A and B) networked.=20
Both are able to successfully print to a local printer with no problem. =
However when I set up=20
box A to print using box B's printer (a remote printer setup) I run into =
trouble. Having setup the=20
printcap entries, when using the lpq command to check the printer queue =
I get the following
message.
connection to "ip_of_B" down
My printcap for A is as follows:
ian:\
:lp=3D:rm=3D"ip_of_B":rp=3D"name_of_B_printer":\
:sd=3D/var/spool/lpd/lp:lf=3D/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=20
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
------=_NextPart_000_0396_01C2DD00.C7E27200
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3502.5390" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I am having trouble printing with lpr. =
I have two=20
netBSD 161 boxes (call them A and B) networked. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Both are able to successfully print to =
a local=20
printer with no problem. However when I set up </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>box A to print using box B's printer (a =
remote=20
printer setup) I run into trouble. Having setup the </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>printcap entries, when using the lpq =
command to=20
check the printer queue I get the following</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>message.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>connection to "ip_of_B" =
down</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>My printcap for A is as =
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ian:\</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>:lp=3D:rm=3D"ip_of_B":rp=3D"name_of_B_printer":\</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>:sd=3D/var/spool/lpd/lp:lf=3D/var/log/lpd-errs:sh:mx#0:</FONT></=
DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I thought that box B and A could both =
be looking at=20
different ports, but the printer ports in </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the /etc/services files match. In =
lpd.perms I have=20
set it is DEFAULT ACCEPT and commented</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>out everything else.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Any suggestions for other things I =
could try would=20
be greatly appreciated</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ian</FONT></DIV></BODY></HTML>
------=_NextPart_000_0396_01C2DD00.C7E27200--