Re: Printing An Image
by "Elizabeth M. Lukan" <elizabeth(at)highaspirationsinc.com>
||Fri, 5 May 2000 20:37:43 -0400
Thank you for your help. I think I understand what you're trying to do.
I'll give it a try and if I have any more problems you'll probably here back
Elizabeth M. Lukan
High Aspirations, Inc.
----- Original Message -----
Date: Tue, 2 May 2000 22:35:58 +0530
From: "Abhay S. Kushwaha" <abhay(at)kushwaha.com>
Subject: Re: Printing An Image
Since you got the "print this page" JS all set up already, things
aren't really too difficult actually... :)
Just write a new script that goes like this (here's the algorithm):
- on user click, open up a new window
- on the page, load up *only* that image
- use the onload() to print out the page using ur existing script
- close the window
How it will work, and the *illusion* ;-)...
Since the image is already in the page itself, it is already loaded
in the browser's cache/memory. So, when you use the above to open up
the page with just the image, it will be instantaneously. Then, you
just give the print command as usual and close the window. Thus, the
window should just flash on and then dissapear, the time that it
stays on the screen limited only to the speed at which the machine
of the user is able to print it and spool it.
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA