We should implement onbeforeprint and onafterprint from HTML5.
FYI, Firefox supports the beforeprint and afterprint events since Firefox 6
*** This bug has been marked as a duplicate of bug 19937 ***