Convert documents of HTML to BMP by command line

When you see some useful or interesting information in some html document, you may want to save them as some kind of image format, such as BMP image format. So you need to choose a suitable application to make the conversion from the document of html to bmp for you. The command line application of Document Converter is able to do this kind of work and you will see how it works in the following contents.

The command line application has the ability to convert any printable documents to image formats and you can use the command line application to set parameters for the target file with different commands. If you are a software developer, you can also use the command line application to develop you own applications basing on Document Converter to implement the function of converting documents to image formats.

Please download the command line application at When installing it on your computer, you will find there are several executable files and components in the installation package. The file you need to use is the executable file doc2pdf.exe which is the called program file in the conversion form html to bmp. The following contents are the specific steps:

The first step—Open MS-DOS interface.

You should open MS-DOS interface for inputting the command line in it. Please click “Start”—“Run” to open “Run” dialog box. Then please input “cmd” or “CMD” in “Open” combo box of the dialog box and click “OK” button. You can also press “Window”+ “R” to open “Run” dialog box.

The second step—Input the command line.

This is the most important step in the conversion of html to bmp. The command line you should input into MS-DOS interface is consisted of called program—doc2pdf.exe, source file—input html document and target file—output BMP image. You can see the following command line example.

doc2pdf –i “” –o C:\output.bmp

In the command line

  • doc2pdf is the called program and you should use the file path of it when you write your own commands.
  • –i “ for the link of some html document. If you want to convert the location html to bmp image, you should change the link as the path of the document.
  • –o C:\output.bmp is the name of target file.

The last step—Run the conversion

You can run the conversion from html to bmp by clicking “Enter” button. If you want to check your target file when the conversion is over, just open the specified location and browse the output image with some kind of image viewer installed on your computer.

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!