Drupal.behaviors.print = function(context) {window.print();window.close();}>

Goal in sight