rem: selectElement.listElement.value = strDefaultPrinterName; 
add: var printerEnumerator; try { printerEnumerator = Components.classes["@mozilla.org/gfx/printerenumerator;1"] .getService(Components.interfaces.nsIPrinterEnumerator) .printerNameList; } catch(e) { printerEnumerator = null; }  selectElement.appendPrinterNames(printerEnumerator); selectElement.listElement.value = printService.defaultPrinterName; 
context: function getPrinters(){  var printerEnumerator = printOptions.availablePrinters();  var selectElement = new listElement(dialog.printerList);  selectElement.clearList();  var strDefaultPrinterName = selectElement.appendPrinterNames(printerEnumerator);  selectElement.listElement.value = strDefaultPrinterName;  // make sure we load the prefs for the initially selected printer  setPrinterDefaultsForSelectedPrinter();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/bc93bea3244fa2ac7f0fc5c183b69795c1024718/printdialog.js/buggy/toolkit/components/printing/content/printdialog.js