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:
:lp=| -$ /usr/local/atalk/bin/pap -e -p "npbname"
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.
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
Manager, Sequence Analysis Facility, Biology Division, Caltech