code: public void setPrintReport(boolean bPrintReport)
      {
          if (bPrintReport)
              if (this.getScreenRecord() != null)   // This tells the RecordHtmlScreen to display the data
                  this.getScreenRecord().getField(Constants.MAIN_FIELD).setModified(true);  // Flag screen record, so toolbar knows
      }
docs: Tell report module to print the report detail.
  <p>Note: This does not maintain an independent variable, I fake that the screen fields
  have been modified, because this signals the report module to print.
  @param bPrintReport If true, set print report.