5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
 106
Chapter 2 Command Codes
Summing the values determines the data for each column of the 
logo. Figure 3 shows the decimal value sums for each data byte 
(column) for the arrow pattern illustrated. Each byte was 
calculated first in decimal and then converted to the equivalent 
hexadecimal value (using the ASCII chart in Appendix A). These 
hexadecimal values are then entered in the 
data
 parameter for 
the Q command
.
Figure 3. Graphics Logo Plot Data Format
Example 2 The sample command below illustrates the logo function, drawing 
the arrow shown in Figure 3. The six hex data values for each 0.1 
inch x 0.1 inch matrix are repeated and horizontal tabs and 
justification commands are used to produce the large arrow using 
the small arrow pattern. Notice that an alphanumeric command 
was required for logo positioning.
^PY^-^F^-
^M01,01,000^T0070^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^M01,01,000^T0090^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^M01,01,000^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,
1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,
0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,
1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^M01,01,000^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,
1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,
0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,
1E,0C,0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^M01,01,000^T0090^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^M01,01,000^T0070^Q0C,0C,0C,2D,1E,0C,0C,0C,0C,2D,1E,0C^G^-
^O^-^PN^-
Bit#
7
6
5
4
3
2
1
Decimal
Value
64
32
16
8
4
2
1
Top
Bottom LSB
Data Bytes (Columns)
123456
Decimal Value:
Hex Value:
12 12 12 45 30 12
0C 0C 0C 0C2D 1E










