Convert documents of HTML to PDF and combine PDF by command line

If there are too many PDF document on your computer, it may be not easy to browse, save, transfer, etc. So to combine pdf documents together will be a good choice when you print the document of html to pdf. The application you should use is the command line application of Document Converter.

Document Converter is a professional document converter which is able to convert any printable documents to various image formats and you can use any one of its internal applications to meet your different purposes. For example, you can use the command line application to develop software if you are a software developer. It also allows you to set parameters for the target file. With the help of GUI application, you can convert documents to images in a friendly and clear user interface. The virtual printer application enables you to scale page size and combine several pages on one single sheet to save paper and ink.

For using the command line application, you can experience it by downloading a free trial version at Then you should install it on your computer. The executable file doc2pdf.exe in installation package is the called program in the conversion from html to pdf. To buy the application for using all the functions, you can click the following link:

The first step of the conversion is to open the conversion platform—MS- DOS interface for inputting the command line. You can use one of the following ways to open it. One way is to click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” in “Open” combo box of “Run” dialog box. Then please click “OK” button. The other way is to use the hot key “Window”+ “R” to open “Run” dialog box.

The second way is to input the command line in MS-DOS interface. There are four necessary elements in the command line: called program, parameter for combining pdf, source file and target file. Just see the following command line example:

doc2pdf –p 1 –i “” –o D:\out-file.pdf

doc2pdf means the called program and you need to use its path when calling it in the command line.

–p 1 is the parameter for combining pdf document. It means to insert output document before first page if PDF file exists. You can also change the number as “2” which means to append output document to last page if PDF file exists.

–i “ for the link of the html document that you want to convert.

–o D:\out-file.pdf stands for the name of output file.

The last step is to click “Enter” button to run the conversion from html to pdf document.

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!