first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Adobe Acrobat 4.x: Legendary Command Line Arguments; Using Command Lines with Acrobat and Acrobat Reader under Windows

Using Command Lines with Acrobat and Acrobat Reader under Windows

These are unsupported command lines, but have worked for some developers. There is no documentation for these commands other than what is listed below. You can display and print a PDF file using command lines with Acrobat and Acrobat Reader.

AcroRd32.exe filename - Executes the Reader and displays a file. AcroRd32.exe /p filename - Executes the Reader and prints a file. AcroRd32.exe /t path printername drivername portname - Initiates Acrobat Reader, prints a file while suppressing the Acrobat print dialog box, then terminates Reader.

The four parameters of the /t option evaluate to path, printername, drivername, and portname (all strings).

printername - The name of your printer.

drivername - Your printer driver's name. Whatever appears in the Driver Used box when you view your printer's properties.

portname - The printer's port. portname cannot contain any "/" characters; if it does, output is routed to the default port for that printer.

If using Acrobat, substitute Acrobat.exe in place of AcroRd32.exe in the command lines.

mod date: 2005-03-18T02:11:23.000Z