Home Contact Us

Qoppa Software - PDF Tools & Libraries

Home / Contact Us

jPDFSecureCLI™ Documentation

Introduction

jPDFSecureCLI is a command-line utility that can change security settings on PDF Documents. With jPDFSecureCLI, you can encrypt and decrypt PDF documents as well as set permissions on the documents. jPDFPrintCLI is built on top of Qoppa Software's proprietary PDF technology so there is no need for any third party software or drivers. The utility uses the jPDFSecure Java library, so it can be used in any environment that supports Java, including Windows, MacOSX and Linux. A JVM is included (optional) with the installation.

Usage

After installing jPDFSecureCLI, you will have an executable file in your installation folder. Running the jPDFSecureCLI executable with no arguments will display the usage.

Usage: jPDFSecureCLI [options...] [files...]
     
Options:    
-dir <dir> Directory for output file(s)
-overwrite Do not prompt before overwriting output files
-silent Do not print progress information to the console and do not prompt to continue on error
-security <value> Valid values are: set, clear
Use 'set' with setopenpwd and setpermpwd and permission options. Use 'clear' with curropenpwd and currpermpwd to remove all security. Default is 'set'
-setopenpwd <pwd> Set the document's open password
-setpermpwd <pwd> Set the document's permissions password
-curropenpwd <pwd> Password to open the PDF file, use if the document is already encrypted
-currpermpwd <pwd> Current permissions password to modify the permissions
   
Permissions: No permissions will be granted unless explicitly given
-ap Allow printing of the document
-aphr Allow printing of the document at high resolution
-am Allow modification of the document
-aa Allow document assembly
-aec Allow extraction of content
-aeca Allow extraction of content for accessibility
-ama Allow modification of annotations
-aff Allow filling of form fields
-all Allow all permissions
   
-key <key> License key to run in production mode

Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.