[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Remote Priting
- From: ABrady <xunil kc rr com>
- To: redhat-list redhat com
- Subject: Remote Priting
- Date: Tue Apr 1 10:53:07 2003
I've done this before and now I can't seem to get it working.
I have 2 RH8.0 boxen. One has a printer attached and it works fine. The
box currently has no firewall running.
The other is trying to connect to the first box remotely for printing. I
use ssh regularly and that works. I turned telnet on briefly and that
worked. But trying to print gives me a "connection refused" on the
printer. I tried telnetting to the port and it eventually timed-out as
well.
I did this several times in the past and it was easy-peasy. But for some
reason it refuses to cooperate now. I've gone over and over the configs
and can't see anything wrong. I've created /etc/lpd.perms (differing
variations). I tried (never needed it before) /etc/lpd.equiv. I've tried
both using both 'lp' and'var/spool/lpd/lp' for the queue. I've tried
naming the printer the same, naming it differently, different queues
altogether, etc. Nothing has worked. I either get an error that it
doesn't exist or on that says the connection is refused.
While the error appears to be coming from the remote machine, nothing on
there looks untoward. Every firewall rule is currently ACCEPT.
I know I'm probably missing something easy. But I can't for the life of
me see it.
Here's the printcap from the machine with the printer attached.
--------------------------------------------------------------
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be
included.
lp:\
:ml#0:\
:mx#0:\
:sd=/var/spool/lpd/lp:\
:af=/var/spool/lpd/lp/lp.acct:\
:sh:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
#######################################################################
########## Everything below here is included verbatim from
/etc/printcap.local
#######################################################################
##########
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
lp:sh:sd=/var/spool/lpd/lp:lp=/dev/lp0:
-----------------------------------------------------------------
This is from the machine that needs to connect remotely.
-----------------------------------------------------------------
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be
included.
printer:\
:ml#0:\
:mx#0:\
:sd=/var/spool/lpd/printer:\
:af=/var/spool/lpd/printer/printer.acct:\
:sh:\
:rm=192.168.1.15:\
:rp=/lp/var/spool/lpd/lp:\
:bk:\
:control_filter=/usr/share/printconf/util/strip_control_file.sh:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
#######################################################################
########## Everything below here is included verbatim from
/etc/printcap.local
#######################################################################
##########
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
lp:rm=server.harry.net:sh:sd=/var/spool/lpd/lp:rp=lp:
----------------------------------------------------------------------
Thanks for any help pointing me toward the obvious thing I'm obviously
missing.
--
Everything you know is wrong. But some of it is a useful first
approximation.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]