rem: var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); printOptionsService.ShowPrintSetupDialog(printSettings); } catch(e) { 
add: var printingPromptService = Components.classes["@mozilla.org/embedcomp/printingprompt-service;1"] .getService(Components.interfaces.nsIPrintingPromptService); printingPromptService.showPageSetup(domwin, printSettings); return true; } catch(e) { return false; 
context: function goPageSetup(printSettings){  try {    if (printSettings == null) {      alert("PrintSettings arg is null!");    }    // This code calls the printoptions service to bring up the printoptions    // dialog.  This will be an xp dialog if the platform did not override    // the ShowPrintSetupDialog method.    var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"]                                             .getService(Components.interfaces.nsIPrintOptions);    printOptionsService.ShowPrintSetupDialog(printSettings);  } catch(e) {   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cee6d466890c0a0edf6f7a3f02e6390a49fb78d4/utilityOverlay.js/clean/suite/common/utilityOverlay.js