gPrintSettings = GetPrintSettings(); 
gPrintSettings = PrintUtils.getPrintSettings(); 
function AbPrintAddressBookInternal(doPrintPreview, msgType){  var addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook);  var uri = GetSelectedDirectory();  if (!uri)    return;  var statusFeedback;	statusFeedback = Components.classes["@mozilla.org/messenger/statusfeedback;1"].createInstance();	statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);  /*    turn "moz-abmdbdirectory://abook.mab" into    "addbook://moz-abmdbdirectory/abook.mab?action=print"   */  var abURIArr = uri.split("://");  var printUrl = "addbook://" + abURIArr[0] + "/" + abURIArr[1] + "?action=print"  if (!gPrintSettings) {    gPrintSettings = GetPrintSettings();  }	printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",										"",										"chrome,dialog=no,all",										1, [printUrl], statusFeedback, gPrintSettings, doPrintPreview, msgType);	return;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/90bd8fffa0d2acd0c69a2862d27af65fcac2f777/addressbook.js/buggy/mail/components/addrbook/content/addressbook.js