Having just downloaded and built LPRng-3.6.22, I have come across a
strange problem. I can't print from a print server with the same
lpd.conf and lpd.perms that I used with 3.6.21. I get the following
error:

b120b: Read_write_timeout: readfd 3 closed

The command line is simply

lpr -Pprinter_name file_name

However, if I use

lpr -Pprinter_name@localhost file_name

everything works out fine. My printcap entry is as follows:

printer_name|PRINTER_NAME:tc=.printer-ip
printer_name|PRINTER_NAME:client:lpr_bounce:lp=printer_name@localhost
printer_name|PRINTER_NAME:server:ab:bs=/usr/local/bin/pclbanner:if=/usr/local/etc/filters/ifhp:of=/usr/local/etc/filters/ofhp:lp=ip.of.printer%9100

.printer-ip:\
        sd=/var/spool/lpd/%P:\
        chooser=/usr/local/eprint/bin/poll_printer.pl:\
        connect_grace=10:\
        network_connect_grace=10

However, it also happens with a printer with this printcap:

printer_name|PRINTER_NAME:client:lpr_bounce:lp=printer_name@localhost
printer_name|PRINTER_NAME:ab:bs=/usr/local/bin/lpbanner:server:tc=.printer

.printer:\
        lp=/var/spool/lpd/%P/null:\
        sd=/var/spool/lpd/%P:\
        if=/usr/local/etc/filters/ifmpap:\
        of=/usr/local/etc/filters/ofmpap:\
        connect_grace=10:\
        chooser=/usr/local/eprint/bin/poll_printer.pl


force_localhost defaults to ON in the lpd.conf file (and I've also tried
turning it on explicitly), and LPRng was built with the following,
fairly straightforward configuration:

./configure  --with-filterdir=/usr/local/bin
--with-printcap_path=/etc/printcap:/etc/printcap.server
--sbindir=/usr/local/bin

Printing from another machine works out just fine (though I am running
an older version of LPRng on that those boxes). Any ideas? Anyone?
Patrick?

-- 
                        Bill Knox
                        Senior Operating Systems Programmer/Analyst
                        The MITRE Corporation

-----------------------------------------------------------------------------
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