Click to See Complete Forum and Search --> : printing from a pop up window


iweb99
08-25-2003, 11:33 AM
Here’s the problem (this was tested and developed in IE):

PageA.htm (lets call this one window A) enables a user to enter some data (text boxes, combo boxes etc), when they are done they click on a link, which calls some JS code.

The JS code generates a formatted html page of content and outputs it to a new blank window (lets call it window B) the content is all ok no problems but when you try to print instead of window B you get window A.

In case you’ve read my other post this was my original method of creating the online quote page but changed to the other method because of this printing problem.

Thanks for any help you can give.

Khalid Ali
08-25-2003, 12:33 PM
That clearly points to the fact that you are not printing the window b you are printing window a


windowb.print()

iweb99
08-25-2003, 03:17 PM
Thanks for the reply Khalid Ali,

I tried window.print() with out success.

According to the O’Reilly its only the same as pressing the print button or choosing print from the file menu (which was what I was doing before).

I’ve got no idea why IE would print would print window a when I’m sending the print command from window b.