开发者

How to embed PDF in a web page using Acrobat Reader instead of Acrobat

开发者 https://www.devze.com 2022-12-23 16:36 出处:网络
I have a pdf form that uses Acrobat 8 features. The form contains Javascript that inte开发者_StackOverflow中文版racts with the hosting web page.

I have a pdf form that uses Acrobat 8 features. The form contains Javascript that inte开发者_StackOverflow中文版racts with the hosting web page.

Some of my Windows users have both Adobe Acrobat and Acrobat Reader installed, and need Adobe Acrobat to be the default handler for pdf files. The users with Adobe Acrobat 7 are unable to use the form, even though they might have Acrobat Reader 8 or 9 installed.

Currently, the PDF is embedded like this:

<object id="host" data="/path/to/document.pdf" type="application/pdf" width="900" height="550" ></object>


The PDF is loaded in client browser and you can't control that from your web page.

You will need the client to make sure that their PDF is by default associated with the later version of the reader. Two possible things to do:

  • In acrobat reader 8/9, go to Help and select repair this installation. It may then register this version correctly as the default PDF program to launch for PDF content
  • In the browser, go to Tools->Options and choose Set Programs to associate the PDF types with Acrobat Reader 8/9.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号