JavaScript DHTML/Event onMethod/onAfterPrint
"onAfterPrint" Example
<source lang="html4strict">
<head> <script language="JavaScript">
function function1() { window.print(); }
</script> </head>
<body onafterprint="alert("complete")">
Some body Content to print.
<form> <input type="button" value="Print" onclick="function1()"> </form>
</body>
</source>