Star Micronics LC24-10 User Manual page 90

Star micronics printer users manual
Table of Contents

Advertisement

Define download
characters
1
Mode
ASCII
Decimal
Hexadecimal
<ESC>
"82"
co>
nl
27 38
0 nl
1B
26
00
nl
!
Std.
n2
m0
ml
m2
n2 m0 ml m2
1
n2 m0 ml m2
dl
dz
dx
dl
d2
dx
dr
d2
dx
c
I
<ESC>
"="
-co>
nl
27 61
0 nl
1B 3D
00
nl
I
IBM
n2
m0
ml
m2
n2 m0 ml m2
n2 m0 ml m2
dl
dz
dx
dl
d.i'
dx
dl
dz
dx
B
Defines
one or more new characters
and stores
them in RAM for later
use. DIP switch 2-l must be OFF;
otherwise
RAM is used as an input
buffer,
not for downloading
characters,
and this command
is ignored.
nl is the character
code of the first character
defined and n2 is the character
code of the last character
defined.
nl and n2 must both be between
33
and 254. nl must be equal to or less than n2. Use of character
codes 32
1
(space) and 127 (delete code) should be avoided
if possible.
The data for
/
each character
start with three bytes specifying
proportional
spacing
at-
tributes:
the first byte, m0, specifies
the left of the character;
the second
byte, ml, specifies
the character
width;
the third byte, m2, specifies
the
right of the character.
These values must not exceed the following
max-
imum limits:
Character
mode
ml
m0 f
ml + m2
Draft characters
9
12
LQ pica characters
29
36
LQ elite characters
23
30
LQ semi-condensed
15
24
LQ proportional
37
42
Draft
super/subscripts
7
12
LQ super/subscripts
23
36
LQ prop.
super/subscripts
23
42
Y
Next comes
the dot data.
Normal
character
height
is 24 dots, so there
t
must be 3 x ml bytes of dot data. If the printer
is in super/subscript
mode,
/
however,
the character
height
is 16 dots, so there must be 2 x ml bytes
E
of dot data.
/
!
Each data byte indicates
eight vertical
dots, with the MSB being the top
i
dot and the LSB the bottom
dot.
j
1
1
For further
details,
please refer to the Appendix
C.
I
Select download
character
set
[
I
1
Mode
ASCII
Decimal
Hexadecimal
< ESC >
"%"
'( 1"
27 37 49
Both
1B
25
31
<ESC>
"o,o"
<I>
27 37
1
1B
25
01
Selects the download
character
set. Ignored
when DIP switch 2-1 is ON.
E
!
82

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents