Editable forms on tablet, browser and mobile

Displaying and Resaving your Acrobat Forms Data Format and Acrobat LiveCycle Forms

Download Trial Request a quote

Converting PDF Forms to HTML5 from Command Line

You can run JPDFForms directly from command line which is useful for running the converter from another language or script. This guide is aimed at developers with knowledge of Java. If you do not know Java, we recommend using the online converter.

Prerequisites:

  • You must download jpdfforms.jar
  • Please ensure that Java is installed
  • Run from the same location as the jar or provide an absolute path

Quick Start:

java -Xmx512M -jar jpdfforms.jar /inputDirectory/ /outputDirectory/

You may want provide more memory by increasing the Xmx value.

How are the settings controlled?

When running from command line, settings are controlled by passing in system properties. Available settings and their values can be found in the Javadocs. The values are the same as those used for general PDF to HTML5 conversion. The key classes are:

java -Dorg.jpedal.pdf2html.compressImages=true -jar jpdfforms.jar /inputDirectory/ /outputDirectory/

Encrypted Files:

We now have our own functionality to decrypt encrypted pdfs but if you wanted to specify a certain Provider then you can still do so using -Dorg.jpedal.securityprovider. Remember to add the security provider to the classpath if needed e.g.

IDRSolutions Limited 1999-2016