There are at least two kinds of PDF passwords: owner passwords and open passwords. Setting PDF owner passwords prevents PDF files from being printed, edited, changed, or copied by anyone without a user password. Setting open PDF passwords permits those who have PDF open passwords to read PDF files.
When you convert VeryPDF HTML Converter.and , you should try VeryPDF HTML Converter, which was designed to convert . This application provides two versions: the GUI (graphic user interface) version and the CLI ( interface) version. Both are available at the product webpage of
VeryPDF HTML Converter Command Line, the CLI version, can help you convert HTML to PDF andin an extremely quicke way, especially when convert files in batch. This article will take open password as an example to show you how to convert HTML to PDF and via .
1. Download VeryPDF HTML Converter Command Line.
Click VeryPDF HTML Converter Command Line to download this application and install it on your computer.
2. Open the command prompt interface
Running command line is often the quickest way to launch programs or to open folders and files. When you click Start in Windows XP, you will see the Start menu as the illustration below. Then, you should click Run. The Run dialog box will pop out, and please type “cmd” and press OK in the Run dialog box.
The following is the Run dialog box:
3. To type a command line
Depending one basic usage of VeryPDF HTML Converter Command Line as illustrated below,
htmltools [-openpwd<string>][-keylen <int>] <HTML file> [<PDF file>]
the command line you are going to type should like the following example:
d:\htmltools\htmltools.exe -openpwd "123" -keylen 2 c:\in.html d:\out.pdf
- d:\htmltools\htmltools.exe is the directory of the main executable file named htmltools.
- -openpwd "123" is the option that can be used to specify 123 as the open password. To set owner passwords, you can use the option [-ownerpwd<string>][-
- –keylen 2 is the option that sets key length to be 128 bit RC4 encryption (Acrobat 6 or higher). If the number following –keylen is 1, the key length should be 128 bit RC4 encryption (Acrobat 5 or higher).If the number is 0, the key length would be 40 bit RC4 encryption (Acrobat 3 or higher).
- c:\in.html is the path of the input file.
- d:\out.pdf is the path of the output file.
If you want to convert files in batch, you can use the wildcard *. For instance, if you use c:\*.html to replace c:\in.html in the command line, all the HTML files on disk C will be input files. Of course, you should also set the output file directory as d:\*.pdf. After type a proper command line, please press Enter on the keyboard.