private Boolean PrintDialog(PrintMech pMech) {
    dlgPrintSavedMechOptions POptions =
        new dlgPrintSavedMechOptions((javax.swing.JFrame) Parent, true, pMech);
    POptions.setTitle("Printing " + pMech.CurMech.GetFullName());
    POptions.setLocationRelativeTo((javax.swing.JFrame) Parent);

    POptions.setVisible(true);

    if (!POptions.Result()) {
      return false;
    }

    pMech.setPrintPilot(POptions.PrintPilot());
    pMech.setCharts(POptions.PrintCharts());
    pMech.setGunnery(POptions.GetGunnery());
    pMech.setPiloting(POptions.GetPiloting());
    pMech.setMechwarrior(POptions.GetWarriorName());
    pMech.setMechImage(POptions.getImage());
    pMech.setLogoImage(POptions.getLogo());
    pMech.setCanon(POptions.getCanon());
    if (POptions.UseMiniConversion()) {
      pMech.SetMiniConversion(POptions.GetMiniConversionRate());
    }
    if (POptions.UseA4Paper()) {
      pMech.setA4();
    }

    POptions.dispose();
    return true;
  }
 public void setPaperSize(PaperSize s) {
   paper.setSize(s.PaperWidth, s.PaperHeight);
   paper.setImageableArea(s.ImageableX, s.ImageableY, s.ImageableWidth, s.ImageableHeight);
   if (s == A4) {
     for (PrintMech pm : Mechs) {
       pm.setA4();
     }
   } else if (s == Letter) {
     for (PrintMech pm : Mechs) {
       pm.setLetter();
     }
   }
 }