the window.print() method

click the button to print the current page.