Validating PDFs

Sometimes you need to validate a PDF file. Here are step by step instructions on how to do so. Prerequisites: You need to have Java installed on your machine.

  1. Download preflight-app-2.0.21.jar from https://pdfbox.apache.org/download.cgi
  2. Run it passing the path to your PDF file like so:
$ java -cp preflight-app-2.0.21.jar org.apache.pdfbox.preflight.Validator_A1b test.pdf

References:

This entry was posted in Software and tagged , , . Bookmark the permalink.

Leave a comment