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