Tip: Keyboard shortcuts, such as Ctrl+P sets the page to print.
Note: The onbeforeprint attribute is only supported in Internet Explorer and Firefox.