ScottInTexas
02-12-2003, 03:23 PM
In my html doc I have window.print(); which prints the contents of the window I have set the focus to. Works great on my machine. Wont work on others. The printer dialog comes up and you can click on OK, but nothing is sent to the printer. The dialog goes away and everything is back to normal.
function doPrint(){
dataWindow.tblFrame.focus();
window.print();
}
<input type="button" id="printit" value="Print Table" onclick="parent.doPrint()">
Of course, all the stuff around these two lines are removed for brevity.
I am running IE6 and others on using IE5
Any help?
function doPrint(){
dataWindow.tblFrame.focus();
window.print();
}
<input type="button" id="printit" value="Print Table" onclick="parent.doPrint()">
Of course, all the stuff around these two lines are removed for brevity.
I am running IE6 and others on using IE5
Any help?