Re: Printing a web page by Ray
Ray
Thu Dec 04 11:23:56 CST 2003
"Michael Sirota" <msirota@bdstmcd.com> wrote in message
news:ep9sHYouDHA.3416@tk2msftngp13.phx.gbl...
> I understand I cannot print from the server side. But once the page
loads,
> what is the script that will then print the page client side.
window.print()
> I realize the
> user will have to accept printing the page. Is there a way to know when
the
> page is finished printing or if the user declined to print the page so I
can
> then redirect to the next page.
I do not believe so. MAYBE, if you use a media=print CSS reference to a
file that doesn't exist, the browser will not try to access that file until
the user prints and you could track whether or not the user printed by
404'ing that css reference. But that's a stretch, and I highly doubt that
the browser waits until it prints before it would attempt to load that css
file.
Ray at work