Convert documents of HTML to PDF and set PDF subject by command line

For perfectly converting the document of html to pdf and set pdf subject by command line, a suitable application is necessary. You’d better choose the one which supports to convert any printable documents to various image formats. The command line application of Document Converter is such a kind of application that enables users to convert documents to images.

Some information about this command line application will be shown here. It can be used to set different parameters for the target file in conversion process. It is also a good helper to those who often develop software because the application can be embedded or redistributed in the developed applications for realizing the function of converting printable documents to images.

The free download URL of the application is and you need to install it on your computer. Then you will be able to see the executable file named as doc2pdf.exe in installation package and the file is the called program in the conversion from html to pdf.

Please buy the command line application of Document Converter at if you want to use all the functions of it freely.

In the conversion from html to pdf, the first step is to open MS-DOS prompt window which is the conversion platform for inputting the command line. You can click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button. The other way to open “Run” dialog box is to use the combination “Window”+ “R” on the keyboard.

Then please input the command line. The command line is made up of called program, parameter for setting pdf subject, source file and target file. You just need to see the following command line example as reference:

doc2pdf –j “subject” –i “” –o C:\output.pdf

In the command line above,

doc2pdf indicates the called program.

–j “subject” is for setting pdf subject as “subject”.

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

–o C:\output.pdf  is the path of target file that you want to get.

The options “-i” and “-o” before input and output documents are the necessary parts and you should not lose them in the command line.

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

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!