Star Micronics NX-2415II Printer User Manual


 
Define download characters
Mode ASCII
Decimal
Hexadecimal
<Esc> 6’=” nl n2 “#”
27 61 nl )12.?.5 1B 3D n/n2 23
IBM
n3 n4 <0> n5
n~ n4 On5 n3 n4 00 )1.$
ml !?12 m9 m] m2 m9
ml m2 .. m9
d] ~~ ,,,
dt”
(II (12 (1.1’ dl d2 (I.Y
Defines new characters and stores them in RAM for later use. EDS
switch A-3 must be OFF; otherwise RAM isused as an inputbuffer,
not downloading characters, and this command is ignored.
Downloading characters inIBM mode requires DotPattern data and
Character Index Table data. DotPatterndatacontrolswhichpinsfire
when printing a character. Index Table data is placed in a “lookup
table” that provides information on where Dot Pattern data is stored
in memory and defines certain attributes of the character.
(HI + n2 x 256) gives the number of bytes to be downloaded.
n3 and n4 indicate the low order and high order addresses in which
data is to be stored. n3 should be 15 and n4 should be 128for this
printer.
n5 determines the character mode to be downloaded, as shown
below:
}15
Character mode
Character width
o
Draft 9
1
LQ pica
35
2
LQ proportional 17to 41
3
LQ elite
29
ml through m9 indicate Index Table data.
ml and m2indicatetheaddresswhere Dot Pattern isstored.ml isthe
high-order byte.m3indicatesthe number ofcolumnsinthecharacter
memory, and m4 indicates the number of columns in the character.
m5through m9are compression mask bits. Datacompression allows
the efficient use of memory in storing downloaded characters,
providing spaceformorecharactersthan would beavailablewithout
compression. The printer repeats the previous dot column in the
current column when thecurrentcolumn compression mask bit isset
to 1.
95