connection to remote printer is down

Charles Howse chowse at charter.net
Wed Nov 26 22:29:59 PST 2003


HI,
I haven't had much luck getting questions answered lately, maybe my luck will 
change on Thanksgiving.

I have an HP1100 printer that I set up on machine "moe" with apsfilter, and is 
working perfectly.  I have a hard copy of the Handbook that I went by, and I 
have Googled with no joy.

I'm trying to setup machine "larry" to print text only to the printer on 
"moe", but I'm not getting anywhere.  Jobs get into the local spool, but time 
out waiting on the remote machine to "come up".  I can ping the remote 
machine with no difficulty.

I have the following in /etc/hosts.lpd:

[charles at moe ~]$ cat /etc/hosts.lpd
# $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $
#
# See lpd(8)
#machine.domain
larry.howse.homeunix.net

Here's moe's /etc/printcap:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
hp1100|ljet4;r=600x600;q=medium;c=full;p=letter;m=auto:\
    :lp=/dev/lpt0:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/hp1100:\
    :lf=/var/spool/lpd/hp1100/log:\
    :af=/var/spool/lpd/hp1100/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this

Here's larry's /etc/printcap:

lp|hp1100:\
        :lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-errs:

Here's a sample print session on larry:

[root at larry ~]# lpr /etc/rc.conf
[root at larry ~]# lpq
larry.howse.homeunix.net: waiting for moe to come up
Rank   Owner      Job  Files                                 Total Size
1st    root       9    /etc/rc.conf                          926 bytes

connection to moe is down


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
For every action, there is an equal and opposite
criticism.



More information about the freebsd-questions mailing list