The command line application of Document Converter supports to convert any printable documents to various image formats and set different parameters for the target file. For example, if you want to convert the document ofand also want to protect the contents in created PDF document, you may want to set pdf password to make the contents not be modified, printed, copied, etc. freely.
The command line application can be downloaded at http://www.verypdf.com/artprint/docprint_pro_setup.exefor free trial and you just need to install it on the disk of your computer to make the executable file doc2pdf.exe available instantly. The executable file doc2pdf.exe is the called program in the conversion from .
If you want to use all the functions of the command line application without any limitations, please buy it at http://www.verypdf.com/order_docprintpro.html.
The conversion fromand set pdf password for the created PDF document is made up of three steps—Opening MS-DOS interface, inputting command line and running the conversion. To see the specific steps, please see the following contents.
The first step—opening MS-DOS interface
There are two ways to open MS-DOS interface. The first one is to press “Window”+ “R” on the keyboard to open “Run” dialog box. Then please input “cmd” in “Open” combo box and click “OK” button. The second way is to click “Start”—“Run” to open “Run” dialog box.
The second step—inputting the command line
The command line is consisted of called program, parameter for setting pdf password, including open password or owner password, key length, encryption standard, source file and target file. These parameters consist the following command line example:
doc2pdf -s openpwd=123 -s ownerpwd=456 -s keylen=0 -s permission=3900 -i C:\test.doc -o C:\out.pdf
doc2pdf stands for the called program.
-s openpwd=123 is for setting pdf open password as “123”.
-s ownerpwd=456 is for setting pdf ower password as “456”.
-s keylen=0 is for specifying the key length as 40 bit RC4 encryption.
-s permission=3900 is for protecting the pdf contents from being done anything.
-i C:\test.doc is the path of source file.
-o C:\out.pdf is the name of target file.
Please use the paths of each file when you input the command line.
The last step—running the conversion
Please click “Enter” button on the keyboard to run the conversion from txt to pdf. If you have other questions about the command line application, welcome to leave a message and we will give you a satisfying answer.