Send page to print

JavaSctipt commnad to show Print dialog when a page is visited.
I usually put this at end of footer to let the page render before sending to printer.

CodeFunctionName
What is this?

Public

Tested

Imported
<script type="text/javascript" >
   
    window.print();
   
</script >

Views 132

Downloads 77

CodeID
DB ID