Introduction to SDK > Developer FAQ > Understanding the Acrobat SDK > How do I use the Windows command line with Acrobat and Adobe Reader?

How do I use the Windows command line with Acrobat and Adobe Reader?
You can display and print a PDF file with Acrobat and Adobe Reader from the command line. These commands are unsupported, but have worked for some developers. There is no documentation for these commands other than what is listed below.
Note: All examples below use Adobe Reader, but apply to Acrobat as well. If you are using Acrobat, substitute Acrobat.exe for AcroRd32.exe on the command line.
AcroRd32.exe pathname — Start Adobe Reader and display the file. The full path must be provided.
This command can accept the following options.
 
/n
Start a separate instance of Acrobat or Adobe Reader, even if one is currently open.
/s
/o
/h
Start Acrobat or Adobe Reader in a minimized window.
AcroRd32.exe /p pathname — Start Adobe Reader and display the Print dialog box.
AcroRd32.exe /t path "printername" "drivername" "portname" — Start Adobe Reader and print a file while suppressing the Print dialog box. The path must be fully specified.
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, as it appears in 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.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/DevFAQ_UnderstandingSDK.22.31.html