The PDFreactor license key has to be set in your PDFreactor integration. Just copy the contents of the license key file (“licensekey.txt”) and set it on the configuration object as a string like this:


Java

config.setLicenseKey("<license>...</license >");


PHP

$config["licenseKey"] = "<license>...</license>";


.NET

config.licenseKey = "<license>...</license>";


JavaScript/Node.js

config.licenseKey = "<license>...</license>";


Python

config["licenseKey"] = "<license>...</license>"


Ruby

config["licenseKey"] = "<license>...</license>"


Perl

$config->{"licenseKey"} = "<license>...</license>";


Integrators that use the PDFreactor Web Service with one of the appropriate APIs can also just copy the licensekey.txt file to the “PDFreactor/jetty/lib/ext” directory where it will be used automatically by PDFreactor. In this case, make sure that the license key file is named "licensekey.txt".


If your are using the new PDFreactor command line (PDFreactor/bin/pdfreactor.py or PDFreactor/bin/pdfreactor.exe) you can also set the license key as described for the PDFreactor Web Service above. Alternatively you can set the license key as string using the following command line option


Command Line

--licenseKey "<license>...</license>"


If you are using the old command line (java -jar pdfreactor.jar) or the PDFreactor Preview application just copy the license key file to the same directory as the JAR file (PDFreactor/lib).