[thelist] Printing a URL

kevin D. white kevin.white at bitshift.ws
Mon Mar 25 13:12:01 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The function window.print() does not accept any arguments so I doubt
that you can print a page without loading it into the browser.  In
order to print a page the browser has to render it at some point.
There is no way around the rendering step.  There are a couple of
ways you might be able to hide the loading:

1) Load the page in a hidden frame/layer and execute the print()
function from there.
2) Pop a window with the page to be printed.  Send the daughter
window to the back/minimize it/move it off-screen.  Execute the print
from there.

Again, the browser absolutely has to render the page first before
printing.


- ----- Original Message -----
From: "bread_man" <bread_man at hotmail.com>
> Thanks. I know my audience strictly uses IE5.0 and above.  My goal
> is to print a webpage without loading it.  I've found lots of
> documentation on using javascript to print the current page, but
> what if I wanted to print page2 from page1 without loading page2?
> Is this possible?

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPJ921FZZFo27GBIvEQJU5wCgzplxc0rwGaTNNWrs5OZXBjeDp3kAoJ29
H4wqD07xlxI+8NRXXP4xoHUP
=iaDP
-----END PGP SIGNATURE-----





More information about the thelist mailing list