javascript window.print

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