Star Micronics SB-15 Printer User Manual


 
64
32
16
Total
m m2 m, m m5 m6 m, m, m, m,, m,,
ASCII Code
WRONG!
Descender
M, = Descender * 126 + (Start l 16) + End
Figure 9-6. Dots cannot overlap; those in immediately adjacent “half
columns” will be ignored when the character is printed.
H Add up each column of dots
Now it’s time to give our creative side a break and get down
to some basic arithmetic. That’s where the numbers down the
left side of the grid come in. Notice that there is a number for
each row of dots and that each number is twice the number below
it. By making these numbers powers of two we can take any
combination of dots in a vertical column and assign them a unique
128
64
32
16
8
4
2
1
Sum
l - 64
0 - 32
0 - 32
0 - 16
O-8
o-4
o-2 O-2
O-l
-
~
103 58
O-128
0 - 64
0 - 32
0 - 16
O-8
o-4
o-2
O-l
Figure 9-7. By adding the values of each dot in a column, you’ll get a
unique description for any combination of dots.
-
-
-
-
-
-
-
86