I remember using a utility called XPDF (
http://en.wikipedia.org/wiki/Xpdf ) which could disassemble a PDF file and extract its various text parts. There are patches which bypass DRM protection. We used to use this utility to take published .PDF files from Intel and discover "undocumented" features hidden within their published documents in the DRM sections.
You could post-process with this utility and if it could read the file correctly there would be no error in the error log.
>Hi
>I am using XFRX to create PDF's and then email them
>Very intermittently, unreadble PDF's are being created, but if I try again subsequently, with same documents etc , it creates the PDF fine.
>If there was a utility available to 'Check' if a Pdf could be opened, I could wrap this in a loop, and perhaps the second time it might be ok....maybe its a timimg thing or something else going on in the environment.
>
>Anybody know of a simple PdfChecker whcih would just return a True or false. I donmt want to waste time 'actually' opening the Pdf
>My Loop would read
>Do while i lt 5
> Create Pdf
> If Valid(MyPdf)
> Exit
> Endif
> If reached Here
> Wait window 'Still an error afert 5 attempts'
>Enddo
>
>Many thanks in advance
>Regards,
>Gerard