There are two options for generating a preflight report.
The preflight PDF report will display preflight warnings and errors are annotations over the relevant objects.
The job is in fact the preflight report.
For example:
THe XML report is a data file that you can parse programmatically.
For example, you can submit it to a hot folder that invokes a script to pull information from the XML into a CSV file that is then used to compose a customized preflight report.
I am wondering if there is a conditional that I could use to split the Preflight Report and the pages from the pdf file.
Why would it duplicate the pdf pages?
I don't want the first option, and I am not understanding what your second option would look like.
I would think there are two options.
The simple option:
If you do not want the document pages then you can simply remove them from the document (Delete Pages 2 - --1).
The better but slightly more complex option:
Use the XML preflight report.
Pull whatever information you want from the XML and add it to a manifest that's submitted to FFCore.
Submit the manifest and point to a blank PDF you have somewhere.
Add the preflight information via watermarks.
In order to indicate the trim size of a pdf on the preflight report, I added the variable, $FFwfJob.preflightReportUri$ to the File section of the "Insert" node. Then I added a Watermark Node and added the variable, $FFwfDoc.trimWidth$ X $FFwfDoc.trimHeight$ to the text area. This works very good, but it duplicates the pdf file pages. I don't want it to do this. Any way I can stop this?