line
[
Encrypt PDF documents and images
[
CopySafe PDF CMD The universal solution for the distribution of copy protected documents and images.

PDF Command Line Converter

CopySafe PDF command line will convert single files or batch convert files by the folder and save the newly encrypted PDFs to another folder. The folders used for the in/out folders can be set by parameters that you pass in the command line.  When running the command line from a command prompt or .bat file you can set the parameters at will. When running from a web site, documents can be uploaded to an incoming folder for batch conversion by setting a Scheduled task. Or they can be converted on the fly by using the upload scripts provided. The online version will upload a file, convert it and save the output folder. If you are using a member login, the UserID can be passed so that new a folder is created within the outgoing folder.

Installation

The set up program will install the command line version of CopySafe PDF Converter, the ArtisBiz DLL and scripts to C:\CopysafePDFCMD. Depending on whether you want run the command line version locally or from your web site online, simply follow the following steps for either operation.

CopySafe PDF command line can be operated from the Command prompt or by running a .bat file. The following parameters are required:

Path to CopysafePDFcmd.exe
/input {PATH} : Path to the input file or folder
/viewer {PATH} : Path to the folder to save all converted files

The following parameters are optional:

/b                               : Enable batch mode (all files in nominated folder)
/enc {PATH}              : Path to folder to create .enc file(s).
/expiry {DATE}          : Set expiry date in quoted string, eg: "10-10-2008"
/key {PASSWORD}    : Set encryption password, eg: "mypassword"
/print                          : Enable print option. Default is not allow.
/show                        : View file location after conversion
/remote                      : To allow remote terminal view. Default is not allow.
/activate                     : To invoke activation dialog screen to enter registration key.
/err {PATH}                : File path to log errors in Non UI process conversion.

If an expiry date is required it must be quoted (in double quotes) in DD-MM-YYYY format. Also all the PATH strings must be passed in double quotes. If the /err {{PATH} is not supplied, then all the errors are logged in Copysafe.err named log file which can be found in the same folder where converter exe is located and running from. There could be one or more lines of error description, it is possible that for batch conversion same error message is logged for each PDF file in batch. For example your command line will look something like:

C: \Documents and Settings\User>C:\ CopysafePDFCMD\CopysafePDFcmd.exe /b /input "C:\ CopysafePDFCMD\in" /viewer "C:\ CopysafePDFCMD\out" /show

The above command will batch convert all PDFs in the “in” folder and save the newly converted PDFs to the “out” folder, then show the location of the files in Windows Explorer. The following command line will convert a single file and set password:

C: \Documents and Settings\User>C:\ CopysafePDFCMD\CopysafePDFcmd.exe /input "C:\ CopysafePDFCMD\in\sample.pdf" /viewer "C:\ CopysafePDFCMD\out" /key "mypassword" /show

File upload limit

Maximum file size needs to be considered in relation to your site users. Are they on an internal network or are they remote users, some which may be using slower Internet connections? If you do a search of your computer you will find that most PDF files are less than 10 Mb. If you need to upload files larger than 10 Mb you will encounter problems because 10 Mb is the limit that you can upload using web page scripts. Also, most Windows servers have a default upload limit of 2 Mb set for uploads via web pages, as well as a script time out setting. Any upload that takes longer will be cancelled if it runs over time.

However as admin you can upload larger files by FTP and then select the file from your DRM Manager as an already uploaded file. Downloaded file size is unlimited.



Return to top
[
Related Links:

PDF About
PDF Changes
PDF Command Line
PDF Converter GUI
PDF Documentation
PDF Downloads
PDF FAQ
PDF Purchase

Products:

ArtistScope CD
ArtistScope DRM
Artis Translate
CopySafe PDF
Copysafe Web
Link Protect
Scroll Image
Secure Image Pro
Zoom Image

Applications:

Correspondence courses
eBooks and catalogues
Financial reports
Graphic art and design
Images and photographs
Plans and drawings

Download:

CopySafe PDF Reader is free for anyone to use to view copy protected PDF documents The converter installer already includes the reader setup.

Requirements:

Windows 2000, XP, 2003 or Vista. Adobe Reader may be required if Asian fonts are used.

Licensing:

A single licence enables you to use the converter on one computer for document conversion indefinitely. There is no limit on how long it can be used or how many documents are converted.

The reader does not require licensing and will forever be free to the public.

Click here to order online


[
[
 
Copyright © 1998-2008 ArtistScope. All Rights Reserved.