A common method of printing a http://goo.gl/rTyZ0. This article will present some examples of setting the printer while using VeryPDF to print pdf documents via a .document is using the viewer application and set the with a GUI, however, this is not appropriate for a batch printing. A batch script needs to call a application supported being run in MS-DOS mode. VeryPDF Command Line is a program running in MS-DOS mode for printing documents using system s in Microsoft Windows Systems. VeryPDF is able to print a pdf document to a physical or virtual printer, and there are some descriptions of its basic usages at
You can download the program package of VeryPDF PDFPrint Command Line via the URL http://www.verypdf.com/pdfprint/index.html and unpack it into any preferred directory in your hard disk. The executable file “pdfprint.exe” is a key component of PDFPrint and it can be used with the following basic commands in the directory of which PDFPrint is installed,
pdfprint.exe readme.pdf <Enter>.
The commands above print the pdf document “readme.pdf” using the system default printer. Here the author is going to introduce some options for setting the printer while printing a pdf document using PDFPrint Command Line.
The option “-pdforient” is for reorienting the pages of a pdf document before being printed. This option supports four arguments of integer. Argument of “0” is used as default, which sets the page upright. Argument of “1” is for setting the upside of page down, argument of “2” is for setting the left side of page down and argument of “3” is for setting the right side of page down. An example of using this option is as below:
pdfprint.exe -pdforient 3 readme.pdf <Enter>,
this command line sets the right side of the pdf page down and then print it using the default printer.
The option “-orient” is used for setting the orientation of the printer papers and it uses two integers, 1 and 2, as its arguments. Argument of “1” is used as default and it sets the printer paper into portrait orientation. The other argument “2” will set the paper into landscape orientation. The following command line is a usage of this option,
pdfprint.exe -orient 2 readme.pdf <Enter>.
This command line prints the pdf document to landscape orientated papers.
Another option “-duplex” with arguments of three integers is for setting the duplex printing mode. The three integer arguments are “1”, “2” and “3”. “1” is for setting the printing into simplex mode., “2” is for setting the printing into duplex mode using a horizontal page turn, and “3” is for setting the printing into duplex mode using a vertical page turn. A usage of this options is:
pdfprint.exe -duplex 2 readme.pdf <Enter>.
The “-collate” option is for switching the function of collation for printing the pdf document into multiple copies, which has two integer arguments, “0” for disabling collation and “1” enabling collation. A command using this option is
pdfprint.exe -collate 1 readme.pdf <Enter>.
VeryPDF PDFPrint supports almost all of the options of a physical printer and you may obtain more descriptions of PDFPrint Command Line at http://www.verypdf.com/pdfprint/pdf-print-cmd.html.