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

In this article, you will see how to convert the document of webpage to pdf and combine pdf documents to a single one in details with the help of the command line application of Document Converter. Only three steps will be enough and you just need to input some easy commands into the conversion platform—MS-DOS interface.

Document Converter is a professional document converter which can convert any printable documents to image formats and it contains three kinds internal applications—command line application which is a good helper to software developer when they develop software basing on Document Converter, GUI application which is good at batch conversion due to its friendly user interface and virtual printer application which can not act as a Windows printer but also a powerful document converter.

You can download the command line application for free trial via clicking the following link: Then please install it on your computer and you need to use the executable file doc2pdf.exe in installation package as the called program in the conversion from webpage to pdf.

After the trial, if you want to use all the functions of the command line application, please buy it at Then please see the following contents about the conversion.

Step1. Please open MS-DOS interface. You need to click “Start”—“Run” to open “Run” dialog box. In “Open” combo box of “Run” dialog box, please input “cmd” and click “OK” button. If you want to use other way to open “Run” dialog box, you can use the hot key “Window”+ “R” on your keyboard.

Step2. The command line needs to be inputted in MS-DOD interface. You can use the following command line example as your reference:

doc2pdf –p 2 –i “” –o C:\output.pdf

From the example, you can see there are four parts in the command line: called program which is the executable file doc2pdf.exe, parameter for combining pdf document “–p 2” which means to append new created pdf document to last page if pdf file exists, source file which is the link of the webpage document that you want to convert and the target file which is the pdf document you want to get.

Step3. Please click “Enter” button on the keyboard to run the conversion from the document of webpage to pdf and you should find your target file in the specified location that you have set in the command line.

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!