Set page orientation and convert documents of webpage to PDF by command line

The command line application of Document Converter allows you to convert any printable documents to image formats such as the document of webpage to pdf and you can also use it to set parameters for the target file such as set page orientation. In this article you will see the operations about these jobs.

Document Converter is a combination of three internal applications—command line application which plays the leading role in this article, GUI application and virtual printer application.

If you are a software developer, you can use the command line application to develop your own applications by embedding or redistributing the command line application to your applications. If you want make all the conversions easily, you can choose the GUI application. The virtual printer application can help you scale page size and combine several pages on one single sheet for saving paper and ink.

The free download link of the command line application is https://www.verypdf.com/artprint/docprint_pro_setup.exe. Please install it on your computer when you want to use it. The executable file doc2pdf.exe in installation package is the called program in the conversion from webpage to pdf.

Please the following contents about the conversion. Please open MS-DOS prompt window at first. Click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Open” combo box of “Run” dialog box. Then please click “OK” button. You can also take the hot key “Window”+ “R” combination on the keyboard to help you open “Run” dialog box.

Then you need to input the command line. If you don’t know how to type your commands, please see the following template:

doc2pdf –O 1 –i “www.verypdf.com” –o C:\file.pdf

In the command line,

doc2pdf stands for the called program.

–O 1 is for setting pdf orientation as portrait mode. To change the orientation as landscape mode, please change the number “1” as “2”.

–i “www.verypdf.comis the link of the input webpage document.

–o C:\file.pdf is the name of the output file.

At last, please click “Enter” button on the keyboard to run the conversion from webpage to pdf. If you are interested in the command line application and want to use all the functions of it, please buy it at https://www.verypdf.com/order_docprintpro.html.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)

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!