Solved

Acrobat Reader via command line to named destination

Posted on 2007-03-27
2
2,716 Views
Last Modified: 2007-12-19
I am trying to launch Acrobat Reader, from the command line,  to a destination (not a Bookmark) within a PDF file.
Here is the line from my batch file:
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /A "nameddest=ABC=OpenActions" "H:\Test\MyPDFtest.pdf"

It always goes to the first page of the PDF rather than the named destination.

Other open actions work OK   eg. "zoom=1000=OpenActions"

I can get to the named detsination when I go there via a URL but I need to get there via a launch of the Reader at the command line.  Any ideas?
0
Comment
Question by:Letterpart
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 18810489
Why are you using the "=OpenActions" in your command lines? They don't belong there. Try

"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /A "nameddest=ABC" "H:\Test\MyPDFtest.pdf"

This document lists all valid open parameters: http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
0
 
LVL 1

Author Comment

by:Letterpart
ID: 18815794
I was using "=OpenActions" because that is what I found in the Adobe documentation - the same document you referred to.

OpenActions seems to work OK with other options eg. zoom=1=OpenActions

But the way you've set up the command line is working fine - Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can Be Caused By Disabled Services I have encountered a problem viewing PDF files using Adobe Acrobat Reader.  For the longest time, PDFs might launch or might not.  Sometimes they took about 15 minutes to appear after launching them. After som…
One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now