rem: gPrintSettings = GetPrintSettings(); 
add: gPrintSettings = PrintUtils.getPrintSettings(); 
context: 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;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/90bd8fffa0d2acd0c69a2862d27af65fcac2f777/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js