Convert URL to PDF and protect PDF

Usually, you can use two types of passwords to protect PDF file when you convert URL to PDF: owner passwords which can be used to prevent the contents of PDF files from being printed, extracted, copied, and modified, and open passwords which prevents the PDF files from being opened and read.

VeryPDF HTML Converter Command Line can help you set owner passwords and open passwords via command line when you convert URL to PDF. In addition, VeryPDF HTML Converter Command Line supports URL, which means you can type a website address in the command line without visiting the website and saving the web page on your computer first. Moreover, VeryPDF HTML Converter Command Line provides options to set key length and encryption to help you protect PDF.

With the help of VeryPDF HTML Converter Command Line, you can quickly and easily convert URL to PDF and protect PDF in only two steps. To download this application, please click VeryPDF HTML Converter Command Line. After you install this application on your computer, please follow the steps below to try to solve your problem.

1. Open the command prompt interface

To open the command prompt interface, please do as follows:

    1. click Start on the left side of the task bar
    2. select Run from the Start menu to open the Run dialog box
    3. type “cmd” in the Run dialog box.
    4. press OK.

clip_image002

2. Type a command line

When the command prompt interface pops out, you can type a command line in it, depending on the following basic usage of VeryPDF HTML Converter Command Line: htmltools [options] < URL > [<PDF file>]. With regarding to options, the following are some related options that can help you protect PDF.

    1. -openpwd <string> : Set 'open password' to PDF file
    2. -ownerpwd <string> : Set 'owner password' to PDF file
    3. keylen <int> : Key length (40 or 128 bit)
      1. -keylen 0: 40 bit RC4 encryption (Acrobat 3 or higher)
      2. -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
      3. -keylen 2: 128 bit RC4 encryption (Acrobat 6 or higher)
    4. -encryption <int> : Restrictions
      1. -encryption 0: Encrypt the file only
      2. -encryption 3900: Deny anything
      3. -encryption 4: Deny printing
      4. -encryption 8: Deny modification of contents
      5. -encryption 16: Deny copying of contents
      6. -encryption 32: No commenting

For example, the following command line can be used to generate an open password protected PDF file from the homepage of VeryPDF. The open password is set to be “fly”, and the key length is set to be 238 bit.

d:\htmltools\htmltools.exe -openpwd "fly” -keylen 2 www.verypdf.com c:\out.pdf

For another example, if you don’t want others to add any comment, you can set an owner password as follows:

d:\htmltools\htmltools.exe -ownerpwd "fly” -keylen 2 -encryption 32 www.verypdf.com c:\out.pdf

After you type a command line, please click Enter. You can try the free trial version of VeryPDF HTML Converter Command Line for multiple times. If you want to get the full version of VeryPDF HTML Converter Command Line, please click full version.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!