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

Older than Bond, James Bond