Skip navigation
Brian@wisl.com
Currently Being Moderated

Determining or Debugging errors in PDFs

Feb 22, 2013 8:01 AM

I am creating PDFs from text files via a perl script. Some of the PDFs open without a problem. Others open and despite displaying fine, a message box appears stating:

An error exists on this page. Acrobate may not display the page correctly. Please

contact the person who created the PDF document to correct the problem.

 

I can click on the OK button and the page is displayed properly.

 

Are there any "debugging" tools out there that can help determine the error in the PDF that I am creating?

 
Replies
  • Currently Being Moderated
    Feb 22, 2013 8:24 AM   in reply to Brian@wisl.com

    Not really. You should probably build up a library of as many different PDF tools as you can as - while none are validators - they may detect errors differently. You could also share the file to see if anyone has an idea.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2013 8:33 AM   in reply to Brian@wisl.com

    You can't do that with the forum. You'd need to upload it somewhere else and share a link (e.g. acrobat.com, your own web site, a file sharing site...)

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2013 2:01 PM   in reply to Brian@wisl.com

    I tried with an ancient version of Acrobat, and got the error "an unexpected token "T" was found". Which is true, lots of them.

     

    I am also very suspicious of the line draw font. Does it really MacExpertEncoding? I think you have stepped outside the recommended ways of accessing a TrueType font. If you doubt this, take a look at your file with Chrome...

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 25, 2013 6:24 AM   in reply to Brian@wisl.com

    My reading of 32000-1 suggests that you are not meeting the requirements by using ANY wrong encoding. This is a symbol font, after all.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 25, 2013 6:41 AM   in reply to Test Screen Name

    I mean, specifically, the discussion in 9.6.6.4. If you don't strictly follow the "guidelines to ensure predictable behaviour", all bets are off...

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 25, 2013 7:02 AM   in reply to Brian@wisl.com

    32000-1 is the PDF specification. That's its ISO number. The text is much the same as the final Adobe revision, but the section numbers have changed.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points