IE prints the frame that has focus when you call the print method frameref.focus();frameref.print();
frameref.focus();frameref.print();