Article View: adobe.acrobat.reader
Article #603Embedding PDF fails with Adobe Reader 7 in IE
From: Lawrence Bansbach
Date: Mon, 20 Jun 2005 00:14
Date: Mon, 20 Jun 2005 00:14
28 lines
2631 bytes
2631 bytes
Because SP2 for Internet Explorer 6 locked down the browser, to run browser-based content from CD-ROMs and hard drives that requires JavaScript and ActiveX components (such as the Adobe Reader), it has become necessary to provide instructions for drilling down in IE's advanced settings to allow active content to run locally or to add the "Mark of the Web" (eg, "<!-- saved from url=(0014)about:internet -->") to the HTML. To get PDFs to open locally within IE is impossible with the Mark of the Web unless you embed the PDF files in a "marked" HTML page. Any of the following works with Acrobat Reader 5 and 6: <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="100%"><param name="src" value="myfile.pdf" /></object> <object type="application/pdf" width="100%" height="100%"><param name="src" value="myfile.pdf" /></object> <embed src=" myfile.pdf" height="100%" width="100%"></embed> But recently I've found that if Adobe Reader 7 is installed, such a page yields the error message "File does not begin with '%PDF-'." The PDFs all begin with "PDF." The class ID for 7's ActiveX component is still the same. What gives? Does Adobe Reader 7 require a different procedure, or does it, unlike its predecessors, not permit the embedding of PDFs?
Technical Details
Message-ID:
<0sWdnVn_9_j-lyvfRVn-1A@velocitywest.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.velocitywest.net!news.velocitywest.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 109513,f0df68bd2fe0df39,start X-Google-Attributes: gid109513,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.velocitywest.net!news.velocitywest.net.POSTED!not-for-mail NNTP-Posting-Date: Sun, 19 Jun 2005 19:14:26 -0500 From: "Lawrence Bansbach" <lbans@delanet.com> Newsgroups: adobe.acrobat.reader Subject: Embedding PDF fails with Adobe Reader 7 in IE Date: Sun, 19 Jun 2005 20:14:28 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: <0sWdnVn_9_j-lyvfRVn-1A@velocitywest.net> Lines: 30 NNTP-Posting-Host: 64.0.113.172 X-Trace: sv3-EstwIevopUsHPo8SDkkRyxKKEE1a4By6WuIcuALRs7glg74qjO6U+cDZLvWrUiSvMzyMM2XM1wYErHQ!9WWm9jLMbURuTBqsG8AMHbOOQNiFS0WFHe/jB+sDQXNTo423Yzz+0D093YiDyQXmzMwLypgrXcr3!yW5Pf6yXq0AaluM= X-Complaints-To: abuse@velocitywest.net X-DMCA-Complaints-To: abuse@velocitywest.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32