nectar
07-15-2003, 05:42 PM
I'm having a problem printing in mozilla , it says that the page was replaced, please try again.
The script below opens a new window prints and closes. Works in ie but not in mozilla, I assume due to some error of mine in the script. Would appreciate any help
Thanks
<script language="JavaScript" type="text/javascript">
var printPage;
function printPage()
{
printPage = window.open('recipe_print.htm');
printPage.blur();
printPage.print();
setTimeout("printPage.close()",600);
}
</script>
The script below opens a new window prints and closes. Works in ie but not in mozilla, I assume due to some error of mine in the script. Would appreciate any help
Thanks
<script language="JavaScript" type="text/javascript">
var printPage;
function printPage()
{
printPage = window.open('recipe_print.htm');
printPage.blur();
printPage.print();
setTimeout("printPage.close()",600);
}
</script>