?
Solved

Full version Acrobat works but reader doesn't

Posted on 2004-09-21
6
Medium Priority
?
331 Views
Last Modified: 2008-02-01
Ok I have some javascript that runs on the open event. It works perfectly in Acrobat Full Version, but doesn't run on Reader. Javascript is enabled and I really can't think of a reason why the two would handle it differently. I did a search here and I found someone had a similar problem but no response. So I went with google. No luck.
I am calling a web service from the javascript using soap. I would assume that the engines are the same. Does anyone know why this would be happening?
0
Comment
Question by:jj819430
[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
  • 3
  • 2
6 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12116095
Do you have the Acrobat JavaScript spec? It tells you for each function in which product it's supported. There are a number of things that you can do only in the full version of Acrobat, and not in Reader. Because I don't know which methods you are using, it's hard to say why it's not working in Reader :-)

Your best bet is to get the document and lookup every function you are using in the block that's not working correctly. You can find the document at Adobe's web site: http://partners.adobe.com/asn/acrobat/docs.jsp#javascript
0
 
LVL 7

Author Comment

by:jj819430
ID: 12116366
you are right....
requires Advanced Forms Features
If I understand correctly that requires the user having the Adobe Server stuff installed am I correct?
0
 
LVL 7

Author Comment

by:jj819430
ID: 12116436
I was using the soap portion.
I basically just need to on open call a url or use soap... I have looked through the Acrobat Javascript Reference but cant seem to find any means of doing this. I wouldn't care how it is done, I just need to either call a url or connect to a web service.
Any ideas? (needs to be done on the document opening and work in reader)
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 2000 total points
ID: 12121722
You are right, all the Soap methods are marked with "F", which means that you need a rights-enabled PDF file (which you can create with the "Adobe Document Server for Reader Extensions" - this is _NOT_ a cheap solution!) for these methods to work in Reader.

In general, there are three ways to communicate with a web server:
   - SOAP (which does not work in Reader without these reader extensions)
   - Doc.getURL() and App.launchURL(), which will open a new document in either Reader or the browser
   - Doc.submitForm(), which - as the name implies - submits forms data, and also opens  a new HTML page / PDF document.

This means, you are pretty much out of luck.

What are you trying to accomplish? Is it to find out when a PDF document was opened?
0
 
LVL 7

Author Comment

by:jj819430
ID: 12404947
My fault I forgot about the question. I will award the points immediately.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

752 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