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

Yes, But How?