?
Solved

Embed tag options PDF plugin? (anyone know them)

Posted on 2001-08-10
16
Medium Priority
?
6,483 Views
Last Modified: 2013-11-18
Does anyone know what options are available when using the embed tag to display a PDF file.
For example; <embed src="whatever.pdf" zoom=100% menu=no> etc.
I've not been able to find a list of all the available options anywhere, including searches on the Adobe site.

appreciate any help.
thanks
0
Comment
Question by:glenramsey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 3
  • +3
16 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 6375891
There aren't any. THat's because you can't USE an embed tag for a PDF. PDFs need their plugin, which requires a browser window. I've seen them loaded into separate frames (not iFrame, a regular frame), but you can't embed them.
0
 
LVL 1

Expert Comment

by:Ernest022699
ID: 6376468
As useful as the PDF format is, it is a pain in the neck to create PDF files without using a commercial tool and there is virtually no control given to the Webmaster.  Sorry!
0
 

Author Comment

by:glenramsey
ID: 6378950
hmmm
i agree with the statement that PDF is commercial and therefore requires commercial packages to create.
similarly i only ever convert to PDF at "run-time", storing images/docs in their native TIFF format to ensure whatever replaces PDF can be accomodated for.
i can see a day where the PDF viewer costs money --i certainly wouldn't put it past them.

as for not being able to use the embed tag with PDF, that is incorrect. it works and has been for some time. i've managed to find a few embed tag paramters, like Fitr="x,y,x,y" and a few others.

thanks anyway
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Expert Comment

by:Ernest022699
ID: 6380470
IMHO you are wise to generate PDF at run time.  That way you can deliver PDF if the user wants it, TIFF if the user wants that, etc.

PDF does not REQUIRE commercial packages to generate PDF files.  Adobe did not do a stupid licensing thing!  If you get the PDF specification you can generate PDF documents via C, Perl, FORTRAN, Lisp, ....  It just will be harder than using a ready-made package.

Keep in mind that we are talking about HTML tags here, not PDF or TIFF tags.  You certainly do have a lot of control within PDF itself.

0
 
LVL 19

Expert Comment

by:webwoman
ID: 6381838
I'd like to see a PDF that's embedded in an HTML page... could you post a link?
0
 
LVL 1

Expert Comment

by:Ernest022699
ID: 6382264
0
 
LVL 1

Expert Comment

by:Ernest022699
ID: 6382278
0
 

Author Comment

by:glenramsey
ID: 6383131
webwoman,
only embeded in the sense of full screen (or filling the frame/window).
you might be able to use iframe.

ernest,
thanks for that. i hadn't considered PDF in the same light as PDF -in that- PDF's specs are available for anyone to write a viewer for. thanks.

we create TIFF as standard, but are thinking of generating PDF at run-time using activePDF server, but it seems all the hard work in ensuring the TIFFs are delivered quickly we have now got to add the overhead of generating a PDF at run-time.  we've considered generating both TIFF and PDF at scan time, double the disc space but keeps the efficiency when people want to view them.

thanks for everyones comments.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6384111
That's what I thought. We're using 'embedded' differently. To me, embedded is contained within an HTML page, not in a browser window.

iFrame doesn't work, it needs the browser plugin and that needs a browser window. Regular frames work.

PDFs should be much smaller than a corresponding TIF, so you might want to go to PDF and store the original TIF files somewhere else. The TIFs aren't generated dynamically, are they? If they are, generating a PDF would be much better all around -- not only is it accessible to more people, it should be smaller.

If you're scanning things and saving them as TIF, the full version of Acrobat has a scan option so you could scan directly to Acrobat and eliminate TIF altogether.

There is also a perl PDF writer module, I know someone has mentioned that before. That's open source, totally free.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6384115
Oh, and if you have the full version of Acrobat, you can set defaults for the page to open -- view size, bookmarks/thumbnails, full screen, etc. You can also set form elements, submission options, security options, etc. That sounds more like what you're looking for...
0
 

Author Comment

