You are allowed to convert the document of html to image via command line when you choose the command line application of Document Converter as your helper. This command line application can be used as the tool which is able to convert any printable documents to various image formats.
In addition, the command line application is also a good assistant to software developers for it can be embedded or redistribute in applications which are designed by software developers.
Document Converter also has two other applications: GUI application and virtual printer application. The GUI application can be used to convert documents to images in batch because the application has a friendly and clear interface which is easy to use and master. The virtual printer application can be used to print documents and save paper and ink at the same time.
The free download website of the command line application is http://www.verypdf.com/artprint/docprint_pro_setup.exe and if you need all the functions of it with no limitations, please buy the application at http://www.verypdf.com/order_docprintpro.html which is the purchasing webpage of it.
Three steps are required in the conversion from html to image and we can take JPG format file as the example of out image. Please see the following contents.
1. Please open MS-DOS interface at first. You need to use the hot key “Window”+ “R” combination on the keyboard to open “Run” dialog box. Then you should input “cmd” in “Open” combo box and click “OK” button. To open “Run” dialog box, you can also click “Start” to open start menu and click “Run” in the menu.
2. Then please input the command line in popup MS-DOS interface. The command line is a combination of called program, source file and target file. The called program is the executable file doc2pdf.exe in installation folder of the command line application. The source and target file are surely the input html document and the output image. Please see the following command line example:
doc2pdf –i “www.google.com” –o C:image.jpg
In the command line,
doc2pdf stands for the called program. Please remember to use the path of it when calling the program in MS-DOS interface.
–i “www.google.com” is the link of the html document. You should use the double quotes to enclose the link in the command line.
–o C:image.jpg is the name of target file and you just need to set a suitable location and name for the target file in the command line.
3. Please click “Enter” button on the keyboard to run the conversion from html to image. When the conversion comes to the end, you can use some kind of image viewer to browse the target file to see whether it is perfect or not.