rem: gPrintSettingsInterface.kInitSaveOddEvenPages; 
add: gPrintSettingsInterface.kInitSaveOddEvenPages | gPrintSettingsInterface.kInitSaveShrinkToFit | gPrintSettingsInterface.kInitSaveScaling |; 
context: function onAccept(){  if (gPrintSettings) {    if ( gDialog.orientation.selectedItem == gDialog.portrait ) {      gPrintSettings.orientation = gPrintSettingsInterface.kPortraitOrientation;    } else {      gPrintSettings.orientation = gPrintSettingsInterface.kLandscapeOrientation;    }    // save these out so they can be picked up by the device spec    gPrintSettings.marginTop    = convertUnitsMarginToInches(gDialog.topInput.value, gDoingMetric);    gPrintSettings.marginLeft   = convertUnitsMarginToInches(gDialog.leftInput.value, gDoingMetric);    gPrintSettings.marginBottom = convertUnitsMarginToInches(gDialog.bottomInput.value, gDoingMetric);    gPrintSettings.marginRight  = convertUnitsMarginToInches(gDialog.rightInput.value, gDoingMetric);    gPrintSettings.headerStrLeft   = hfIdToValue(gDialog.hLeftOption);    gPrintSettings.headerStrCenter = hfIdToValue(gDialog.hCenterOption);    gPrintSettings.headerStrRight  = hfIdToValue(gDialog.hRightOption);    gPrintSettings.footerStrLeft   = hfIdToValue(gDialog.fLeftOption);    gPrintSettings.footerStrCenter = hfIdToValue(gDialog.fCenterOption);    gPrintSettings.footerStrRight  = hfIdToValue(gDialog.fRightOption);    gPrintSettings.printBGColors = gDialog.printBG.checked;    gPrintSettings.printBGImages = gDialog.printBG.checked;    gPrintSettings.shrinkToFit   = gDialog.shrinkToFit.checked;    var scaling = document.getElementById("scalingInput").value;    if (scaling < 10.0) {      scaling = 10.0;    }    if (scaling > 500.0) {      scaling = 500.0;    }    scaling /= 100.0;    gPrintSettings.scaling = scaling;    if (gDoDebug) {      dump("******* Page Setup Accepting ******\n");      dump("print_margin_top    "+gDialog.topInput.value+"\n");      dump("print_margin_left   "+gDialog.leftInput.value+"\n");      dump("print_margin_right  "+gDialog.bottomInput.value+"\n");      dump("print_margin_bottom "+gDialog.rightInput.value+"\n");    }  }  // set return value to "ok"  if (paramBlock) {    paramBlock.SetInt(0, 1);  } else {    dump("*** FATAL ERROR: No paramBlock\n");  }  var flags = gPrintSettingsInterface.kInitSaveMargins |              gPrintSettingsInterface.kInitSaveHeaderLeft |              gPrintSettingsInterface.kInitSaveHeaderCenter |              gPrintSettingsInterface.kInitSaveHeaderRight |              gPrintSettingsInterface.kInitSaveFooterLeft |              gPrintSettingsInterface.kInitSaveFooterCenter |              gPrintSettingsInterface.kInitSaveFooterRight |              gPrintSettingsInterface.kInitSaveBGColors |              gPrintSettingsInterface.kInitSaveBGImages |              gPrintSettingsInterface.kInitSaveInColor |              gPrintSettingsInterface.kInitSaveReversed |              gPrintSettingsInterface.kInitSaveOrientation |              gPrintSettingsInterface.kInitSaveOddEvenPages;  gPrintService.savePrintSettingsToPrefs(gPrintSettings, true, flags);  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0bbe4e2cfe33deed4d2ca986a366024ba04998e4/printPageSetup.js/clean/xpfe/global/resources/content/printPageSetup.js