add: } else if (isModif) { var printPreviewTB = document.getElementById("print-preview-toolbar"); var printKey = document.getElementById("printKb").getAttribute("key").toUpperCase(); var pressedKey = String.fromCharCode(aEvent.charCode).toUpperCase(); if (printKey == pressedKey) { PrintUtils.print(); } } 
context:   onKeyPressPP: function (aEvent)  {    var closeKey;    try {      closeKey = document.getElementById("key_close")                         .getAttribute("key");      closeKey = aEvent["DOM_VK_"+closeKey];    } catch (e) {}    var isModif = aEvent.ctrlKey || aEvent.metaKey;    // ESC and Ctrl-W exits the PP    if (aEvent.keyCode == aEvent.DOM_VK_ESCAPE || isModif &&        (aEvent.charCode == closeKey || aEvent.charCode == closeKey + 32))      PrintUtils.exitPrintPreview();    // cancel shortkeys    if (isModif) {      aEvent.preventDefault();      aEvent.stopPropagation();    }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9f370adb4e1d17462151611fc76ad6495a36a6e7/printUtils.js/buggy/toolkit/components/printing/content/printUtils.js