Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi Ign3u5,
You may use "Report PDF syntax issues" option under preflight as the following threads discuss:
How to check a pdf file if not corrupt? (Acrobat Reader)
Thanks,
Shivam
Copy link to clipboard
Copied
Please tell us (a) which software you are using to print, including version and (b) exactly what message you get about pages being corrupt. This is not a familiar message to me, but it may be that when I know what message you get I'll go "aha" (quietly).
Copy link to clipboard
Copied
A) Adobe Acrobat Pro DC version 2018.009.20050
B) Insufficient data for an image is the one I get regularly
Proper impressed by the quick reply btw
Copy link to clipboard
Copied
Hi Ign3u5,
You may use "Report PDF syntax issues" option under preflight as the following threads discuss:
How to check a pdf file if not corrupt? (Acrobat Reader)
Thanks,
Shivam
Copy link to clipboard
Copied
The link to "Detecting Corrupt PDF Files" doesn't work. How can I find directions on how to find corrupt pages?
Copy link to clipboard
Copied
Hi there
Hope you are doing well and sorry to hear that
Is this an issue with a particular PDF file or with all the PDFs? Please try with a different PDF file and check. If the file is stored on a shared network/drive please download it to your computer locally and then try again.
What is the version of the OS and the Acrobat DC you are using? To check the version go to Help > About Acrobat and make sure you have the recent version 24.02.20857 installed. Go to Help > Check for updates and reboot the computer once.
Also try to repair the installation from the help menu (Win Only) and see if that works.
~Amal
Copy link to clipboard
Copied
In my case, it's particular files. So I just want a way to search for the page without having to go through every single page in the file. It's not all files.
Copy link to clipboard
Copied
Hi, I have the same issue and it's not picked up when preflighting for syntax. The document fails to print once it reaches a specific page. The only way round I've found so far is to convert it to PDF/X-1a, one of the fix ups in this profile resolves things though I havent narrowed it down to which one yet.
Copy link to clipboard
Copied
When I adobe PDF print, it just fails without telling me what pages. How did you get it to do that?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now