Solved

Full version Acrobat works but reader doesn't

Posted on 2004-09-21
6
328 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PDF Digital Signatures 3 104
convert pdf to e-book 1 933
Opening PDF on button click and fill new document 2 47
PDF files not opening in browser 18 29
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:/…
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
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…

840 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