Convert documents of HTML to PDF by command line

If there are some useful or interesting information or news in a html document online and you want to save them as your own files, how to do? To convert the document of html to pdf is a smart choice. But which application you should choose and how to use this application to fulfill the conversion? You will get satisfy answers about these questions in this article.

The application you’d better choose is the command line application of Document Converter which is a professional document converter designed for converting any printable documents to various image formats. All internal applications of Document Converter have this function but they have their advantages respectively.

For example, the command line suites to be used by software developers for developing new applications. The GUI application has a friendly and clear interface and easily to be used. The virtual printer application can save paper and ink by scaling page size and combining several pages on one single sheet. So according to your needs, you can choose any one of them.

The download URL of the command line application is https://www.verypdf.com/artprint/docprint_pro_setup.exe. Please set up this executable file on your computer and in installation package, you will see the file named as doc2pdf.exe. It is the called program file in the conversion from html to pdf.

Then the contents are about how to make the conversion. If you are being puzzled by this kind of problem, please go on reading this article.

At first, please click “Start”—“Run” to open “Run” dialog box. Then input “cmd” in “Open” combo box of the popup “Run” dialog box and click “OK” button. These operations are to open MS-DOS prompt window which is the interface for you to input the command line. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

Then just input the command line. There is a command line example for your reference:

doc2pdf –i “www.google.com” –o D:\OUT.pdf

In the command line,

doc2pdf stands for the called program.

–i “www.google.com”  stands for the URL of input html document.

–o D:\OUT.pdf  stands for the name of target file.

You should not forget the options “-i” and “-o” before the path of source file and target file.

Then please click “Enter” button to run the conversion from html to pdf.

For obtaining more information about the command line application or Document Converter, please enter the homepage of them via 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!