M S B
L S B
M S B
LSB
MSB
LSB
00011001 -25:D
01010101 - 85:D
2
01010000 - 8O:D
3
MSB = Most significant bit
LSB = Least significant bit
Figure 5-4. Data bytes for -he first column of a
new
capital A
You’ve seen how to design a character by laying out the dots
on a grid, translating the dots to binary information, and then
converting the binary numbers to decimal equivalents. The next
(and final) step in defining a character is to send this information
to the printer.
Sending information to the SQ-2000
The SQ-2000 command to define characters is one of the more
complex in its repertoire. The format of the command is this:
<ESC>
“&” <NUL>
nl n2
data
The <ESC> “&" is simple enough; that’s a format you should
be quite familiar with by now. The <NUL> (which is ASCII
code 0) allows for future enhancements. At this time it is always
ASCII code 0.
With the SQ-2000, you can define many characters with a sin-
gle command. The n1 and
n2
bytes are used to specify a range of
ASCII codes for the characters you will define. You then have to
provide character definition data for all of the characters in that
range to follow.
55
Содержание SQ-2000
Страница 1: ...EPSON SQ 2000 Printer Operating Manual ...
Страница 142: ...Total width Right space Body Left space Figure C l Character Q and its widths Proportional normal c 2 ...
Страница 143: ...Proportional normal continued C 3 ...
Страница 144: ...Proportional normal continued C 4 ...
Страница 145: ...Proportional normal continued C 5 ...
Страница 146: ...Proportional superscript subscript C 6 ...
Страница 147: ...Proportional superscript subscript continued C 7 ...
Страница 148: ...Proportional superscript subscript continued C 8 ...
Страница 177: ......
Страница 180: ......