window.print();

window.onfocus=function () {
    window.opener = "nothing";
    window.open('', '_parent', '');
    window.close();
}









Posted by bloodguy
,