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