
TP820 User’s Manual
- 33 -
printed.
The distance is (nL+nH*256)* (horizontal or vertical motion unit). Nl, nH=0
~
255.
Horizontal or vertical motion unit are specified by GS P command.
ESC %
Selected/cancel user-define characters set
Format: ASCII: ESC % n
Decimal: 27 37 n
Hex: 1B 25 n
Description:
n=1, Select the user-define characters; n=0, Select inter characters.
Default: n=0
ESC & Define user-define characters
Format: ASCII: ESC & y c1 c2 [x1 d1..d(y*x1)] [xk d1..d(y*xk)]
Decimal: 27 38 y c1 c2 [x1 d1..d(y*x1)] [xk d1..d(y*xk)]
Hex: 1B 26 y c1 c2 [x1 d1..d(y*x1)] [xk d1..d(y*xk)]
Description:
Define the user-define Characters from c1 to c2.
y=3; 32<=c1<=c2<=126;
0<=x<=12; [Character A 12*24], 0<=x<=9; [Character B
8*16];
d=0~255; k=c2-c1+1;
y specifies the number of bytes in the vertical direction, x specifies the number of dots in the horizontal
direction, d specifies the user-define data.
ESC * Select bit-image mode
Format: ASCII: ESC * m n1 n2 d1..dk
Decimal: 27 42 m n1 n2 d1..dk
Hex: 1B 2A m n1 n2 d1..dk
Description:
Select the image mode with m; n1 and n2 specify the number of dots. The image data d1…dk
m=0,1,32,33; n1=0
~
255; n2=0
~
3; d=0
~
255.
k=n1+256×n2 (m=0, 1)
k= (n1+256×n2) × 3 (m=32, 33)
The number of dots in horizontal direction is n1+256×n2.
If the number dots exceed the max dot number in a line (shown as below), the excess data is ignored.
Vertical direction
Horizontal direction
m
Mode
Number of dots
Dot density
Dot density
Number of dots (max)
0 8-dot
single-density
8
68DPI
101DPI
288
1 8-dot
double-density
8
68DPI
203DPI
576
32 24-dot
single-density
24
203DPI
101DPI
288
33 24-dot
double-density
24
203DPI
203DPI
576
ESC - Turn underline mode on/off
Format: ASCII: ESC - n
Decimal: 27
45 n
Hex: 1B 2D n
Description:
n=0, 48 Turn underline mode off.
n=1, 49 one-dot thick underline mode on