javaScript window.print
<button onclick="window.print()">Print this page</button>
Undefined
<button onclick="window.print()">Print this page</button>