Convert documents of HTML to PDF and set page size by command line

For converting the document of html to pdf, you can choose the command line application of Document Converter to help you. In the conversion process, you can also set page size by inputting some easy commands in MS-DOS interface. If you have never heard of Document Converter, please get some acquaintance to it.

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.

Document Converter works in three internal applications: command line application which is to play the leading role in the conversion from html to pdf, GUI application and virtual printer application. They are all able to convert any printable documents to various image formats and if you wan to learn more information about them, please enter the homepage of Document Converter by clicking here.

Before converting the document of html to pdf, please download the command line application at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. The executable file doc2pdf.exe appear in installation package will be the called program file in the conversion.

  • Open MS-DOS interface

Please open MS-DOS interface by clicking “Start”—“Run” or using the hot key “Window”+ “R” to open “Run” dialog box and inputting “cmd” in “Open” combo box. Then please click “OK” button. Then you will see MS-DOS interface come out on the screen.

  • Input the command line

The command line to be inputted in MS-DOS interface is the combination of called program which is the executable file doc2pdf.exe, parameter for setting page size, source file which is the html document and target file which is the pdf document. The following command line sample is an explanation.

doc2pdf -f 8  -i “www.verypdf.com” –o C:\file.pdf

In the command line, -f 8 is for setting the page size as standard. In the command line, you should use the paths of each file and you should not forget the options “-i” and “-o” before the source file path and target file path.

  • Run the conversion

The last step in the conversion from html to pdf is to run the conversion by clicking “Enter” button on the keyboard and you just need to wait for several seconds until the conversion is over.

If you want to use more functions of the command line application, you can buy it at the purchasing webpage: http://www.verypdf.com/app/document-converter/index.html.

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

This entry was posted in docPrint Pro and tagged , . Bookmark the permalink.

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!