Hello everyone,
I am trying to get a page to open and print the page automatically 3 times.
I am using this:
print "<script><!--
function wPrint() {if (window.print) window.print();window.print();window.print();}
window.onload = wPrint;
--></script>\n";
However it will only print once for me. What I really want to do rather than what I have is just to have one "window.print();" in that javascript but somehow set the number of times to print to 3.
How do I do that? I realize this is not a javascript forum, but i've looked everywhere and I can't find how to do this.
Any help is greatly appreciated. Thanks for your time.