PDF Editing with Perceptive Content & PDFtk Server
Leveraging open source PDFtk Server software is a great way to enhance your current Perceptive Content process by adding functionality to automatically fill out PDF forms. If you have a large number of PDF forms to fill out using predefined data that can be pulled from a database, csv file, or any other source accessible through iScript, you can save a great deal of time with PDFtk instead of resorting to manual data entry.
PDFtk Server is a tool that can be used to fill out a PDF form with an FAF file containing all of the necessary form fields and values requiring an update. With a simple iScript, you can create the FAF file using data pulled from a database, csv file, or another source. Once the FAF file is created, the iScript can run the necessary PDFtk commands required to pair the newly generated FAF file with the PDF Form. The result is a new PDF document containing all of the information defined in the FAF file created through the iScript process.
We’ve put together a proof of concept to display the PDFtk Server functionality. In the video, Geoff Lilienfeld demonstrates the simplicity of combining the FAF file with the original PDF form to create our filled out PDF form output. The FAF file mentioned is where we can define every form field specific to our desired PDF form and enter any value that we want to update the field to. When it comes to PDF forms, the possibilities are endless.
Although the focus of this post has been filling out forms, PDFtk Server can also merge PDFs, split PDFs, rotate PDF pages, flatten forms, apply watermarks, and a number of other things. The great news is that all of this functionality can be accessed through the command line, so all of the functionality can be leveraged through an iScript.
If any of the above is of any interest to your organization, please feel free to reach out to us. We would be more than happy to assist!
Imaging Strategy & Technical Services