code: public int getPrintOptions()
          throws DBException
      {
          int iHtmlOptions = HtmlConstants.HTML_DISPLAY;
          if (((BasePanel)this.getScreenField()).getEditing())
              iHtmlOptions |= HtmlConstants.HTML_INPUT;
          iHtmlOptions |= HtmlConstants.HTML_ADD_DESC_COLUMN;   // Add a desc row (default)
          iHtmlOptions |= HtmlConstants.HTML_IN_TABLE_ROW;        // Yes, you are in a table row (default)
  
          iHtmlOptions |= HtmlConstants.PRINT_TOOLBAR_BEFORE;
          String strParamForms = this.getProperty(HtmlConstants.FORMS);   // Display record
          if ((strParamForms == null) || (strParamForms.length() == 0))
          {
              strParamForms = Constants.BLANK;
              if (this.getScreenField().isToolbar())
                  if ((!(this.getScreenField() instanceof DisplayToolbar)) &&
                  (!(this.getScreenField() instanceof MaintToolbar)) &&
                  (!(this.getScreenField() instanceof MenuToolbar)) &&
                  (!(this.getScreenField() instanceof HelpToolbar)))
                      strParamForms = HtmlConstants.BOTH;
          }
          if (strParamForms.length() > 0) if (!strParamForms.equalsIgnoreCase(HtmlConstants.DATA))
              iHtmlOptions = (iHtmlOptions & (~HtmlConstants.PRINT_TOOLBAR_BEFORE)) | HtmlConstants.PRINT_TOOLBAR_AFTER;
          return iHtmlOptions;
      }
docs: display this screen in html input format.
  returns true if default params were found for this form.
  @return The HTML options.
  @exception DBException File exception.