    appendPrinterNames:       function (aDataObject)         {           var list = document.getElementById("printerList");           var strDefaultPrinterName = "";          var printerName;          // build popup menu from printer names          while (aDataObject.hasMoreElements()) {            printerName = aDataObject.getNext();            printerName = printerName.QueryInterface(Components.interfaces.nsISupportsString);            var printerNameStr = printerName.toString();            if (strDefaultPrinterName == "")               strDefaultPrinterName = printerNameStr;            list.appendItem(printerNameStr, printerNameStr, getPrinterDescription(printerNameStr));          }          if (strDefaultPrinterName != "") {            this.listElement.removeAttribute("disabled");          } else {            var stringBundle = srGetStrBundle("chrome://global/locale/printing.properties");            this.listElement.setAttribute("value", strDefaultPrinterName);            this.listElement.setAttribute("label", stringBundle.GetStringFromName("noprinter"));            // disable dialog            this.listElement.setAttribute("disabled", "true");            dialog.printerLabel.setAttribute("disabled","true");            dialog.propertiesButton.setAttribute("disabled","true");            dialog.fileCheck.setAttribute("disabled","true");            dialog.printButton.setAttribute("disabled","true");          }          return strDefaultPrinterName;        } 
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/bc93bea3244fa2ac7f0fc5c183b69795c1024718/printdialog.js/clean/toolkit/components/printing/content/printdialog.js