Two things I think.
First of all, there are probably safer ways than "print as image", Acrobat Preflight and callas pdfToolbox give you a built-in fixup to convert certain or all pages in a PDF to an image, while it remains a PDF file ("Convert page content into image").
The second tip would...
The problem often is the diversity of problems :) and you can really only fix that by looking at them one by one and seeing what the possible fixes are. Some thoughts:
Random page sizes can be detected automatically, but not necessarily fixed automatically as it depends on how you want to deal...
One other trick is that the preflight panel supports multiple libraries. You can find them at the top of the preflight profile window. You can click that window and make a new - empty library.
Using "Manage libraries" (same menu), you can then copy only the profiles, checks or fixups you are...
In that case create a preflight check with the condition mentioned by @CruzinCooler: "Layers > Will display when document is opened > is not true". This will give you a preflight error if there are any hidden layers in the file.
Old question but still...
Some PDF applications (like pdfToolbox) are capable of detecting whether there are objects in a certain region of a page and doing conditional processing based on that. If I understand the question correctly, this would mean that something like:
1) See if the right...
That is correct, the callas technology (as in Acrobat Preflight or pdfToolbox) allows you to create a preflight check as you described and it will fire if there are layer that are set to invisible.
This is the other solution, but as it's a fixup it will of course modify the document. The exact...