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

人盡茶涼 提交于 2019-12-11 09:48:53

问题


I have a pdf form that uses Acrobat 8 features. The form contains Javascript that interacts 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>

回答1:


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.


来源:https://stackoverflow.com/questions/2474811/how-to-embed-pdf-in-a-web-page-using-acrobat-reader-instead-of-acrobat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!