Can somebody please share with me a printcap entry that lets
LPRng print _correctly_ over netatalk (through pap) to a postscript
printer? Failing that, I'll be happy with a recipe for CUPS that does
the same thing.
The suggested method:
atalk:
:lp=| -$ /usr/local/atalk/bin/pap -e -p "npbname"
:sd=/var/spool/lpd/atalk
:filter=/usr/local/libexec/filters/ifhp
didn't work. Nothing came out. After replacing the lp
line with a script I found out it was because an extraneous
%! line was coming before the postscript. So I put a script
in there to eat the first line and then pass the rest to pap
and go out with exit 0.
That prints.
Unfortunately it leaves ifhp2MCyeA,ifhp2tgaMa,ifhpcDZCDU,etc.
ad nauseum in the spool directory for the printer. These strings
are not passed to the lp: program, so it cannot remove the file
when it completes.
LPRng isn't doing it either. These
are the postscript files which are sent into the program
on the :lp line.
Interestingly, the ifhp files don't have the leading
%!, so LPRng itself must be creating those.
Maybe this is an ifhp.conf or lpd.conf problem? I left those
unmodified.
Versions:
LPRng-3.8.15-1
ifhp-3.5.10-1
netatalk-1.5.5
RH 7.3
Thanks,
--
David Mathog
Manager, Sequence Analysis Facility, Biology Division, Caltech