Doh! You say window.print().
A-ha! Suppose, then, that the frame I want to print is different from the one calling the function.
How, do I then print the print the frame, since window.print won't work?
A-ha! You say parent.frame-name.print().
Alas, this doesn't work, either. Anybody got a workaround?
a clunky way of doing it would be to write a function that calls a popup window with the frame in it. Then write a function in THAT window the calls OnLoad="window.print();" then when it's done, closes the window.
Thanx, but that really would be clunky. Too many windows would confuse my users. I've got a lot of public sector uses who are thick about using the web, so anything that reduces complexity is best!
sure...I knew that it was clunky when I posted it, but if it did it all automatically, then closed the window behind itself it would not be that bad.
You're right, I could blur the window behind all others. But how do I know when to close it. If I close it too soon, then the print job wil fail (right??). And different machines will spool at different speeds, so using a setTimeout to offset the window's closure is quite clunky too.
Another problem, I'm given to believe, is that Macs don't support "window.print" :bawling: . Can you confirm if this correct?
can;t confirm. You could leave it open for 60 seconds. That shoudl be mroe than long enough to print some text ona page.