Tip: Keyboard shortcuts, such as Ctrl+P sets the page to print.
Note: The onafterprint event is not supported in Safari and Opera.
Note: In IE, the onafterprint event occurs before the print dialogue box, instead of after.