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

It is necessary for you to use the command line application of Document Converter if you want to convert the document of webpage to pdf and set pdf subject because it is powerful enough to convert any printable documents to many types of image formats. You can also use this command line application to set different parameters for the output PDF document.

Document Converter is a software product that dynamically converts MS Office 97/2000/XP/2003/2007, WordPerfect, AutoCAD DWG, PostScript, Adobe Acrobat PDF and many other document types to Adobe Acrobat PDF, PostScript, EPS, XPS, PCL, JPEG, TIFF, PNG, PCX, EMF, WMF, GIF, TGA, PIC, PCD and BMP formats.

Besides the command line application, Document Converter also works in both GUI application and virtual printer application. When you use the GUI application, you will see all the operations are easier because it has a friendly user interface. When you use the virtual printer application, you are able to save paper and ink

For downloading the free trial version of the command line application, please click Then you need to install it on your computer. You will see an executable file named as doc2pdf.exe in installation location of the application and it is the called program in the conversion from webpage to pdf.

To input your command line, you need to open MS-DOS interface at first. You can click “Window”+ “R” on your keyboard at the same time or click “Start”—“Run” to open “Run” dialog box. Then please input “cmd” in “Open” combo box and click “OK” button in “Run” dialog box.

There are four elements in the command line for converting webpage to pdf and setting pdf subject—called program, parameter for setting pdf subject, source file and target file.

Please see the following command line example:

doc2pdf –s “nature” –i “” –o C:\output.pdf

In the example,

  • doc2pdf is the called program.
  • –s “nature” is the parameter for setting pdf subject as “nature”.
  • –i “” is the URL of the input webpage document.
  • –o C:\output.pdf is the name of the target file.

Please hit “Enter” button at last to run the conversion from webpage to pdf. When the conversion is over, you can use some kind of pdf reader to browse the target file.

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!