Is there a way to find a corrupt page in a PDF using Adobe Acrobat Pro?
Everyday I am sent two or three PDF documents with over 3000 pages and I am told that at least one of those pages is corrupt which therefore means that the document will not print. The only way I know to find the page number of this page is to print the document through the Adobe PDF Printer and wait until it fails, then look at the page number it failed on, go to that page and remove it.
What I want to know is, is there a better way of automating this process. The corrupt page is always to do with an image that is on that page. Is there anyway to use preflight to find the corrupt page/s.
My next question is, if there is a way of automating this, or not, is there any code (preferably C#) that would allow me to integrate this process into a bit of software so that I can remove the page using my program and replace it with a different one.
The only other fix I can think of is if there is some way of accessing some kind of printing log. Therefore, still using the Adobe PDF Printer, somehow starting that process up using c# and then accessing the log files while its running. That way what ever page number the printing bombs out on, I can record that and use it.
Any help at all would be appreciated as I have found no way round this online anywhere
