Solved

Acrobat Reader via command line to named destination

Posted on 2007-03-27
2
2,756 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need graphics tool to create card game 2 161
Url for adobe cloud 13 151
Can JavaScript be used in a PDF? 5 92
Find fonts in Word 2010 32 63
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 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