rem: if (webBrowserPrint.doingPrintPreview) { webBrowserPrint.printPreview(gPrintSettings, null, null); } 
context: function BrowserPrintSetup(){  var didOK = false;  try {    var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor);    var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint);         if (webBrowserPrint) {      gPrintSettings = GetPrintSettings();    }    didOK = goPageSetup(window, gPrintSettings);  // from utilityOverlay.js    if (didOK) {  // from utilityOverlay.js      if (webBrowserPrint) {        if (gPrintSettingsAreGlobal && gSavePrintSettings) {          var psService = Components.classes["@mozilla.org/gfx/printsettings-service;1"]                                            .getService(Components.interfaces.nsIPrintSettingsService);          psService.savePrintSettingsToPrefs(gPrintSettings, false, gPrintSettings.kInitSaveNativeData);        }        if (webBrowserPrint.doingPrintPreview) {          webBrowserPrint.printPreview(gPrintSettings, null, null);        }      }    }  } catch (e) {    dump("BrowserPrintSetup "+e);  }  return didOK;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0a08c632e835cdf2d5a8f294ba55bf908bc10664/browser.js/clean/xpfe/browser/resources/content/browser.js