|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Debugging errors from Adobe Reader.I created the attached PDF with iTextSharp 4.0.8. An absent
colleague wrote the code. (Yes, most of the text is deliberately supposed to be
obfuscated.) I can open the PDF without problems in Adobe Reader 8.1.2 on
Windows Vista, and it looks fine to me. After I print it, however, Reader pops
up a dialog saying: An error exists on this page. Acrobat may not display
the page correctly. Please contact the person who created the PDF
document to correct the problem. Is there a general way to debug such problems? Is there some
logging that can be turned on in Reader? Is there some other tool that will
validate the PDF? Windows, Linux, or Mac, I don’t care. I’ve looked at this PDF with PDFtk, PDF-Analyzer, and
the free version of CABAReT Stage. PDFtk and PDF-Analyzer both say there are
errors but I cannot convince them to be more specific. Cabaret Stage is
perfectly happy. I tried the iText toolbox, but I get: Select an Option Import Frames discarding current configuration? Yes/No/Cancel And a status message saying Start reading out.xml If I click Yes, I get a FileNotFoundException for out.xml I’d love to hear a general technique for
troubleshooting such issues, but I’ll happily settle for a specific
answer about what’s wrong with this PDF. Give a man a fish and you feed him for a day. Teach him how
to fish and he’ll spend all weekend in a boat drinking beer. -- /George V. Reilly • Cozi •
Software Developer • p: 206 957
8447 x15 GeorgeR@...
• www.cozi.com •
blogs.cozi.com/tech ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar |
|
|
Re: Debugging errors from Adobe Reader.On May 15, 2008, at 7:36 PM, George Reilly wrote:
> I created the attached PDF with iTextSharp 4.0.8. An absent > colleague wrote the code. (Yes, most of the text is deliberately > supposed to be obfuscated.) > > > Something must have happened to it after the fact, because the PDF is quite invalid! Acrobat immediately reports that it is damaged and repairs it - leading to it asking you to save when you close it. I also ran Acrobat's PDF Syntax verifier on the fixed document and it reports HUGE problems with the content stream of the document. > Is there a general way to debug such problems? Is there some > logging that can be turned on in Reader? Is there some other tool > that will validate the PDF? Windows, Linux, or Mac, I don’t care. > > > I use Acrobat Professional's Preflight tool... Leonard ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar |
|
|
Re: Debugging errors from Adobe Reader.George Reilly wrote:
> I tried the iText toolbox, but I get: That's the old toolbox, please use RUPS: http://www.1t3xt.com/jnlp/toolbox.jnlp Apparently the file opens correctly in RUPS, but that doesn't mean there's no error in it. If you know the PDF spec, you can read the internal syntax to debug the file (but that's difficult). br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar |
|
|
Re: Debugging errors from Adobe Reader.The only entry on the File menu is Close and I haven't been able to coerce the app into opening files.
-- /George V. Reilly * Cozi * Software Developer * p: 206 957 8447 x15 GeorgeR@... * www.cozi.com * blogs.cozi.com/tech -----Original Message----- From: itext-questions-bounces@... [mailto:itext-questions-bounces@...] On Behalf Of Bruno Lowagie Sent: Friday, May 16, 2008 2:35 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Debugging errors from Adobe Reader. George Reilly wrote: > I tried the iText toolbox, but I get: That's the old toolbox, please use RUPS: http://www.1t3xt.com/jnlp/toolbox.jnlp Apparently the file opens correctly in RUPS, but that doesn't mean there's no error in it. If you know the PDF spec, you can read the internal syntax to debug the file (but that's difficult). br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar |
|
|
Re: Debugging errors from Adobe Reader.George Reilly wrote:
> The only entry on the File menu is Close and I haven't been able to coerce the app into opening files. The previous answer was wrong. http://www.1t3xt.com/jnlp/toolbox.jnlp is the URL for the toolbox and you can open different tools in the Tools menu. The advice was to use RUPS and the url for RUPS is: http://www.1t3xt.com/jnlp/rups.jnlp I've looked at your PDF file and it's too big for me to debug. I can open it in RUPS, but I don't have the time to go over the complete syntax to find the error, so you're probably better off waiting for your colleague to debug his app based on the code he wrote; not based on the faulty result. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar |
| Free Forum Powered by Nabble | Forum Help |