It's bad form to reply to my own post, but I have more information.
$ cat /opt/lprng/etc/printcap
lp:sd=/var/spool/lpd/%P
:force_localhost
:lp=/tmp/lp
:filter=/tmp/testf
$ cat /tmp/testf
#!/bin/sh
# /tmp/testf - test filter for LPRng from LPRng-HOWTO
PATH=/bin:/usr/bin; export PATH
echo TESTF $0 "$@" >&2
echo TESTF $0 "$@"
echo ENV
set
echo LEADER
/bin/cat
echo TRAILER
exit 0
# checkpc -f
$ echo hi >/tmp/hi
$ lpr /tmp/hi
$ lpq -llll
Printer: lp@ux11
Queue: no printable jobs in queue
Server: no server active
Status: lp: Check_for_missing files: SUCCESS 'cfA021ux11.isu.edu' at
17:20:35.132
Status: waiting for subserver to exit at 17:20:35.243
Status: subserver pid 2024 starting at 17:20:35.268
Status: accounting at start at 17:20:35.268
Status: opening device '/tmp/lp' at 17:20:35.270
Status: printing job 'howadani@ux11+21' at 17:20:35.271
Status: processing 'dfA021ux11.isu.edu', size 3, format 'f', IF
filter 'testf' at 17:20:35.272
Status: IF filter 'testf' filter msg - 'TESTF /tmp/testf
-Ahowadani@ux11+21 -CA -D2003-02-13-17:20:35.027 -Ff -Hux11.isu.edu
-J/tmp/hi -Lho
wadani -N/tmp/hi -Plp -Qlp -aacct -b3 -d/var/spool/lpd/lp
-edfA021ux11.isu.edu -f/tmp/hi -hux11.isu.edu -j021
-kcfA021ux11.isu.edu -l66 -nho
wadani -sstatus -t2003-02-13-17:20:35.000 -w80 -x0 -y0 acct' at
17:20:35.323
Status: IF filter 'testf' filter msg - 'Destination address
required' at 17:20:35.340
Status: IF filter 'testf' filter msg - 'cat: Cannot write to
output.' at 17:20:35.351
Status: IF filter 'testf' filter finished at 17:20:35.355
Status: printing finished at 17:20:35.356
Status: accounting at end at 17:20:35.357
Status: finished 'howadani@ux11+21', status 'JSUCC' at 17:20:35.358
Status: [EMAIL PROTECTED]: job 'howadani@ux11+21' printed at 17:20:35.381
Status: job 'howadani@ux11+21' saved at 17:20:35.401
Rank Owner/ID Class Job Files
Size Time
done howadani@ux11+21 A 21 /tmp/hi 3
17:20:35
The errors "Destination address required" and "Cannot write to output"
are the same errors I get with the full ifhp filter in place. Here I
have reproduced it with a simple filter from the LPRng-HOWTO. How can
I fix these errors?
--
Danial M. Howard
IT Systems Programmer, Computing and Communications
Idaho State University, Pocatello, Idaho, USA
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
- LPRng: HP-UX 11i, LPRng, and ifhp Danial Howard
- Re: LPRng: HP-UX 11i, LPRng, and ifhp Danial Howard
- Re: LPRng: HP-UX 11i, LPRng, and ifhp George Bell
- Re: LPRng: HP-UX 11i, LPRng, and ifhp Danial Howard
- Re: LPRng: HP-UX 11i, LPRng, and ifhp George Bell
- Re: LPRng: HP-UX 11i, LPRng, and ifhp Danial Howard
- Re: LPRng: HP-UX 11i, LPRng, and ifhp George Bell
- Re: LPRng: HP-UX 11i, LPRng, and ifhp Tom Lieuallen
- Re: LPRng: HP-UX 11i, LPRng, and ifhp Ryan Novosielski