by:glenramsey
ID: 6384199
The TIFFs aren't generated on-the-fly, no.
Briefly: we're scanning invoices (using Kofax) which are dumped to a network share. we've written a script (ASP) which simply looks in this share and moves the files to the intranet server and 'indexes' them - they are then available over the intranet.
we do actually have the full version of acrobat --i've spent many-a-late hour trying to get kofax to scan to pdf without any luck.
but that's probably another story - one i'd be interested to talk about --any takers? :-)
regarding PDF being an "open" format, as much as TIFF is at least, it has renewed my confidence in going all-out PDF instead of PDF.  maybe we need to do that and forget about TIF
if we could get acrobat to interface with kofax it would save us purchasing activePDF.
thanks again :)
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6393389
Check Kofax's web site -- there are lots of options mentioned there that don't require PDF. They have XML scanning software, HTML, lots of other stuff.

Chances are you'll find other ways to do what you need that don't require any conversion at all...
0
 
LVL 19

Accepted Solution

by:
webwoman earned 300 total points
ID: 6393402
To go back to your original question though...

>>For example; <embed src="whatever.pdf" zoom=100% menu=no> etc.

You can't use that type of command for a PDF. PDFs require a browser window -- you can't embed them in HTML.

You also can't set ANY settings for them in HTML. You set ALL of that in the full version of Acrobat, or in some other PDF editing tool (I think there are some open source ones -- maybe.)

If you have to upgrade your Kofax software, buying the full version of Acrobat may or may not be cheaper -- it's pretty reasonable.

 
0
 

Expert Comment

by:zozzi
ID: 7601363
guys you are wrong !!! it can be done !!!

found @ http://adobedoc.kanisasolution.com/Acrobat4/Help.htm

If your audience uses an Internet Explorer-compatible browser that supports ActiveX controls, you can embed PDF documents using <OBJECT> tags instead of <EMBED> tags. The <OBJECT> tag is understood only by browsers compatible with Internet Explorer 3.0 or later.

The <OBJECT> tag has the same effect as the <EMBED> tag, but it also does the following:

The <OBJECT> tag allows you to use VB Script or JavaScript to access the Print and AboutBox methods in the ActiveX control, so you can create a Print button that will print the PDF document from the HTML document. If you use the standard Print command in your browser, the HTML document prints with the image of the first page of the PDF document. (If the Acrobat tool bar is visible, users can use the Print button to print the PDF document.)
You can use the <OBJECT> tag to specify automatic downloading and installing of Acrobat Reader if a user does not already have it installed.


The following example uses <OBJECT> to embed a PDF document in an HTML document:

<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH=423 HEIGHT=333 ID=Pdf1> <PARAM NAME="SRC" VALUE="PDFS/map.pdf">

</OBJECT>

If your audience might not use a browser that supports the <OBJECT> tag, you should include the <EMBED> tag and appropriate information (or the <NOEMBED> tag to display a GIF image) within the <OBJECT> tag. For example:

<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH=423 HEIGHT=333 ID=Pdf1> <PARAM NAME="SRC" VALUE="skagit.pdf"> <EMBED SRC="skagit.pdf" HEIGHT=423 WIDTH=333> <NOEMBED> <img src="images/tour083.gif" alt="Skagit River" width=179 height=134> </NOEMBED>

</OBJECT>

See an HTML guide or an ActiveX control guide for more information on the <OBJECT> tag. See also the Adobe Web site (www.adobe.com) for more examples and the latest ActiveX information.

0
 

Expert Comment

by:beris
ID: 7601616
I´ve embedded a couple of pdf´s with simply:

<embed src="http://.../quotesheet.pdf" width="820"  height="780"></embed>

It works.
0
 

Expert Comment

by:Gordon_Atherley
ID: 9697979
I've found that the solution from Beris

<embed src="filename.pdf" width="820"  height="780"></embed>

works with Adobe Acrobat 6 and Reader 6, and IE 6, but it's erratic. Sometimes it opens with the Adobe splash screen; other times, it goes straight into the first page of the pdf -- the desired behaviour.

Any suggestions or insights, please?

Gordon

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

770 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