rem: goPageSetup(); 
add:  try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings", false); }  var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions);   if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); }    if (gUseGlobalPrintSettings) { gPrintSettings = printOptionsService.printSettingsValues; }  goPageSetup(gPrintSettings);    if (gUseGlobalPrintSettings) { printOptionsService.printSettingsValues = gPrintSettings; } } catch (e) { alert("BrowserPrintSetup "+e); } 
context: function BrowserPrintSetup(){  goPageSetup();  // from utilityOverlay.js}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ca3f7680f6705699dae2ac6038cddafc4a076342/browser.js/clean/suite/browser/browser.js