context: function onAccept(){  var print_paper_size = 0;  if (printService) {    printService.printInColor  = dialog.colorRadio.selected;    if (dialog.letterRadio.selected) {      print_paper_size = gPrintOptInterface.kLetterPaperSize;    } else if (dialog.legalRadio.selected) {      print_paper_size = gPrintOptInterface.kLegalPaperSize;    } else if (dialog.exectiveRadio.selected) {      print_paper_size = gPrintOptInterface.kExecutivePaperSize;    } else if (dialog.a4Radio.selected) {      print_paper_size = gPrintOptInterface.kA4PaperSize;    } else if (dialog.a3Radio.selected) {      print_paper_size = gPrintOptInterface.kA3PaperSize;    }    printService.paperSize = print_paper_size;        var print_orientation;    if (dialog.portraitRadio.selected) {      print_orientation = gPrintOptInterface.kPortraitOrientation;    } else if (dialog.landscapeRadio.selected) {      print_orientation = gPrintOptInterface.kLandscapeOrientation;    }    printService.orientation = print_orientation;    // save these out so they can be picked up by the device spec    printService.marginTop    = dialog.topInput.value;    printService.marginLeft   = dialog.leftInput.value;    printService.marginBottom = dialog.bottomInput.value;    printService.marginRight  = dialog.rightInput.value;    printService.printCommand = dialog.cmdInput.value;  } else {    dump("************ printService: "+printService+"\n");  }  if (param) {    param.SetInt(0, 0 );  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1fde5f13f3ec7880ec55d21c00cfccab6c2f05ce/printjoboptions.js/buggy/xpfe/global/resources/content/unix/printjoboptions.js