File ends in %%EOF with no newline,
but gv says it should end in '%%EOF
'
ERROR MESSAGE:
gpk:bin$ gv plot.pdf
**** This file has a corrupted %%EOF marker, or
garbage after the %%EOF.
**** The file was produced by PDFgen:
**** please notify the author of this software
**** that the file does not conform to Adobe's
published PDF
**** specification. Processing of the file will
continue normally.
gpk:bin$
Logged In: YES
user_id=1971
next action:
duplicate issue by running ghostview.
if still a problem, this should be a trivial fix:
just search for %%EOF and emit the newline.