CoolUtils Logo

Print PDF Files In Batches Via Command Line With Total PDF Printer

Usage: PDFPrinter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.

Options:

  • -log - <Log file name> Don`t show errors. Write them to the log file
  • -verbosity - Log file verbosity
    • error - Write to log file only errors (default)
    • detail - Write detailed log file
  • -list - File with files mask to convert
  • -recurse - Include subfolders
  • -rename - Auto rename converted file if destination exists
  • -do - Delete originals
  • -p - Friendly printer name (or part of the name)
  • -pwd - Password for protected documents
  • -rn - Print a set range of pages
  • -t - Job title (listed in the Windows Printer Manager)
  • -NumCopy - How many copies to print
  • -ar - Auto Rotate (Select orientation base on paper dimensions)
  • -mb - Draw Media Box
  • -o - Set paper orientation
    • portrait - portrait
    • landscape - landscape
  • -pp - Print Pages
    • all - Print all pages
    • portrait - Print only portrait pages
    • landscape - Print only landscape pages
  • -d - Set Duplex Printing Mode
    • none - None
    • vertical - Vertical
    • horizontal - Horizontal
  • -q - Set printer quality
    • high - high
    • medium - medium
    • low - low
    • draft - draft
  • -dpi - Set printer resolution
  • -cl - For color printers, you can select color mode
    • color - color
    • monochrome - monochrome
  • -s - Set printer scaling
    • none - none
    • fitpage - fit page
    • number - scaling factor, i.e. 1.05 (means 5% larger) or -s 0.5 (half size)
  • -ll - Log Level
    • error - Log error only
    • info - Log all information
  • -bn - Printer tray name
  • -bi - Printer tray index
  • -ps - Paper size
    • Letter - Letter
    • LetterSmall - LetterSmall
    • Tabloid - Tabloid
    • Ledger - Ledger
    • Legal - Legal
    • Statement - Statement
    • Executive - Executive
    • A3 - A3
    • A4 - A4
    • A4Small - A4Small
    • A5 - A5
    • B4 - B4
    • B5 - B5
    • Folio - Folio
    • Quarto - Quarto
    • ps10X14 - ps10X14
    • ps11X17 - ps11X17
    • Note - Note
    • Env10 - Env10
    • Env11 - Env11
    • Env12 - Env12
    • Env14 - Env14
    • CSheet - CSheet
    • DSheet - DSheet
    • ESheet - ESheet
    • EnvDL - EnvDL
    • EnvC5 - EnvC5
    • EnvC3 - EnvC3
    • EnvC4 - EnvC4
    • EnvC6 - EnvC6
    • EnvC65 - EnvC65
    • EnvB4 - EnvB4
    • EnvB5 - EnvB5
    • EnvB6 - EnvB6
    • EnvItaly - EnvItaly
    • EnvMonarch - EnvMonarch
    • EnvPersonal - EnvPersonal
    • FanfoldUS - FanfoldUS
    • FanfoldStdGerman - FanfoldStdGerman
    • ISOB4 - ISOB4
    • Custom - Custom
  • -pm - Select Print Method
  • -xo - X Offset (mm)
  • -yo - Y Offset (mm)
  • -lm - Left margin (mm)
  • -tm - Top margin (mm)
  • -bm - Bottom margin (mm)
  • -rm - Right margin (mm)
  • -ap - Align document to paper
    • Default - Center Document on page
    • Top - Align Document to top on page
    • Bottom - Align Document to bottom on page
    • Right - Align Document to right on page
    • Left - Align Document to left on page
    • LeftTop - Align Document to top and left on page
    • RightTop - Align Document to top and right on page
    • LeftBottom - Align Document to bottom and left on page
    • RightBottom - Align Document to bottom and right on page
  • -am - Align Document to print margins
    • Default - Center Document on page
    • Top - Align Document to top on page
    • Bottom - Align Document to bottom on page
    • Right - Align Document to right on page
    • Left - Align Document to left on page
    • LeftTop - Align Document to top and left on page
    • RightTop - Align Document to top and right on page
    • LeftBottom - Align Document to bottom and left on page
    • RightBottom - Align Document to bottom and right on page
  • -sep - Use separator page between printed documents
    • none - No separator page
    • blank - Blank page
    • document - Use PDF document as separator
  • -sepdoc - Separator PDF document file name
  • -seprange - Printed page range for separator PDF document
  • -Comment - Comment for print

Examples:

  • PDFPrinter.exe "c:\Test file.pdf" -p"EPSON C1100" -bi 7
    Prints "test file.PDF" at EPSON C1100 printer and with tray index 7
  • PDFPrinter.exe "c:\Folder\*.pdf" -p"EPSON C1100" -bi 7
    Prints all PDF files from "c:\Folder\" at EPSON C1100 printer and with tray index 7
  • PDFPrinter.exe -list "c:\Print List.txt" -p"EPSON C1100" -bi 7
    Prints all files from file list "Print List.txt" at EPSON C1100 printer and with tray index 7

Note that -list is used when there is a list of files in a file.

Site Map  |  Contacts |  Press Center | Resellers | About |  Privacy Policy |    Copyright © 1998-2014 CoolUtils Development. All rights reserved.