Convert HTML to PDF and edit PDF keywords

When I need to convert web pages like HTML to PDF and define PDF properties such as PDF keywords, I always use VeryPDF HTML Converter Command Line. VeryPDF HTML Converter Command Line can help me perfectly and accurately preserve the original layout, color, text, images, graphics, multiple columns, hyperlinks, etc. from HTML To PDF. It can also help me merge, append or combine newly generated PDF with new PDF documents. With the assistance of VeryPDF HTML Converter Command Line, I can easily convert HTML to PDF and edit PDF keywords with a single command line.

If you want to have a try, please click VeryPDF HTML Converter Command Line to download it and to feel how well and how quickly it can help you solve your problem. The following are two steps that are required to convert HTML to PDF and edit PDF keywords.

1. Run the Windows Command Prompt

You can run the Windows Command Prompt as follows: click Start, > click Run to open the Run dialog box, > type cmd in the Run dialog box, > click OK. The following may illustrate it more clearly.

Run the Windows Command Prompt

2. Type a command line in the command prompt window, and press Enter

When you type a command line in the command prompt window, please refer to the following basic usage of this command line application: htmltools [-keywords <string>] <HTML file> [<PDF file>]. The following is an example which can be used to convert a HTML file named “in” to PDF and specify “white” as the PDF keyword:

D:\htmltools\htmltools.exe -keywords "white" c:\in.html d:\out.pdf

  • D:\htmltools\htmltools.exe is the directory of the executable file. The executable file is always placed in the folder htmltools by default. In this example, this folder is on disk D.
  • -keywords "white" is the option that can be used to edit PDF keywords. In this example, white is specified as the PDF keyword.
  • c:\in.html represents the input HTML file which is on disk C.
  • d:\out.pdf represents the output PDF file which is on disk D.

You can change all the directories and the character string after -keywords in the example. After you type a proper command line, please press Enter on the keyboard. Then you can view the processing information in the command prompt window as illustrated as follows. When you see “result =OK” in the command prompt window, that means the conversion is completed.

Type a command line

The following is the comparison between the original HTML file (left) and the output PDF file(right). As you can see, all the images, color, text and layout are well maintained from HTML to PDF.

 comparison between the original HTML file (left) and the output PDF file(right)

If you want to buy VeryPDF HTML Converter Command Line , please click Purchase.

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!