Topic Options
#55672 - 02/06/18 01:40 AM Blank PDf Validation
Anwar Hussain Offline
OL Toddler

Registered: 12/02/17
Posts: 37
Loc: OH
Guys, I am using Digital Action (Planet Press Watch 7.x) to generate PDFs. Sometimes BLANK PDFs are generated due to insufficient data coming in. How can validate the BLANK PDFs and send the BLANK and GOOD PDFs to a separate folders ? Please help.

Top
#55674 - 02/06/18 08:45 AM Re: Blank PDf Validation [Re: Anwar Hussain]
MartinS Offline
OL Guru

Registered: 08/06/12
Posts: 106
Loc: Munich
Easiest way may be to extract some text from the PDF page from a certain region where missing text indicates a blank page. This could be done by taking the pdf as a new data file (Change Emulation to PDF) and then using a data selection to extract text in a Text Condition plugin to check for an empty string.

Top