 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 /*        ADVANCE FUNCTION PRINTING                                  */
 /*        Display Printer Information PAGEDEF - P1DPI01              */
 /*                                                                   */
 /*                                                                   */
 /*                  FORM : LETTER SIZE        (8.50 X 11.00")        */
 /*                  PRINTABLE AREA:           (8.30 X 10.80")        */
 /*                  PRINT ROTATION: 0 DEGREES                        */
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

PAGEDEF dpi01
        REPLACE YES;

  FONT title_font
       CS H500D0
       CP V10500;

  FONT default_font
       CS H20000
       CP V10500;

  FONT subtitle_font
       CS H400B0
       CP V10500;

  FONT keyword_font
       CS H40000
       CP V10500;

  FONT hexword_font
       CS 520000
       CP 001148;

  PAGEFORMAT dpidata
             TOPMARGIN .5
             BOTMARGIN .5 IN
             WIDTH   8.3 IN
             HEIGHT  10.8 IN
             DIRECTION ACROSS;

    LAYOUT 'HEADING' GRPHEADER XSPACE 0.25 IN
           POSITION .50 NEXT;
      FIELD START 2
            LENGTH 80
            FONT title_font;

    /*****************************************************************/
    /* STM/OPC FOR THE PDS
    /*****************************************************************/
    LAYOUT 'TITLE' BODY GROUP XSPACE 0.15 IN
           POSITION .50 NEXT;
      FIELD START 2
            LENGTH 70
            FONT subtitle_font;

    /*****************************************************************/
    /* One dump for the STM and one dump for the OPC                 */
    /*****************************************************************/
    LAYOUT 'STMDUMP' BODY GROUP XSPACE 0.075
           FONT hexword_font;
      FIELD START 2
            LENGTH 54;

    LAYOUT 'OPCDUMP' BODY GROUP XSPACE 0.075
           FONT hexword_font;
      FIELD START 2
            LENGTH 54;
    /*****************************************************************/
    /* Initial fields for the STM, OPC has none                      */
    /*****************************************************************/
    LAYOUT 'STMBEGIN' BODY GROUP XSPACE 0.10
           FONT subtitle_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMTYPE' BODY GROUP XSPACE 0.10
           FONT subtitle_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMTCONT' BODY GROUP XSPACE 0.10
           FONT subtitle_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMMODEL' BODY GROUP XSPACE 0.1 IN
           FONT subtitle_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMMCONT' BODY GROUP XSPACE 0.1 IN
           FONT subtitle_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    /*****************************************************************/
    /* SubTitles for STM and OPC                                     */
    /*****************************************************************/
    LAYOUT 'STMTITLE' BODY GROUP
           FONT keyword_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1;

    LAYOUT 'STMTLCONT' BODY GROUP
           FONT keyword_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1;

    LAYOUT 'OPCTITLE' BODY GROUP
           FONT keyword_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1;

    LAYOUT 'OPCTCONT' BODY GROUP
           FONT keyword_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1;

    /*****************************************************************/
    /* Common layouts included in each subtitle                      */
    /*****************************************************************/
    LAYOUT 'STMVCTR' BODY GROUP
           POSITION .50 NEXT
           FONT hexword_font;
      FIELD START 2
            LENGTH 85;

    LAYOUT 'STMVCONT' BODY GROUP
           POSITION .50 NEXT
           FONT hexword_font;
      FIELD START 2
            POSITION .13 CURRENT
            LENGTH 85;

    LAYOUT 'OPCSDF' BODY GROUP
           POSITION .50 NEXT
           FONT hexword_font;
      FIELD START 2
            LENGTH 85;

    LAYOUT 'OPCSDFCONT' BODY GROUP
           POSITION .50 NEXT
           FONT hexword_font;
      FIELD START 2
            POSITION .13 CURRENT
            LENGTH 85;

    LAYOUT 'STMLENGTH' BODY GROUP
           FONT default_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMLENCONT' BODY GROUP
           FONT default_font
           POSITION .50 NEXT
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCLENGTH' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCLENCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMCMDSET' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMCMDCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMSUBSET' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMSUBCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMLEVEL' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMLEVCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMPPAIR'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;


    LAYOUT 'STMPCONT'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCDATA'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCDCONT'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCSDFID'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCSIDCONT'  BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER'"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCVAL' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCVALCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCVAL4' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCV4CONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCODE' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCDCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCODE16' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCC16CONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCBITS' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCBCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCBIT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCBITCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCHAR' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCHARL' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'OPCCLCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           DELIMITER '"';
      FIELD FLDNUM 1
            FONT hexword_font
            START 2;
      FIELD FLDNUM 2
            START 1
            POSITION CURRENT CURRENT;

    LAYOUT 'STMCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font;
      FIELD START 2
            LENGTH 85;

    LAYOUT 'OPCCONT' BODY GROUP
           POSITION .50 NEXT
           FONT default_font;
      FIELD START 2
            LENGTH 85;

    LAYOUT 'STMEND' BODY GROUP
           POSITION .50 NEXT
           FONT default_font
           NEWPAGE
           PRINTDATA NO;

    LAYOUT 'OPCEND' BODY GROUP
           POSITION 1.0 IN NEXT
           FONT default_font
           PRINTDATA NO;

    LAYOUT 'COMMENT' BODY GROUP
           POSITION 1.0 IN SAME
           FONT default_font
           PRINTDATA NO;

    LAYOUT 'STMRSRV' BODY GROUP
           POSITION 1.0 SAME
           FONT default_font
           PRINTDATA NO;

    LAYOUT 'DATETIME' PAGETRAILER
            POSITION .50 ABSOLUTE 10.7
            FONT default_font;
      FIELD TEXT 'Date - '
            POSITION CURRENT CURRENT;
      FIELD START 2
            POSITION CURRENT CURRENT
            LENGTH 10;
      FIELD TEXT '     Time - '
            POSITION CURRENT CURRENT;
      FIELD START 12
            LENGTH 8
            POSITION CURRENT CURRENT;
      FIELD POSITION 6 IN CURRENT
            TEXT 'Page - '
            FONT default_font;
      FIELD POSITION 6.5 IN CURRENT
            PAGENUM
            FONT default_font;
