Hello, I've been trying almost everything possible to get the LPRng configuration set 
up
correctly. I'm just using this on my home PC, and am not connected to a network. 
Everytime
I try to do anything, such as lpq or lpr -Pauto1 myfile, I get this error message:

Status Information:
 sending job 'root@zrpg+894' to auto1@localhost
 connecting to 'localhost', attempt 1
 cannot open connection to localhost - Connection timed out
Make sure LPD server is running on the server

I'll try to give as much information as possible:
system: Customized Glibc 2.2/Linux kernel 2.4 system, similar to Slackware.
printer: HP Deskjet 520, connected via the parallel port lp0.
filter: APSfilter 6.1.1
postscript software: GNU Ghostscript 6.51
LPRng 3.7.5

/etc/printcap:
auto1|Printer1 auto:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/auto1:\
    :lf=/var/spool/lpd/auto1/log:\
    :af=/var/spool/lpd/auto1/acct:\
    :mx#0:\
    :sh:
raw1|Printer1 raw:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/raw1:\
    :lf=/var/spool/lpd/raw1/log:\
    :af=/var/spool/lpd/raw1/acct:\
    :mx#0:\
    :sh:

/var/spool/lpd:
drwx------    2 daemon   daemon       4096 Aug 17 18:13 auto1
-rw-------    1 lp       lp              0 Aug 17 09:52 control.lp
-rw-r--r--    1 lp       lp              5 Aug 17 17:56 lock
-rw-------    1 lp       lp              0 Aug 17 09:52 log
drwx------    2 lp       lp           4096 Aug 17 19:13 lp
-rw-r--r--    1 lp       lp              5 Aug 17 18:51 lpd.lock
drwx------    2 daemon   daemon       4096 Aug 17 11:24 raw1
-rw-------    1 lp       lp             25 Aug 17 17:08 status
-rw-------    1 lp       lp              0 Aug 17 09:52 status.lp

/etc/hosts contains the line
127.0.0.1       localhost       localhost.localdomain
in addition to my isp host/domain.

I have ran checkpc -f, and it made fixes. I have done ps -aux | grep lpd to
make sure that lpd is running. I have tried restarting lpd with lpc reread. I
have the right modules compiled and dmesg confirms that they are loaded
correctly: lp, parport, and parport_pc. I can get the printer to work by doing
a cat > /dev/lp0. I have checked my rc.d scripts and they correctly load lpd and
the kernel modules.

Also, I tried reinstalling from source several times. Still, lpr keeps giving me
the same error. I tried recompiling and installing from source several times.
There is nothing in the /var/spool log files.
The only thing that did work is that apsfilter printed the testpage correctly
(using ghostscript's printing driver directly).

Could anyone point me to what I am doing wrong here? Thank you!


---------------------------------------------
This message was sent using MHO WebMail.
http://www.mho.net



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to