Solved

Full version Acrobat works but reader doesn't

Posted on 2004-09-21
6
325 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
  • 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 500 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now