5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
228
Chapter 4 Form Example
NOTE: Data bytes containing no value (00), such as bytes 1 through 27
above, must be listed when actual data follows. However, any
remaining 00 data bytes following the
end
of data for that line, such
as bytes 42 through 80, need not be listed. The universal terminator,
(cc)G, signals the end of data for that line.
Following this scheme, all hex data bytes for an entire 0.1 inch row (seven
vertical dot rows) of the logo can be calculated. Subsequent rows are
calculated similarly. To print each 0.1-inch row of the logo, the print position is
shifted down 0.1 inch using the Justification command, and then same vertical
data byte columns are used. (See the second example in Figure 29.)
Use the extended command for Graphics Plotting in columns (Q). The
Standard Alphanumeric command (M) introduces the Q command. The
Standard Alphanumeric command is also required with the Justification (J)
command to begin printing the logo 1.2 inches (
jus
) down from the original
print position and subsequently adjusted 0.1 inches with each row. The
Horizontal Tab (T) command is used to begin logo printing 1.7 inches and 5
dot rows (
dis
) from the left margin.
Table 42. Decimal to Hex Conversions
Data Byte # Decimal Value
Converted to
Hexadecimal Value
1 through 27 00 00
28 01 01
29 03 03
30 03 03
31 07 (4+2+1) 07
32 15 (8+4+2+1) 0F
33 31 (16+8+4+2+1) 1F
34 31 1F
35 63 (32+16+8+4+2+1) 3F
36 63 3F
37 126 (64+32+16+8+4+2) 7E
38 124 (64+32+16+8+4) 7C
39 124 7C
40 120 (64+32+16+8) 78
41 112 (64+32+16) 70