17 18
®
n is the beginning ASCII code of the user-defined
characters.
®
m is the ending ASCII code of the user-defined characters.
When only one user-defined character is defined, n=m. The
maximunm number of the user-defined characters can be
defined in each character set.
®
a is the number of the horizontal dots for the user-defined
character.
®
p means the data of the user-defined character. Each
character consists of bytes in s
×
a. Total nubmer of the
characters to be defined is m-n+1.
®
The user-defined characters are valid until re-definning,
initializing printer , or power off.
3.6 Bit-map Graphics Setting
ESC * Set printing mode of bit-map graphics
Format: ASCII: ESC * m n1 n2 [d]k
Decimal: 27 42 m n1 n2 [d]k
Hexadecimal: 1B 2A m n1 n2 [d]k
Explanation:
This command is used to set the graphics and its printing
mode.
m=0,1,32,or 33. n1=0~255,n2=0~1. d=0~255.
k=n1+256
×
n2 (m=0,1)
k=(n1+256
×
n2)
×
3 (m=32,33)
®
The number of the horizontal dots is n1+256
×
n2. The
maximunm number of the horizontal dots is shown as
below table.
®
When the bit-map data exceed the width of the line, the
exceeded part will be ignored.
®
d is the data byte of the graphic. The bit of the byte is
corresponding to the dot of the graphic. The bit=1 means
the dot will be printed, otherwise the dot not printed.
®
m is used for selecting the printing mode.
®
When executed command LF, ESC J, or the bit-map data
of next line is received after the current line is full, the
bit-map graphics in the current line will be printed out.
The command allows mixed printing in characters and
graphics.
Vertical Horizontal
m
Mode
Dots
density
density Max.dots
0
8-dot single
density
8 68DPI
101DPI
192
1
8-dot double
density
8 68DPI
203DPI
384
32
24-dot single
density
24 203DPI
101DPI
192
33
24-dot double
density
24 203DPI
203DPI
384
aDot
24Dot
MSB
LSB