23
§
s is the number of bytes in vertical direction. s=3.
§
n is the starting ASCII code of user-defined character.
§
m is the ending ASCII code of user-defined character.
When define only one character, n equal m. The maximum number of user-
defined characters is 96.
§
a is the number of dots in horizontal direction.
§
p is the data of user-defined characters. There are (s x a) bytes in each
character, the total number of user-defined characters is m-n+1.
§
user-defined characters are valid until re-defined, reset or power off.
Format of the user-defined characters is shown as follows:
p1
p2
p4 p7
p5
p3 p6
p3a-2
p3a-1
p3a
MSB
LSB
a dots
24 dots
Graphic Printing Commands
ESC * m n1 n2 d1…dk
Select bit-map printing mode
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:
Select bit-map printing mode.
24
m for setting bit-map graphics mode; n1 n2 for setting number of dots; [d]k for
setting contents of dots.
m=0, 1, 32, 33. n1 = 0 ~ 255, n2 = 0 ~ 3. d = 0 ~ 255.
k = n1 + 256 x n2, (m=0,1)
k = (n1 + 256 x n2) x 3, (m=32,33)
u
The number of horizontal dots of the graphics is n1 + 256 x n2.
u
If the number of dot is more than one line, the extra portion will be
ignored. (refer to the following table)
u
d is the bit-map data, for 1 of bit means the related dot will be printed and
for 0 of bit means the related dot will not print ( k is the total no. of data)
u
m is the selected bit-map mode
Vertical
Horizontal
m
Mode
Dot
Density
0
8 dot single density
8
68 dpi
0
8 dot single density
1
8 dot double density
8
68 dpi
1
8 dot double density
32 24 dot single density 24 203 dpi
32
24 dot single density
33 24 dot double density 24 203 dpi
33
24 dot double density
GS / n
Print download bit-map graphic
Format:
ASCII :
GS
/
n
Decimal :
29
47
n
Hexadecimal :
1D 2F
n