Solved

Acrobat Reader via command line to named destination

Posted on 2007-03-27
2
2,735 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

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…
Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

831 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