Ryan Olson
Ryan Olson

Reputation: 2826

Adobe Reader Error Codes

I am programmatically creating PDFs, and a recent change to my generator is creating documents that crash both Mac Preview and Adobe Reader on my Mac. Before Adobe Reader crashes, it reports:

There was an error processing a page. There was a problem reading this document (18).

I suspect that that "18" might give me some information on what is wrong with the PDF I've created. Is there a document explaining the meaning of these status codes?

Upvotes: 1

Views: 9691

Answers (2)

Ryan Olson
Ryan Olson

Reputation: 2826

I wasn't able to locate any info on the Adobe error code, so I ended up installing xpdf via Darwinports. Loading my PDF with xpdf spit out much more useful error information and I was able to track down the problem. (I was creating a circular reference in a form when I copied content from one document to another.)

Upvotes: 2

flxkid
flxkid

Reputation: 1461

Hold down the Ctrl key while pressing OK and you should be able to load past this point in the document and possibly get more details.

What tool are you using to create the PDF (Aspose)?

Upvotes: 5

Related Questions