[pdftex] Poorly formed PDF file?

White, George WhiteG at mar.dfo-mpo.gc.ca
Mon Mar 12 14:36:56 CET 2001

We routinely create PDF files with Matlab EPS files, but converted using
ghostscript (e.g., via eps2pdf) rather than Illustrator.

I was able to print your test.pdf, using acroread 4.05 on SGI Irix to
an HP LJ5SiMX-PS printer.  I think your problem is with the PS driver
or the printer (perhaps it is short on memory -- that has been a constant
problem for us).  The matlab graphics are quite detailed for the size at
which your are printing and the purpose (to locate a study area).  You could
try to use a less detailed coastline.

Gv displays an error message when I try to view your test.ps file:

ERROR: undefined


Your PS file was generated with a driver for a Tek850DX printer, which I

----- Original Message -----
From: "Jody M. Klymak" <jklymak at OCE.ORST.EDU>
To: <pdftex at tug.org>
Sent: Sunday, March 11, 2001 4:58 PM
Subject: [pdftex] Poorly formed PDF file?


I am having trouble including some PDF files into my PDFLaTeX
The resulting PDF files look OK in in Acrobat, but will not print to
post-script printers, choking when they reach the offending figure.
Similarly, creating a postscript file in Acrobat makes a PS file that
Ghostscript cannot interpret.

I suspect that my graphics preparation path is to blame - in
Matlab eps file->Illustrator PDFfile -> PDFLaTeX.

Also, note that GSView manages to print the PDF file, but at a very
speed.  Thats fine for me, but I want people to be able to use these
documents, and expecting them to get ghostscript is unreasonable.

Any hints would be appreciated.  I've put the offending files at

I am using fpTeX 0.4:
This is pdfTeX, Version 3.14159-14h-pretest-20010210 (Web2c

Thanks,  Jody

More information about the pdftex mailing list