How to reorient PDF pages and print PDF via command line?

VeryPDF PDFPrint Command Line supports command line operation. When users print PDF files via command line, they can reorient PDF pages before send PDF files to printer device. Moreover, VeryPDF PDFPrint Command Line is a stand-alone software application. It does not require Adobe Acrobat or free Acrobat Reader software, when you try to reorient PDF pages and print PDF files via command line. The following is:

The following part will shed light on :-pdforient <int>, which is the essential command which is going to be contained in the command line; and introduce how to reorient PDF pages and print PDF via command line:

The first step for you to print a PDF file via command line is to run the Command Prompt window. You should move the mouse to the left down corner of the computer screen, and click “Start”; > enter “cmd in the “Run” dialog box; > press “OK” to close the “Run” dialog box and open the command prompt window.

clip_image002

Then, you should enter a command line in a pattern as following:

pdfprint.exe -pdforient <int> <PDF Files>

Generally speaking the command line you need to enter should be combined by three parts. The directory of the executable file, the essential command -pdforient <int> and the directory of the PDF file you want to print. In this pattern, pdfprint.exe refers to the executable file, which is called “pdfprint.exe”. -pdforient <int> is the essential command and the parameter which are integral. int stands for integral and four parameters are provided: 0, 1, 2, 3. <PDF Files>, which stands for the PDF file you want to print. In addition, the contents enclosed by the angle brackets are essential.

For instance, you can enter a command line like the following one:

D:\pdfprint_cmd\pdfprint.exe -pdforient 0 D:\top.pdf

  • D:\pdfprint_cmd\pdfprint.exe represents the path of the executable file which is placed in the folder called “pdfprint_cmd” on disk D;
  • -pdforient 0 is the command you use to print the PDF pages upright. Moreover, if you are interested, you can also change the parameter after to the other three numbers: 1,2,3. The pages illustrated at the end of this article will show the results of different parameters.
  • D:\top.pdf is the directory of the PDF file, which is placed in the root folder “D:\”.

The last step for you to print PDF files via command line is just press the “Enter” key. The computer will start sending the message to the accessible printer device and drive it to print PDF pages .

The following is the original PDF page:

clip_image003

The result of -pdforient 0:

clip_image004

The following pages illustrate the results of other parameters respectively.

The result of -pdforient 1:

clip_image005

The result of -pdforient 2:

clip_image006

The result of -pdforient 3:

clip_image007

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 PDF Print 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!