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

The command line application of Document Converter can be used to convert any printable documents to various image formats and it also supports to set parameters for the target file, for example, you can set page size for the output PDF document as different types when you convert the document of webpage to pdf document. This article will show you how to fulfill this task and you just need to download the application to your computer and install it.

The free download link for the trial version of the command line application is http://www.verypdf.com/artprint/docprint_pro_setup.exe. After installing on your computer, you will see the executable file named as doc2pdf.exe stay in the package and you can use it as the called program in the conversion from webpage to pdf. If you want to use the command line application to develop software, please buy it at http://www.verypdf.com/order_docprintpro.html for getting all the functions of the application.

Then please see the following contents which are for showing the conversion process. The first step is to open the conversion platform—MS-DOS interface.

You can use one of the following given ways to open MS-DOS interface. One is to click “Start”—“Run” for opening “Run” dialog box. Then please input “cmd” in “Open” combo box and click “OK” button. The other one is to use the hot key “Window”+ “R” on the keyboard to open “Run” dialog box and do the same work next introduced in the first way.

Then please input the command line which contains called program, parameter for setting page size, source file and target file in MS-DOS interface that pops up on your screen. Please refer to the following command line to write your own one:

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

In the command line,

doc2pdf indicates the called program which is the executable file doc2pdf.exe. Please remember to use the path of it when calling it in command line.

-f 8 is for setting page size for the target file as standard size.

–i “www.verypdf.com”  is for describing the link of input webpage document.

–o D:\output-file.pdf  is the name of the target file, which should be set by yourself.

To run and finish the conversion from webpage to pdf, please click “Enter” button on the keyboard. You will be able to check your target file when the conversion is over. If you want to learn more information about the command line application, please visit its homepage: http://www.verypdf.com/artprint/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!