PDFPrint Command Line is a command line based tool, and it is easy to use. This page will show some steps and examples of using PDFPrint Command Line.
1. Download and install | 2. How to use | 3. Supported Options |
---|
Please download this application from its homepage, and then unpack the downloaded zip package to any directory in your disk. This application is no need for installation, and directly runnable after unpacking from package.
Figure 1
Figure 1
pdfprint.exe [options]
pdfprint.exe readme.pdf
This command line is to print the document "readme.pdf" with your default printer connected to your computer.
Here are some examples of using options of PDFPrint Command Line:
pdfprint.exe -copies 3 readme.pdf
This command line is to print "readme.pdf" to three copies with the default printer.
pdfprint.exe -printer "TestPrinter" readme.pdfThis command line is to print "readme.pdf" with printer "TestPrinter".
PDFPrint Command Line supports these options:
-firstpage <int>: set the first page to print -lastpage <int>: set the last page to print -prompt: open advanced printer setting dialog window -printer <string>: specify printer with printer name -copies <int>: set printing copies -paper <string>: set paper size, pdf: retrieve paper size from PDF number: standard paper size others: paper size, e.g., "612x792pt", "11x17in", "215.9x279.4mm", etc. -scalex <int>: X axis scale factors, default is 100, 100: do not scale PDF page 0: rescale the width of PDF page to fit the printer's paper size -1: keep the minimum constant scaling in both paper width and height -scaley <int>: Y axis scale factors, default is 100, 100: do not scale PDF page 0: scale the height of PDF page to fit the printer's paper size -1: keep the minimum constant scaling in both paper width and height -pdforient <int>: select orientation of PDF page, 0: upright, default 1: upside down 2: left side down 3: right side down -orient <int>: select orientation of printer paper, 1: portrait (default) 2: landscape -duplex <int>: select duplex or double-sided printing, 1: simplex 2: horizontal 3: vertical -color <int>: switch between color and monochrome, 1: monochrome 2: color -xres <int>: specify printer x-resolution, -4: high -3: medium -2: low -1: draft number: number of dots per inch (DPI) -yres <int>: specify the printer y-resolution, same as -xres -xoffset <int>: specify page offset in horizontal direction -yoffset <int>: specify page offset in vertical direction -collate <int>: switch collate-printing, 0: disable 1: enable -scale <int>: specify a factor by which the printed page is to be scaled. Apparent page size is scaled from physical page size by a factor of scale/100. -shell: Call default PDF viewer to print PDF -shell2: Alternative way to call default PDF viewer to print PDF -shelltime <int>: set timeout for shell printing -raster: convert PDF page to raster image before printing -preproc: preprocess PDF before printing, useful for damaged PDF -printtofile <string>: save print spooling data to disk -mergeprintjobs: combine all print jobs into one -listprinter: list accessible printers in system -listbins: list bins/trays of a printer -chgbin <int>: change bin/tray of printer -wtext <string>: watermark on printed document -wtype <int>: set type of watermark 0: normal watermark 1: watermark on header 2: watermark on footer -wf <string>: font name of watermark -wh <int>: font height of watermark -ww <int>: font width of watermark -wb: bold font for watermark -wi: italic font for watermark -wu: underlined font for watermark -ws: strikeout font for watermark -wo <int>: set opacity of watermark, from 0 to 100 -wa <int>: set rotation angle of watermark -wc <string>: color of watermark, HexNum: colors in hexadecimal, e.g., FF0000 - Red color 00FF00 - Green color 0000FF - Blue color -wx <int>: offset of watermark on X direction -wy <int>: offset of watermark on Y direction -$ <string>: register application with registration key