DFNCHR (Define Character) Keyword in Printer Files--Examples

Figure 317, Figure 322, and Figure 327 show how to specify DFNCHR.

Example 1:

Figure 318 uses a single dot matrix to show how to specify DFNCHR at the record level so that hex 7C prints (C) instead of @.

Figure 317. Specifying the DFNCHR Keyword (Example 1)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
(1)(2)
00010A          R RECORD                    DFNCHR(X'7C' X'007E813CC324817E00')
00020A                                 58  4DFT(X'7C')   TRNSPY
00030A                                    +2DFT('1982')
     A

This example redefines code point hex 7C(1), normally @ in the EBCDIC character set, as a copyright mark. The copyright mark is printed as follows (on line 58 of a printer form):

(C) 1982

The hex digits (2) define the following dot matrix pattern:

Figure 318. Dot Matrix Pattern for Example 1

REQTEXT

See Specifying Dots to be Printed in the Dot Matrix in Printer Files for more information.