Solved

Embed tag options PDF plugin? (anyone know them)

Posted on 2001-08-10
16
6,464 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
  • 6
  • 4
  • 3
  • +3
16 Comments
 
LVL 19

Expert Comment

by:webwoman
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 1

Expert Comment

by:Ernest022699
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 1

Expert Comment

by:Ernest022699
Comment Utility
0
 

Author Comment

by:glenramsey
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 19

Expert Comment

by:webwoman
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

762 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

16 Experts available now in Live!

Get 1:1 Help Now