add: if (gPrintSettingsAreGlobal && gSavePrintSettings) { var PSSVC = Components.classes["@mozilla.org/gfx/printsettings-service;1"] .getService(Components.interfaces.nsIPrintSettingsService); PSSVC.savePrintSettingsToPrefs(printSettings, true, printSettings.kInitSaveAll); } 
context:   print: function ()  {    var webBrowserPrint = this.getWebBrowserPrint();    var printSettings = this.getPrintSettings();    try {      webBrowserPrint.print(printSettings, null);    } 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("print: "+e+"\n"); // if you need to debug    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/03533ce4c7e42811e16fb6838908eb7f71149345/printUtils.js/buggy/toolkit/components/printing/content/printUtils.js