Convert documents of HTML to PDF and set PDF title by command line

By using the command line application of Document Converter, the conversion from the document of html to pdf and set pdf title become easier. You just need to download the command line application to your computer, install it, open MS-DOS interface, input the command line in the interface and run the conversion.

You should know something about the application you are going to use. The command line application of Document Converter can convert any printable documents to various image formats. If you are a software developer, you can also use it to develop software.

Document Converter is a combination of three applications, including command line application, GUI application and virtual printer application. With the GUI application, you can make the conversion more easily because it has a friendly and clear user interface. With the virtual printer application, you can save paper and ink.

Please download the command line application at and install it on your computer. Then you will see the executable file doc2pdf.exe in installation folder. It is the called program in the conversion from html to pdf.

Please open MS-DOS interface then. You should click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button. Then MS-DOS interface will appear on the screen.

Then please input the command line in MS-DOS interface. The command line contains called program, parameter for setting pdf title, source file and target file. If you don’t understand, please see the following command line sample:

doc2pdf –t “article” –i “” –o C:\test.pdf

In the command line,

doc2pdf stands for the called program.

–t “article” stands for the parameter for setting pdf title as “article”.

–i “”  is the link of input html document.

–o C:\test.pdf is the name of target file.

NOTE: You should use the paths of the file called in the command line.

At last, please run the conversion from html to pdf by clicking “Enter” button. You will see your target file several seconds later. If you need to buy the command line application of Document Converter, please click the following purchasing webpage:

For knowing more information about Document Converter, you can enter its homepage just by clicking here.

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!