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
where:
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. |
Example:
"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:
1 comment
Hide comments