rem: doPrintToFile(false); 
add: doEnablePrintToFile(false); 
context:     appendPrinterNames:       function ( aDataObject )         {           var popupNode = document.createElement( "menupopup" );           var strDefaultPrinterName = "";          var printerName;          while (aDataObject.hasMoreElements()) {            printerName = aDataObject.getNext();            printerName = printerName.QueryInterface(Components.interfaces.nsISupportsWString);            var printerNameStr = printerName.toString();            if (strDefaultPrinterName == "")               strDefaultPrinterName = printerNameStr;            var itemNode = document.createElement( "menuitem" );            itemNode.setAttribute( "value", printerNameStr );            itemNode.setAttribute( "label", printerNameStr );            popupNode.appendChild( itemNode );          }          if (strDefaultPrinterName != "") {            this.listElement.removeAttribute( "disabled" );          } else {            var stringBundle = srGetStrBundle("chrome://communicator/locale/printing.properties");            this.listElement.setAttribute( "value", strDefaultPrinterName );            this.listElement.setAttribute( "label", stringBundle.GetStringFromName("noprinter") );            this.listElement.setAttribute( "disabled", "true" );            dialog.destGroup.setAttribute("disabled","true");            dialog.printerRadio.setAttribute("disabled","true");            dialog.printerLabel.setAttribute("disabled","true");            dialog.propertiesButton.setAttribute("disabled","true");            dialog.fileRadio.setAttribute("disabled","true");            doPrintToFile(false);            dialog.printButton.setAttribute("disabled","true");          }          this.listElement.appendChild( popupNode );           return strDefaultPrinterName;        } 
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1fde5f13f3ec7880ec55d21c00cfccab6c2f05ce/printdialog.js/buggy/xpfe/global/resources/content/printdialog.js