Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: print a non viewed document - how too please


Message #1 by "jojo" <jojo177061@n...> on Fri, 17 Aug 2001 22:50:50
Haven't tried this but you could load it into a hidden frame/iframe and
print that. I imagine if you were sure of your browser being IE5+ then you
could fetch the document using a fantastic new function I've been playing
with document.createDocumentFromUrl() which takes URL and returns a document
object.(Strictly speaking a reference to IHTMLDocument2 interface). You may
be able to backtrack to its window and print it.


Joe
----- Original Message -----
From: "jojo" <jojo177061@n...>
To: "javascript" <javascript@p...>
Sent: Friday, August 17, 2001 10:50 PM
Subject: [javascript] print a non viewed document - how too please


> I am looking for a JavaScript code (other sugestions welcome) so that by
> clicking on a button of the 'viewed' page, it will print a different page
> without bringing it up in the browser first.
>
> Thank you in advance
>
> JoJo
>
> (remove <REMOVE> to mail me)
> jojo177061@<REMOVE>ntlworld.com
>


  Return to Index