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.


By the way You can use macro in the Destination path

  •  <DATE[:format]> - current date, default format is yyyymmdd
  •  <TIME[:format]> - current time, default format hhmmss

For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20180211_1123

Options:

  • -lang - Used language
    • ar - Arabic (United Arab Emirates)
    • cs - Czech (Czechia)
    • da - Danish (Denmark)
    • de - German (Germany)
    • es - Spanish (Spain, Traditional Sort)
    • fr - French (France)
    • it - Italian (Italy)
    • ja - Japanese (Japan)
    • ko - Korean (Korea)
    • nl - Dutch (Netherlands)
    • pt - Portuguese (Portugal)
    • ru - Russian (Russia)
    • sv - Swedish (Sweden)
    • zh - Chinese (Simplified, China)
    • en - English (United States)
  • -log - 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
  • -logmode - Log file mode
    • overwrite - Overwrite (default)
    • append - Append
  • -xmllog - XML format log file name
  • -list - File with files mask to convert. Simple text file, each file on new line
  • -Recurse:off - Include subfolders
  • -do - Delete originals
  • -kfl:off - Keep folder level
  • -fo - Force overwrite existed files
  • -threads - Multi thread processing (0 - auto)
  • -limit - Limit converted files to count
  • -combine:off - Combine all files into one document (pdf, tiff)
  • -ds:off - Copy original date stamps to converted documents
  • -sort - Sort source file list
    • unsorted - Unsorted, natural order (default)
    • name - Sort by file name
    • date - Sort by file modification date
    • numbers - Sort by numbers in file name
  • -optionfile - text file with options to use, "opt=value", one line - one option definition
  • -p - Friendly printer name (or part of the name)
  • -rn - Print a set range of pages
  • -t - Job title (listed in the Windows Printer Manager)
  • -NumCopy - How many copies to print
  • -ar:off - Select orientation base on paper dimensions
  • -mb:off - Draw Media Box
  • -o - Set paper orientation
    • portrait - portrait
    • landscape - landscape
  • -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
  • -Rotate - Rotate document
  • -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
  • -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
  • -Head:off - Turn off header text
  • -HeadText - Header text. Where [page] - Page Number and [date] - current date
  • -HeadAlign - Header align
    • left - align left
    • right - align right
    • center - align center
  • -HeadFont - Header font name
  • -HeadSize - Header font size
  • -Foot:off - Turn off footer text
  • -FootText - Footer text. Where [page] - Page Number and [date] - current date
  • -FootAlign - Footer align
    • left - align left
    • right - align right
    • center - align center
  • -FootFont - Footer font name
  • -FootSize - Footer font size
  • -HeadImage - Draw picture on the header
  • -HeadImageAlign - Header image align
    • left - align left
    • right - align right
    • center - align center
  • -FooterImage - Draw picture on the footer
  • -FooterImageAlign - Footer image align
    • left - align left
    • right - align right
    • center - align center

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

Examples:

  • PDFPrinter.exe C:\DOC\PrintDoc.pdf -ps 9x12 -p HP -log c:\Log\Print.txt
    It will print PrintDoc.pdf with the custom paper size 9x12 inch on HP printer.
Site Map  |  Contacts |  Resellers | About |  Privacy Policy |    Copyright © 1998-2024 CoolUtils Development. All rights reserved.