Convert HTTP link to PDF and set PDF password

With the assistance of VeryPDF HTML Converter Command Line, you can convert HTTP link to PDF and set PDF password via command line in only two steps. This command line application can help you quickly convert web file, URL, HTTP link to PDF and image files such as TIFF, PCX, and PNG. When you convert HTTP link to PDF, you can also use it to set PDF properties such as PDF password, PDF author and PDF title. This article will show introduce how to convert HTTP link to PDF and set PDF password.

1. If you don’t have this application, please click VeryPDF HTML Converter Command Line to download it and install it on your computer. If you have one, please skip to the next step and start with opening the command prompt interface directly.

2. To open the command prompt interface in Windows XP, you should do one of the following.

  • 2.1. Click Start, >click Run, > type “cmd”, >and click OK.
  • 2.2. Click Start, and then click Command Prompt.

To open the command prompt interface , then you can type a command line

3. Type a command line

The following are a basic usage of VeryPDF HTML Converter Command Line and some options:

  • Usage:
    • htmltools [options] [options]< HTTP link > [<PDF file>]
  • two options to set passwords:
    • -openpwd <string> : Set 'open password' to PDF file
    • -ownerpwd <string> : Set 'owner password' to PDF file
  • the option to set key length:
    • -keylen <int> : Key length (40 or 128 bit)
        • -keylen 0 : 40 bit RC4 encryption (Acrobat 3 or higher)
        • -keylen 1 : 128 bit RC4 encryption (Acrobat 5 or higher)
        • -keylen 2 : 128 bit RC4 encryption (Acrobat 6 or higher)

Supposing you are going to create an owner password protected PDF file from the HTTP link to the web page of Google, you can type a command line as follows:

d:\htmltools\htmltools.exe -ownerpwd "100" -keylen 2 http://www.google.com c:\out.pdf

  • d:\htmltools\htmltools.exe is the directory of the executable file.
  • -ownerpwd "100" specify “100” as the PDF owner password.
  • -keylen 2 sets the key length to be 128 bit RC4 encryption. The option –keylen <int> must appear with any option for password setting.
  • http://www.google.com is the HTTP link.
  • c:\out.pdf is the directory of the output file.

To covert HPPT links and set PDF password in batch, you follow the steps below:

  • 1. Create a text.
  • 2. Type the command lines as the former example in the text.
  • 3. Close the text and change the file extension from .txt to .bat.
  • 4. When you double click the icon of the BAT file, the computer will begin to convert all the HTTP links to PDF and set PDF passwords in batch.

VeryPDF HTML Converter Command Line is a very easy to use application. If you need to convert web pages, URL, HTTP links to PDF files or image files every day, you are going to need this HTML converter. Please click Purchase, if you want to buy it.

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!