Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Saving pdf from dynamically created pages

2 views
Skip to first unread message

Fishface

unread,
May 4, 2002, 2:36:23 PM5/4/02
to
I hate viewing .pdf content in IE 5.5 via the Acrobat Reader 5.0.5 browser
plug-in. Further I have disabled running of activex controls in the browser.
I have told Acrobat Reader not to display pdf in the browser via Preferences.
When I go to this page et al:
http://www.elecdesign.com/Articles/Index.cfm?ArticleID=17015&Extension=pdf
I get a blank picture type box in a frame. What I am doing now (don't laugh) is to
right click, choose properties, copy the address (URL). Then I open my local
home page, view source, paste the link, save, refresh, right click the link and choose
Save Target As...

That is admittedly ridiculous.
Any ideas?

FF


Kimberly

unread,
May 5, 2002, 4:25:47 AM5/5/02
to
On Sat, 4 May 2002 11:36:23 -0700, "Fishface" <fish...@drift.net>
wrote:

Use Opera. The link above pasted into Opera will download.

>FF
>

Fishface

unread,
May 5, 2002, 6:14:21 PM5/5/02
to

Ok, I got it, but it's a javascript solution. Here's what I did:

Merge savepdf.reg with registry.

begin savepdf.reg:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Save &PDF]
@="C:\\WINNT\\WEB\\savepdf.htm"

end savepdf.reg
That adds a menu item to context menu "Save PDF" which invokes file
C:\WINNT\WEB\savepdf.htm

begin savepdf.htm:

<HTML>
<SCRIPT LANGUAGE="JavaScript" defer>
var parentwin = external.menuArguments;
var text = '<A HREF="' +
parentwin.location.href +
'">PDF Link<A>';
parentwin.document.write(text);
</SCRIPT>
</HTML>

end savepdf.htm

You save that file to the name and path specified in the .reg file.
So, to operate this sucker, you right click on that empty frame where the
pdf would be and choose Save PDF. This seems to get rid of the empty
picture box looking thing and puts in a link named "PDF Link" which can
be right clicked and saved via "Save Target As."

At least it does for me. But I only tested it on that site. First I had a little
window with the link pop-up, and it worked, but I tried this and it worked
better!

FF


0 new messages