: 
# Some printers can't cope with multiple %%EOF in a file
# Run this script on the PostScript file after decompressing it if
# you have a printer like that, for example an old HP LaserJet 4Si MX
#
TMP=`basename $1`$$
fgrep -v %%EOF $1 >$TMP
echo %%EOF >>$TMP
mv $1 $1.old 
mv $TMP $1

