Top
PowerFORM Runtime V11.0 Reference
FUJITSU Software

3.3.2 Output Field Decorations

The application program can set editing for the data stored in the record data area for each field.

These decorations are explained below.

  1. Character color output

    The color of the character to be printed is specified for each field when creating the descriptor. Setting the field color attribute enables the color specified when creating the descriptor to be changed dynamically and disables printing of data for the field to be output.

    One of the following seven colors can be specified for the character color:

    • Black

    • Red

    • Green

    • Yellow

    • Blue

    • Pink

    • Cyan

  2. Character highlight

    The application program can print decorating data by using Setting the field highlight attribute.

    One of the following seven can be specified for the decoration:

    • Bold

    • Italic

    • Bold-Italic

    • Underline

    • Bold with underline

    • Italic with underline

    • Bold-Italic with underline

    Underline is drawn for the character strings or whole field.

    Moreover specify the parenthesized value for the field control to specify the underlined character.

  3. Font specification

    Specify the font on the entire form using PRTFONT(Output font name) and FONTFACE (Font face name) in the printer information file.

    When the form descriptor is created, a font number from 0 to 255 can be specified for each field. Specify the font with the value from FONT000 to FONT255 (Font number specification) corresponding to the specified number.

  4. Numeric editing

    Numeric fields can be printed with data edited.

    The edit format is specified when creating the descriptor.

    See Table 3.1, "Edit Format and Example of Edit and Output" for an example of the print results when the edit format is specified.

    Table 3.1 lists examples of editing formats and editing output.

    Table 3.1 Examples of editing formats and editing output

    Data value

    Number of all digits

    Number of decimal digits

    123456

    6

    0

    001234

    6

    0

    -00123.4

    6

    1

    00000.0

    6

    1

    -0.34

    2

    2

    Editing format

    999,999,999,999,999,999

    ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9

    999999999999999999

    ZZZZZZZZZZZZZZZZZ9

    ***,***,***,***,***,**9

    $$$$,$$$,$$$,$$$,$$$,$$9

    123,456

    123,456

    123456

    123456

    123,456

    $123,456

    001,234

    1,234

    001234

    1234

    **1,234

    $1,234

    00,123.4

    123.4

    00123.4

    123.4

    ***123.4

    $123.4

    00,000.0

    0.0

    00000.0

    0.0

    *****0.0

    $0.0

    .34

    .34

    .34

    .34

    .34

    $.34

    999,999,999,999,999,999CR

    ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9CR

    999999999999999999CR

    ZZZZZZZZZZZZZZZZZ9CR

    ***,***,***,***,***,**9CR

    $$$$,$$$,$$$,$$$,$$$,$$9CR

    123,456__

    123,456__

    123456__

    123456__

    123,456__

    $123,456__

    001,234__

    1,234__

    001234__

    1234__

    **1,234__

    $1,234__

    00,123.4CR

    123.4CR

    00123.4CR

    123.4CR

    ***123.4CR

    $123.4CR

    00,000.0__

    0.0__

    00000.0__

    0.0__

    *****0.0__

    $0.0__

    .34CR

    .34CR

    .34CR

    .34CR

    .34CR

    $.34CR

    999,999,999,999,999,999-

    ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9-

    999999999999999999-

    ZZZZZZZZZZZZZZZZZ9-

    ***,***,***,***,***,**9-

    $$$$,$$$,$$$,$$$,$$$,$$9-

    123,456_

    123,456_

    123456_

    123456_

    123,456_

    $123,456_

    001,234_

    1,234_

    001234_

    1234_

    **1,234_

    $1,234_

    00,123.4-

    123.4-

    00123.4-

    123.4-

    ***123.4-

    $123.4-

    00,000.0_

    0.0_

    00000.0_

    0.0_

    *****0.0_

    $0.0_

    .34-

    .34-

    .34-

    .34-

    .34-

    $.34-

    -999,999,999,999,999,999

    -ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9

    -999999999999999999

    -ZZZZZZZZZZZZZZZZZ9

    -***,***,***,***,***,**9

    -$$$$,$$$,$$$,$$$,$$$,$$9

    123,456

    123,456

    123456

    123456

    123,456

    $123,456

    001,234

    1,234

    001234

    1234

    **1,234

    $1,234

    -00,123.4

    -___123.4

    -00123.4

    -__123.4

    -***123.4

    -___$123.4

    00,000.0

    0.0

    00000.0

    0.0

    *****0.0

    $0.0

    -.34

    -.34

    -.34

    -.34

    -.34

    -$.34

    ----,---,---,---,---,--9

    ------------------9

    123,456

    123456

    1,234

    1234

    -123.4

    -123.4

    0.0

    0.0

    -.34

    -.34

    ZZZZZZZZZZZZZZZZZZ

    123456

    1234

    123.4

    (*1)

    .34

    2-digit delimited editing Z9.Z9.Z9

    2-digit delimited editing 99.99.99

    12.34.56

    12.34.56

    0.12.34

    00.12.34

    (*2)

    (*2)

    (*2)

    (*2)

    (*2)

    (*2)

    ZZZZZZZZZZZZZZZZZZ-

    -ZZZZZZZZZZZZZZZZZZ

    123456_

    123456

    1234_

    1234

    123.4-

    -__123.4

    (*1)

    (*1)

    .34-

    -.34

    999,999,999,999,999,999DB

    ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9DB

    999999999999999999DB

    ZZZZZZZZZZZZZZZZZ9DB

    ***,***,***,***,***,**9DB

    $$$$,$$$,$$$,$$$,$$$,$$9DB

    123,456__

    123,456__

    123456__

    123456__

    123,456__

    $123,456__

    001,234__

    1,234__

    001234__

    1234__

    **1,234__

    $1,234__

    00,123.4DB

    123.4DB

    00123.4DB

    123.4DB

    ***123.4DB

    $123.4DB

    00,000.0__

    0.0__

    00000.0__

    0.0__

    *****0.0__

    $0.0__

    .34DB

    .34DB

    .34DB

    .34DB

    .34DB

    $.34DB

    999,999,999,999,999,999+

    ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9+

    999999999999999999+

    ZZZZZZZZZZZZZZZZZ9+

    ***,***,***,***,***,**9+

    $$$$,$$$,$$$,$$$,$$$,$$9+

    123,456+

    123,456+

    123456+

    123456+

    123,456+

    $123,456+

    001,234+

    1,234+

    001234+

    1234+

    **1,234+

    $1,234+

    00,123.4-

    123.4-

    00123.4-

    123.4-

    ***123.4-

    $123.4-

    00,000.0_

    0.0_

    00000.0_

    0.0_

    *****0.0_

    $0.0_

    .34-

    .34-

    .34-

    .34-

    .34-

    $.34-

    +999,999,999,999,999,999

    +ZZZ,ZZZ,ZZZ,ZZZ,ZZZ,ZZ9

    +999999999999999999

    +ZZZZZZZZZZZZZZZZZ9

    +***,***,***,***,***,**9

    +$$$$,$$$,$$$,$$$,$$$,$$9

    +123,456

    +123,456

    +123456

    +123456

    +123,456

    +$123,456

    +001,234

    +__1,234

    +001234

    +__1234

    +**1,234

    +__$1,234

    -00,123.4

    -___123.4

    -00123.4

    -__123.4

    -***123.4

    -___$123.4

    00,000.0

    0.0

    00000.0

    0.0

    *****0.0

    $0.0

    -.34

    -.34

    -.34

    -.34

    -.34

    -$.34

    ++++,+++,+++,+++,+++,++9

    ++++++++++++++++++9

    +123,456

    +123456

    +1,234

    +1234

    -123.4

    -123.4

    0.0

    0.0

    -.34

    -.34

    ZZZZZZZZZZZZZZZZZZ+

    +ZZZZZZZZZZZZZZZZZZ

    123456+

    +123456

    1234+

    +__1234

    123.4-

    -__123.4

    (*1)

    (*1)

    .34-

    -.34

    "_": 1-byte blank

    "__": 2-byte blanks

    *1 Zero is suppressed, and no data is displayed.

    *2 The editing result is undefined.

  5. Character expansion editing and output

    The character extended editing display function repeatedly displays the first character of a record data field up to the field length. Use Field display attribute setting at output to execute character extension editing. This editing function is valid only when an attribute of an output field is numeric. Figure 3.7 shows an output example.

    Figure 3.7 Character extension editing

  6. Multi-point and multi-pitch

    Specify an optional character size and pitch for output fields.

  7. Block field

    Characters are output as multi-line. Word wrapping is processed, if specified in the descriptor. Specify LFCODE and LFPRINT in printer information file, if line-feeds are explicitly needed.

    Figure 3.8 Block field