I have some old X terminals which are useful as print servers; you access
them with a script like:
#!/bin/sh
/bin/cat | /usr/bin/rsh xterm opendev /dev/pp0
and them put "lp=|/path/to/script" in your printcap. This mostly works[1]
in 3.6.23, but in 3.6.24 and 3.6.26 it fails. The error goes:
Status: opening device '|/etc/print-xt04' at 11:09:59.055
Status: cannot open '|/etc/print-xt04' - 'No Error', attempt 1, sleeping 10 at
11:09:59.056
Simply downgrading to 3.6.23 makes this work again. The script _is_ being
called but no input is ever being passed to it.
I'm running Red Hat Linux 7.0, the LPRng RPMs are straight from
ftp.astart.com. (Well, the 3.6.24 one came with RedHat, but it does some
things differently and I only used it once to pinpoint the version where
the problem started.)
Any help would be appreciated. I'm happy to crank up debugging or do other
hacks as needed.
1) For some reason the jobs aren't deleted after they've been printed, but
this is at worst a minor issue.
- J<
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------