Solved

Full version Acrobat works but reader doesn't

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Getting information about Fonts being used in a PDF file A colleague of mine recently faced an issue related to the PDF file format. The PDFs were containing mission critical client information, they were successfully mailed but there was a sm…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
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…

867 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

20 Experts available now in Live!

Get 1:1 Help Now