Javascript Tutup jendela setelah dicetak

<script type="text/javascript">
  window.print();
  window.onafterprint = window.close;	
</script>
loneWolf_sage