rem: FinishPrintPreview(); 
add: FinishPrintPreview(); 
context: function BrowserPrintPreview(){  var ifreq;  var webBrowserPrint;    try {    ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor);    webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint);         gPrintSettings = GetPrintSettings();  } catch (e) {    // Pressing cancel is expressed as an NS_ERROR_ABORT return value,    // causing an exception to be thrown which we catch here.    // Unfortunately this will also consume helpful failures, so add a    // dump(e); // if you need to debug  }  gWebProgress = new Object();  var printPreviewParams    = new Object();  var notifyOnOpen          = new Object();  var printingPromptService = Components.classes["@mozilla.org/embedcomp/printingprompt-service;1"]                                  .getService(Components.interfaces.nsIPrintingPromptService);  if (printingPromptService) {      FinishPrintPreview();  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1a2014804004dfe6c5e31b8e7b537a706f0072c8/calPrintEngine.js/buggy/calendar/resources/content/calPrintEngine.js