FIELD Command

FIELD Command (Traditional)

FIELD {TEXT {[Dn] [C | X | G | K] [L (m)] 'text'}… |
             [START n] LENGTH n} 
[POSITION {[] x-pos | {CURRENT | *} } 
     {[] y-pos | {CURRENT | * } | NEXT}] 
[DIRECTION {ACROSS | DOWN | BACK | UP}] 
[FONT name1 [, name2]]
[SUPPRESSION name]
[COLOR colorname | RGB rvalue gvalue bvalue | 
 HIGHLIGHT hvalue [COVERAGE cvalue] [BLACK bvalue] |
 CMYK cvalue mvalue yvalue kvalue |
 CIELAB lvalue [(–)] clvalue [(–)] c2value]
[BARCODE [name] [TYPE {n | type-name}] 
[Common BARCODE Parameters]
[Common 2D BARCODE Parameters]
[Concatenated BARCODE Parameters]] ;

FIELD Command (Record Format)

FIELD {[START n] LENGTH n |
       TEXT {[duplication] [C | X | G | K] [L (m)] 'text'}… | 
       PAGENUM {NOPRINT | PRINT] [NORESET | RESET n} |
       FLDNUM n [START {1 | n}] [LENGTH {rest of field | n}] |
       RECID [START {1 | n}] [LENGTH {rest of ID | n}]}
[POSITION {[] x-pos | {CURRENT | *} } 
   {[] y-pos | {CURRENT | * } | NEXT}] 
[DIRECTION {ACROSS | DOWN | BACK | UP}] 
[FONT name1 [, name2]]
[ALIGN {LEFT | RIGHT}]
[SUPPRESSION name]
[COLOR colorname | RGB rvalue gvalue bvalue | 
 HIGHLIGHT hvalue [COVERAGE cvalue] [BLACK bvalue] |
 CMYK cvalue mvalue yvalue kvalue |
 CIELAB lvalue [(–)] clvalue [(–)] c2value]
[BARCODE [name] [TYPE {n | type-name}]
[Common BARCODE Parameters]
[Common 2D BARCODE Parameters]
[Concatenated BARCODE Parameters]] ;

FIELD Command (XML)

FIELD {[START n] LENGTH n |
       TEXT {[duplication] [C | X | G | K] [L (m)] 'text'}… | 
       PAGENUM {NOPRINT | PRINT] [NORESET | RESET n} |
       FLDNUM n [START {1 | n}] [LENGTH {rest of field | n | *}] |
      STAG [START {1 | n}] [LENGTH {rest of ID | n | *}]
      ATTR aname [START {1 | n}] [LENGTH {rest of attribute | n | *}]}
[POSITION {[CURRENT | *] | LPOS {0 |[-] x pos} |
            CPOS {0 | x pos} | APOS x pos}
          {[CURRENT | *] | LPOS [-] x pos | NEXT}]
[DIRECTION {ACROSS | DOWN | BACK | UP}] 
[FONT name1 [, name2]]
[ALIGN {LEFT | RIGHT}]
[SUPPRESSION name]
[COLOR colorname | RGB rvalue gvalue bvalue | 
 HIGHLIGHT hvalue [COVERAGE cvalue] [BLACK bvalue] |
 CMYK cvalue mvalue yvalue kvalue |
 CIELAB lvalue [(–)] clvalue [(–)] c2value]
[BARCODE [name] [TYPE {n | type-name}]
[Common BARCODE Parameters]
[Common 2D BARCODE Parameters]
[Concatenated BARCODE Parameters]] ;

Common BARCODE Parameters

MOD n
[HRI {ON | ABOVE | BELOW | OFF | ONLY} [HRIFONT fontname]] 
[SSASTERISK {ON | OFF}]
[WIDTH n {IN | MM | CM | POINTS | PELS}]
[HEIGHT n [IN | MM | CM | POINTS | PELS]] 
[MODWIDTH {n | OPTIMAL | SMALL} 
[BCCOLOR colorname | RGB rvalue gvalue bvalue |
        HIGHLIGHT hvalue [COVERAGE cvalue] [BLACK bvalue] |
        CMYK cvalue mvalue yvalue kvalue |
        CIELAB lvalue (-) c1value (-) c2value}]
[SUPPBLANKS]
[RATIO n] 
[CMR cmr-lname {AUDIT | INSTR | LINK}]… 

Common 2D BARCODE Parameters

BCXPARMS {ESC | NOESC} 
{NOE2A | E2A {CP500 | CP290 | CP1027 | CV1390To943 |
CV1399To943 | CV1390To942 | CV1399To942 | CV1390To932 | CV1399To932}} 
[Data Matrix 2D Parameters | MaxiCode 2D Parameters | 
PDF417 2D Parameters | QRCODE 2D Parameters]

Concatenated BARCODE Parameters

BCDSYMB {symname | BCDSEQ seq# | BCDNEW}

Data Matrix 2D Parameters

[SIZE rows [BY] cols]
[SEQUENCE seq [OF] tot [ID {1 1 | uidHi uidLo}] 
[USERDEF | FNC1UCC | FN1IND | RDRPROG | MAC5 | MAC6 | ENCODE type]]

MaxiCode 2D Parameters

[MODE {4 | md}]
[SEQUENCE seq [OF] tot] 
[NOZIPPER | ZIPPER]

PDF417 2D Parameters

[SIZE {MIN | rows} [BY] {10 | cols}] 
[SECLEV {0 | sl}] 
[MACRO 'qstring'…]

QRCODE 2D Parameters

[SIZE {MIN | rows}]
[SEQUENCE seq [OF] tot [PARITY X'dd']] 
[ECLEV {L | M | Q | H}]
[USERDEF | FNC1UCC | FNC1IND AI 'ai'}]

The FIELD command identifies a field in a data record or supplies a field of constant text, and positions where the field is on the page. More than one position on the page can be specified.

FIELD commands:

  • Are subordinate to a PRINTLINE command (Traditional), LAYOUT command (Record Format), or LAYOUT subcommand (XML)
  • Must follow a PRINTLINE command (Traditional) or a LAYOUT command (Record Format)
  • Must contain either a LENGTH subcommand or a TEXT subcommand (Traditional only)

The FONT, DIRECTION, and COLOR subcommands do not have fixed defaults. If any of these subcommands is omitted, the value for the omitted subcommand is obtained from the corresponding subcommand in the PRINTLINE command (Traditional), LAYOUT command (Record Format), or LAYOUT subcommand (XML).