Convert documents of HTML to JPG by command line

It will be easier if you use the command line application of Document Converter to convert the document of html to jpg format image because this command line application is able to convert any printable documents to many types of image formats. In this article, you will see the ways to make the conversion with the help of the command line application.

It will be an easy-to-accept way to convert the the document of html to jpg. Please download the command line application at and you should set up it on your computer. The called program you should use in this conversion is the the executable file doc2pdf.exe in installation package. It is only a free trial version and if you want to use all the functions without any limitations, please buy the product at

You should open MS-DOS prompt window because the command line application is a MS-DOS oriented application and you just need to input the command line into MS-DOS prompt window. 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 please click “OK” button.

Then you need to input the command line into it. The command line is a combination of called program, source file and target file. The called program is the executable file doc2pdf.exe mentioned in above contents, the source file is the html document that you want to convert and the target file is the jpg format image that you need to get. For better understanding the command line, please see the following example:

doc2pdf –i “” –o D:\A.jpg

In the command line, doc2pdf stands for the called program, –i “” is the URL of html document and –o D:\A.jpg stands for the name of target file. The options “-i” and “-o” mean input and output. Please remember to use the paths of the file in the command line.

Then you need to hit “Enter” button on the keyboard to run the conversion from html to jpg and the target file will come out in the specified location later.

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!