Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HT: Print Multiple Documents from ASP

Status
Not open for further replies.

David75

Programmer
Nov 15, 2001
21
CA
Using IE 5.5, I need to be able to loop through a list of .HTM files, open each (in a new window if necessary) and print each one in turn. I've got it working for the most part. I call the window.print method, then window.close and then go on to the next document. The problem is that IE closes the window before the print occurs (before the user hit's OK on the print dialog) and the print job is lost.

Is there a better way to print multiple .HTM documents from IE 5.5? Is there's a way to avoid forcing the user to click "ok" on the print dialog box each time?
 
try the onafterprint event handler? Though I thought I have had this working before just like you have.

[bb]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top