Ken Plumley wrote:
Phil,

Edit the file /etc/lpd.perms on each machine used for
network printing. Near the bottom of the file comment
out the REJECT SERVICE statment like this:

# REJECT SERVICE=X NOT SERVER


Ken



--- Phil Campaigne <[EMAIL PROTECTED]> wrote:


Hi All,
I can't printover the network.
When I submit a print job I get the following error

[EMAIL PROTECTED] root]# lpr [EMAIL PROTECTED] --

/home/phil/3465317ExtremePerformanceTuning.pdf

Status Information:
 sending job '[EMAIL PROTECTED]' to
[EMAIL PROTECTED]
 connecting to '192.168.1.4', attempt 1
 cannot open connection to 192.168.1.4 - Connection
timed out
Make sure the remote host supports the LPD protocol

But I can ping 192.168.1.4 to which the remote
printer is connected from 192.168.1.2 which is submitting the print job.


Is the problem in the print queues for either
machine?
The submitting maching, 192.168.1.2 has the
following parameters in the print queue:


lp:\
        :ml#0:\
        :mx#0:\
        :sd=/var/spool/lpd/lp:\
        :af=/var/spool/lpd/lp/lp.acct:\
        :sh:\
        :rm=192.168.1.4:\
        :rp=lp:\
        :bk:\



:control_filter=/usr/share/printconf/util/strip_control_file.sh:\


        :lpd_bounce=true:\
        :if=/usr/share/printconf/util/mf_wrapper:

And the /etc/printcap for the machine 192.168.1.4
with the local printer attached is:


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:

and the machine with the local printer, 192.168.1.4
has a hosts.lpd file that contains:
hardwoodthunder.OBJECTPOWER
192.168.1.2


They are the IP address and the name of the
submitting machine.

What am I missing?
Thanks,
Phil Campaigne


-- redhat-list mailing list unsubscribe


mailto:[EMAIL PROTECTED]


https://www.redhat.com/mailman/listinfo/redhat-list



__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com



Ken,
Thanks for your reply. I checked and found that your recommended entry was already in the lpd.perms file on the print serving machiner but not on the remote machine submitting the print request. I added the following entry into that machine to match the print server entry:


# allow local job submissions only
#REJECT SERVICE=X NOT SERVER

The bad news is that I still get the same error,
Printer '[EMAIL PROTECTED]' - cannot open connection - Connection timed out

when I submit the following command line print request from 192.168.1.2
[EMAIL PROTECTED] root]# lpr [EMAIL PROTECTED] -- home/phil/3465317ExtremePerformanceTuning.pdf


Any other ideas?
Thanks,
Phil Campaigne



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to