The most effective way to convertand is to download a professional converter to help you solve this problem. There are some standalone document converters which do not require Adobe products such as VeryPDF HTML to PDF converter. A document converter like VeryPDF HTML to PDF converter can usually create PDF files from HTML files, maintaining the original layout, color, text, multi-columns. A friend recommended the version of VeryPDF HTML to PDF converter three months ago. I find one of the advantages of this application is that it can convert a whole HTML to a sing-page PDF file. In addition, the command line version of VeryPDF HTML to PDF converter enables users to convert HTML to PDF and set options via a single command line.
If you want to download this command line application, please click VeryPDF HTML to PDF converter Command Line. The rest part of this article will show the two steps which I would take to convert HTML to PDF and via command line with this application.
Step1. Open the command prompt window
To open the command prompt window will requires four steps: Click Start, > click Run,> type cmd, > click OK
Step 2. Type a command line and press Enter
Different command applications have different basic usages. The following is the basic usage of VeryPDF HTML to PDF converter Command Line: htmltools [options] <EMF-WMF-HTML-URL-RTF-file> [<PDF-PS-Image-file>]. Because you want to edit PDF author, so the option should be -author <string>, which can be used to set 'author' to PDF file. The following is a command line example, which can be used to convert HTML to PDF and edit PDF author:
D:\htmltools\htmltools.exe -author "" c:\in.html d:\out.pdf
- D:\htmltools\htmltools.exe is the directory of the command line application htmltools.exe. It is stored in the folder named htmltools by default. Here the folder is on disk D.
- -author " " is the option that can be used to edit PDF author. Here, html2pdf is specified as the author of the PDF.
- c:\in.html is the directory of the input HTML file.
- d:\out.pdf is the directory of the output PDF file.
You can replace the directories and character string in the example. After you type your command line, please press Enter. When you see result=OK in the command prompt window, that means the conversion is finished.
If you don’t need to convert HTML to PDF and edit PDF author very often, you can just use the free trial version of VeryPDF HTML to PDF converter Command Line; However, if you need to convert HTML to PDF and set options very often, you are going to need a good document converter such as VeryPDF HTML to PDF converter Command Line. To buy VeryPDF HTML to PDF converter Command Line, please click Purchase. VeryPDF HTML to PDF converter also has a GUI version, if you are interested in it, please click here.