Probable bug in lp? I did
hget ... | jpg -9 | lp -dstdout -pp9bitpost > ... # this is a school
project
hget | lp -dstdout -pjpgpost > ... # when I realized it existed
However, there is one GIF in my project and that didn't cause any
problems, so it makes me wonder...
The only postscript I know is the color changing code (which I learned
from your talk slides); this problem confused me.
On Apr 28, 2008, at 4:32 AM, Russ Cox wrote:
/n/sources/contrib/pietro/saturn.tar has an example of what I mean.
troff -ms -mpictures tmac.colors saturnhd.ms history.ms
cpu% tar xf /n/sources/contrib/pietro/saturn.tar
cpu% for (i in *.ps) echo $i `{sed 1q $i}
pioneer11.ps %!PS-Adobe-2.0 div 112 page header - research!pg
saturnsymbol.ps %!PS-Adobe-2.0 div 112 page header - research!pg
cpu%
Each of these files begins with an lp-style banner page.
That postscript code reinitializes the postscript interpreter,
among other things, clearing the page.
Things will work better if you generate the files without
the banner pages. Running
aux/p9bitpost file.bit > file.ps
will produce postscript without the banner page.
I'm quite confused as to how they could have gotten there.
Russ