|
|
Q993 How can I print four separate documents with a single button click?
irt.org | Knowledge Base | JavaScript | Print | Q993 [ previous next ] Q993 How can I print four separate documents with a single button click?Only by loading a framset with all four pages loaded - with the onLoad event handler in the frameset using the window print method to print each frame:
And then in printframeset.htm:
The previous script has been reported not to work on some platforms (it works perfectly on Netscape Navigator 4.7 on Linux). I assume on some platforms only one print dialogue box at a time can be opened. It might be possible to overcome this with a setTimout, but its going to be difficult to know when to start another one. A set delay of, say, 5 seconds might be too short if the user doesn't hit the print button. Anyway try:
Feedback on 'Q993 How can I print four separate documents with a single button click?' |
-- div -->
|