code: public void printControlEndForm(PrintWriter out, int iPrintOptions)
      {
          BasePanel scrDetail = ((BaseGridScreen)this.getScreenField()).getReportDetail();
  
          this.printHeadingFootingControls(out, iPrintOptions | HtmlConstants.FOOTING_SCREEN);
          if (scrDetail != null)
          {
              scrDetail.printControl(out, iPrintOptions | HtmlConstants.DETAIL_SCREEN);
          }
          Record record = ((BaseGridScreen)this.getScreenField()).getMainRecord();
          if (record != null)
          	out.println(Utility.endTag(XMLTags.DETAIL));
  
          BasePanel scrFooting = ((BaseGridScreen)this.getScreenField()).getReportFooting();
          if (scrFooting != null)
          {
              out.println(Utility.startTag(XMLTags.FOOTING));
              scrFooting.printControl(out, iPrintOptions | HtmlConstants.FOOTING_SCREEN);
              out.println(Utility.endTag(XMLTags.FOOTING));
          }
  
          super.printControlEndForm(out, iPrintOptions);
      }
docs: Display the start form in input format.
  @param out The out stream.
  @param iPrintOptions The view specific attributes.