- 22 -
ESC & s n m [a [p] s
×
a] m-n+1
[Function]
Defining the download characters
[Code]
<
1B
>
H
<
26
>
H
<
s
>
H
<
n
>
H
<
m
>
H
[<
a
>
H
<
p1
>
H
<
p2
>…<
ps
×
a
>]m-n+
1
[Range]
s=
3(Font
A
, B)
s=
2(FontC)
32
≦n≦m≦
126
0
≦a≦
12
(
FontA
)、
0
≦a≦
9
(
FontB
)、
0
≦a≦
8
(
FontC
)
0
≦
p1…ps×
a≦
255
[Outline]
Defines the font of download characters of alphanumeric characters.
• “s” indicates the number of bytes in vertical direction. “n” indicates the start character
code and “m” the end character code. To define only one character, set n = m.
Character codes definable includes 95 ASCII codes in total in the range of
<
20
>
H to
<
7E
>
H.
• “a” indicates the number of dots to be defined in horizontal direction. “p” is the data
to be defined, which indicate a pattern equal to “a” dots in horizontal direction from
the left end. The rest of the pattern on the right side is filled with space.
• The number of data to be defined is “s
a”. Download characters thus defined
・
remain
valid until redefinition, execution of ESC @, GS *, FS q, GS ( A, deletion by ESC ?, or
power OFF is performed.
[Caution]
Download characters and download bit images cannot be defined simultaneously.
Running this command clears the definition of the download bit image.
[Default]
Same as the internal character set.
[See Also]
ESC %
,
ESC ?
[Example]
[Sample Program]
Refer to Sample Program and Print Results for ESC %.
p1
p2
p3
p4
p5
p6 p36
p35
p34
MSB
LSB
12dot
24dot
FontA
Create each data bit by setting “1” for a printed dot and “0” for an unprinted dot.