Check PDF files

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
paolop
Posts: 3
Joined: Tue May 10 2005
Location: Italy

Check PDF files

Post by paolop »

Hi All,

does anybody knows if there's a way to validate pdf files produced? I'm interested only in checking programmatically if the pdf file created by PDF Converter is corrupted or not and it could be opened by Acrobat Reader.

Thanks in advance.
Paolo.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

In general PDFs generated by our driver are not corrupted (not to say never corrupted). And the probability of having a pdf file that will not open properly in Acrobat Reader 6 or 7 is low, and even very low.

You can however use Document.Open method of CDIntfEx to open the pdf file after generating it, if the PDF is corrupted, there's a good chance this method will launch an exception.

Hope this helps.
Post Reply