When calling PdfReader(String filename) I get java.io.IOException: trailer not found. at com.lowagie.text.pdf.PdfReader.rebuildXref
so I suspected (from other posts here) that the PDF to be read had some error. I was able to read the source PDF with Acrobat 8.1.3, so perhaps Acrobat has some "forgiveness" built in, allowing it to render a PDF in some cases even though it has errors. Anyway, I used Acrobat to "optimize" the PDF, using default parameters. This optimized PDF could be read by PdfReader with no problem. I can not supply the PDF because it contains confidential information supplied to us, but I'm wondering if anyone has any suggestions in how to pinpoint just what the error is so this can be communicated to those providing the PDF. Acrobat indicates (in "Properties...") the following: PDF Producer: Acrobat 9.0.0 PDF Version: 1.6 (Acrobat 7.x) I am hoping someone may have suggestions as to how to locate/pinpoint the specific error which caused the problem with the original PDF. I am not a PDF specialist at all, having only used iText to provide a couple of custom solutions needed where I work. Thank you ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php