[tex-k] problem with dvips 5.90a including graphics

Tomas G. Rokicki rokicki@CS.Stanford.EDU
Tue, 13 Aug 2002 14:13:01 -0700

Thanks for the files!

That illustrator file is definitely malformed; the first two
data sections are exactly three bytes too long.  (The third is

You can bring it up into any editor and count bytes and see that
this is so.

Removing the extraneous bytes from each of those sections
causes dvips not to complain, as does fixing the byte count.

You can run my perl script http://tomas.rokicki.com/illbug/fixill.pl
to fix such broken files.

The dvips error message is admittedly broken (should say %%EndData
not %%EndBinary in this case).

I'll try to figure out how to make dvips handle these broken files
by itself, maybe simply by making it a nonfatal error and just
struggling on, finding a likely place to continue from.

But in the meantime, you'll have to fix the broken files.