Sei sulla pagina 1di 2

acrobat - Adobe Reader Command Line Reference - Stack Overflow

http://stackoverflow.com/questions/619158/adobe-reader-command-line-...

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Adobe Reader Command Line Reference

Is there any official command line (switches) reference for the different versions of Adobe (formerly Acrobat) Reader? I didn't find anything on www.adobe.com/devnet/, ... Especially I want to Start Reader and open a file Open a file at a specific position (page) Close Reader (or single file)
command-line acrobat adobe-reader

edited Jul 17 '12 at 5:21 CharlesB 18.5k 4 43 68

asked Mar 6 '09 at 15:05 ulrichb 7,067 2 31 57

4 Answers
You can find something about this in the Adobe Developer FAQ. (It's a PDF document rather than a web page, which I guess is unsurprising in this particular case.) The FAQ notes that the use of the command line switches is unsupported. To open a file it's: AcroRd32.exe <filename> The following switches are available: /n - Launch a new instance of Reader even if one is already open /s - Don't show the splash screen /o - Don't show the open file dialog /h - Open as a minimized window /p <filename> - Open and go straight to the print dialog /t <filename> <printername> <drivername> <portname> - Print the file the specified printer.
edited Sep 14 '11 at 12:50 Daniel Rikowski 21.3k 14 94 202 answered Mar 6 '09 at 15:19 Dave Webb 70.6k 15 157 199

The path seems to have changed. A google search turned up the following two versions adobe.com/content /dam/Adobe/en/devnet/acrobat/pdfs/ and partners.adobe.com/public/developer/en/acrobat/sdk/pdf/ user288299 Dec 18 '10 at 12:10 After printing from command line, adobe will leave aleast one window open which can hang your script. open a non related pdf or adobe window. This will keep your script running Pete Brumm Aug 7 '12 at 12:43 There are a ton of other executables in that directory. Do any of those have the ability to import XML data into an FDF file? Nicholas DiPiazza Mar 20 at 20:35

1 of 2

5/10/2013 4:22 AM

acrobat - Adobe Reader Command Line Reference - Stack Overflow

http://stackoverflow.com/questions/619158/adobe-reader-command-line-...

Also found this pdf reference: http://www.adobe.com/devnet/acrobat/pdfs/pdf%5Fopen%5Fparameters.pdf


answered Aug 13 '09 at 18:40 Josh

I found this: http://www.robvanderwoude.com/commandlineswitches.php#Acrobat Open a PDF file with navigation pane active, zoom out to 50%, and search for and highlight the word "batch": AcroRd32.exe /A "zoom=50&navpanes=1=OpenActions&search=batch" PdfFile
answered Aug 13 '09 at 18:35 Josh

To open a PDF at page 100 the follow works <path to Adobe Reader> /A "page=100" "<Path To PDF file>" If you require more than one argument separate them with & I use the following in a batch file to open the book I'm reading to the page I was up to. C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe /A "page=149&pagemode=none" "D:\books\MCTS(70-562) The best list of command line args for Adobe Reader I have found is here. http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf It's for version 7 but all the arguments I tried worked. As for closing the file, I think you will need to use the SDK, or if you are opening the file from code you could close the file from code once you have finished with it.
answered Mar 27 '11 at 18:14 TheLukeMcCarthy 782 7 17

Not the answer you're looking for? Browse other questions tagged command-line
acrobat adobe-reader or ask your own question.

2 of 2

5/10/2013 4:22 AM

Potrebbero piacerti anche