rem: if (gMsgCompose) { var editorShell = gMsgCompose.editorShell; if (editorShell) try { editorShell.Print(); } catch(ex) {dump("#PRINT ERROR: " + ex + "\n");} } 
add: try { NSPrint(); } catch(ex) {dump("#PRINT ERROR: " + ex + "\n");} 
context: function DoCommandPrint(){  if (gMsgCompose)  {    var editorShell = gMsgCompose.editorShell;    if (editorShell)      try {        editorShell.Print();      } catch(ex) {dump("#PRINT ERROR: " + ex + "\n");}  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/72aab3ea47b4185fdca1760491b03be3b74da157/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js