code: public void printReport(PrintWriter out, ResourceBundle reg)
          throws DBException
      {
          if (reg == null)
          	reg = ((BaseApplication)this.getTask().getApplication()).getResources(HtmlConstants.HTML_RESOURCE, false);
          this.printHtmlHeader(out, reg);
          this.printHtmlMenuStart(out, reg);
          this.processInputData(out);
          ((BasePanel)this.getScreenField()).prePrintReport();
          this.printScreen(out, reg);
  
          this.printHtmlMenuEnd(out, reg);
          this.printHtmlTrailer(out, reg);
          this.printHtmlFooter(out, reg);
      }
docs: Output this screen using HTML.
  Display the html headers, etc. then:
  <ol>
  - Parse any parameters passed in and set the field values.
  - Process any command (such as move=Next).
  - Render this screen as Html (by calling printHtmlScreen()).
  </ol>
  @param out The html out stream.
  @exception DBException File exception.