When you define a dot matrix pattern for a user-defined character, specify nine 2-digit pairs of hexadecimal digits. Each 2-digit pair corresponds with a column in the matrix, the first pair with the first column, the second pair with the second column, and so forth. Specify the left character of each pair to control which dots are printed in the upper half of the column. Specify the right character to control the lower half.
Use the approach shown in Figure 319 to specify the dot matrix pattern for a copyright mark, which prints as (C).
Figure 319. Specifying the Dot Matrix for a Copyright Mark
Use the form in Figure 320 to plan your dot patterns and specify the required hex digits for characters as large as three columns wide by three lines high. In this grid pattern, mark the dot patterns for as many as nine print positions (three across and three down).
Figure 320. Grid Pattern for Specifying Dot Matrix Characters
Use Table 10 to determine which hex digit to specify for each half-column
in the grid pattern.
Table 10. Hex Digits for the Bit Patterns
Bit Patterns | Hex Digits | Bit Patterns | Hex Digits |
---|---|---|---|
0000 | 0 | 1000 | 8 |
0001 | 1 | 1001 | 9 |
0010 | 2 | 1010 | A |
0011 | 3 | 1011 | B |
0100 | 4 | 1100 | C |
0101 | 5 | 1101 | D |
0110 | 6 | 1110 | E |
0111 | 7 | 1111 | F |
For each print position, complete one row of the grid pattern, shown in Figure 321. There should be one pair of hex digits to each box.
Figure 321. Completing the Grid Pattern
Example 2:
Figure 322 uses a dot matrix for a large character. This example shows how to specify DFNCHR at the file level for a character two positions wide by two lines high.
Figure 322. Specifying the DFNCHR Keyword (Example 2)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 (1)(2) 00010A DFNCHR(X'51' X'000000FF00FF00E700' + 00020A X'52' X'E700E700E700E10000' + 00030A X'53' X'0000009C001F000700' + 00040A X'54' X'07000700FF00FC0000' + 00050A X'55' X'00000000FF00E700E7' + 00060A X'56' X'00E700E700E3000000' + 00070A X'57' X'000000001E00070007' + 00080A X'58' X'0007000700FE000000') 00090A R RECORD1 00100A (3) 58 4DFT(X'5152') TRNSPY 00110A 58 4DFT(X'5556') TRNSPY 00120A 59 4DFT(X'5354') TRNSPY 00130A 59 4DFT(X'5758') TRNSPY A
Figure 322 redefines eight code points (hex 51 through hex 58) (1). Each position of the two-by-two character is printed twice so that adjacent horizontal dots can print. The hex codes (2) define the dot matrix pattern.
The information marked (3) shows how the large character 5 looks when printed (using four print positions, two on line 58 and two on line 59 of a printer form):
In the grid pattern, mark the dot patterns for as many as nine print columns (three across and three down), as shown in Figure 323.
Figure 323. Specifying the Grid Pattern for Example 2 (Points 51 through 54)
Use Table 10 to determine which hex digit to specify for each half-column in the grid pattern.
For each print position, complete one row of the grid pattern (one pair of hex digits to each box) as shown in Figure 324 for code points 51 through 54.
Figure 324. Completing Code Points for Example 2 (Points 51 through 54)
In the grid pattern, mark the dot patterns for as many as nine print columns (three across and three down), as shown in Figure 325.
Figure 325. Specifying the Grid Pattern for Example 2 (Points 55 through 58)
Use Table 10 to determine which hex digit to specify for each half-column in the grid pattern.
For each print position, complete one row of the grid pattern (one pair of hex digits to each box) as shown in Figure 326 for code points 55 through 58.
Figure 326. Completing the Code Points for Example 2 (Points 55 through 58)
Example 3:
Figure 327 uses a dot matrix for a large graphic to show how to specify DFNCHR at the file level for a large graphic three columns wide by two lines high.
Figure 327. Specifying the DFNCHR Keyword (Example 3)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A (1)(2) 00020A DFNCHR(X'B1' X'FF00E000D000C800C4' + 00030A X'B2' X'00C200C100C100C200' + 00040A X'B3' X'C400C800D000E000FF' + 00050A X'B4' X'FF0007000800130023' + 00060A X'B5' X'004300830083004300' + 00070A X'B6' X'230013000B000700FF' + 00080A X'B7' X'00FF00F000D800CC00' + 00090A X'B8' X'C600C100C100C100C6' + 00100A X'B9' X'00CC00D800F000FF00' + 00110A X'BA' X'00FF000F001B003300' + 00120A X'BB' X'630083008300830063' + 00130A X'BC' X'0033001B000F00FF00') 00140A R RECORD1 CPI(15) 00150A 58 4DFT(X'B1B2B3') TRNSP Y 00160A 58 4DFT(X'B7B8B9') TRNSPY 00170A 59 4DFT(X'B4B5B6') TRNSPY 00180A 59 4DFT(X'BABBBC') TRNSPY A
Figure 327 redefines 12 code points (hex B1 through hex BC) (1). Each column of the three-by-two character prints twice so that adjacent horizontal dots can print. The hex codes (2) define the dot matrix pattern.
The DDS example in Figure 327 prints an X inside a grid using three print columns (on lines 58 and 59 on a printer form).
Mark the dot patterns for as many as nine print columns (three across and three down) in the grid, as shown in Figure 328.
Figure 328. Specifying the Grid Pattern for Example 3 (Points B1 through B6)
Use Table 10 to determine which hex digit to specify for each half-column in the grid. For each print position, complete one row of the grid pattern (one pair of hex digits to each box) as shown in Figure 329.
Figure 329. Completing the Code Points for Example 3 (Points B1 through B6)
As shown in Figure 330, mark the dot patterns in the grid for as many as nine print columns (three across and three down).
Figure 330. Specifying the Grid Pattern for Example 3 (Points B7 through BC)
Use Table 10 to determine which hex digit to specify for each half-column in the grid. For each print position, complete one row of the grid pattern (one pair of hex digits to each box) as shown in Figure 331.
Figure 331. Completing the Code Points for Example 3 (Points B7 through BC)
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.