JSI Tip 7581. How do I print a .PDF document from the command-line?

To print an Adobe Portable Document Format (PDF) file, you need Adobe Acrobat.

The syntax for printing a .PDF document from the command-line is:

PathToAcrobat.exe /t Filename Printer PrintDriver PrinterPort


PathToAcrobat.exe       is the path to Acrobat.exe or Acrord32.exe.
/t prints the document and is supposed to terminate.
Filename is the path to the .PDF document you wish to print.
Printer is the name of the printer you want the document to print on.
PrinterDriver from the printer's Properties page.
PrinterPort The printer's port, which cannot contain any / characters.


"C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" /t "C:\Saved\Protect_Your_PC.pdf" \\JSI001\HP2250 "HP Business Inkjet 2250 (PCL5C)" LPT1:

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.