tweetie777
Programmer
I desperately need a javascript that will enable a button to automatically print 1 copy of the HTML page it is situated on, without bringing up the default print dialog.
The script I have is as follows, but it brings up the dialog:
<a href='javascript:;' onClick='window.print();return false'>Print this page.</a>
I wouldn't even mind if the dialog options such as "number of copies" etc could be disabled by putting in the appropriate paramaters in "window.print()".
The script I have is as follows, but it brings up the dialog:
<a href='javascript:;' onClick='window.print();return false'>Print this page.</a>
I wouldn't even mind if the dialog options such as "number of copies" etc could be disabled by putting in the appropriate paramaters in "window.print()".