– 26 –
PAGE MODE
7-2. Command Summary
The printer has the following control commands. Each control code starts with
<ESC> code and ends with <LF> <NUL> codes, except for the Request status
command <ENQ> and the Call Download Character command <ESC> “G”.
Format Definition
Hexadecimal codes
1B 43 0A 00
1B 44 n1n2n3n4 0A
00
1B 4C n1n2 3B x1x2x3x4
2C y1y2y3y4 2C x5x6x7x8
2C y5y6y7y8 2C d 2C w 0A
00
1B 45 n1n2 0A 00
1B 50 43 n1n2 3B x1x2x3x4
2C y1y2y3y4 2C w 2C h 2C
c 2C r1r2 2C d1d2 0A 00
1B 50 42 n1n2 3B x1x2x3x4
2C y1y2y3y4 2C w 2C b 2C
m 2C h1h2h3h4 0A 00
1B 59 d1d2 0A 00
Control codes
<ESC> “C”<LF> <NUL>
<ESC> “D n1n2n3n4” <LF>
<NUL>
<ESC> “L n1n2 ; x1x2x3x4
, y1y2y3y4, x5x6x7x8
, y5y6y7y8, d, w” <LF>
<NUL>
<ESC> “E n1n2” <LF> <NUL>
<ESC> “PC n1n2 ; x1x2x3x4
, y1y2y3y4, w, h,
c, r1r2, d1d2” <LF> <NUL>
<ESC> “PB n1n2 ; x1x2x3x4
, y1y2y3y4, w, b,
m, h1h2h3h4” <LF> <NUL>
<ESC> “Y d1d2” <LF> <NUL>
Function
Clear format
Define print area
Define ruled line format
Cancel ruled line format
Define character string format
Define bar code format
Define character pitch
Print Data Settings
Hexadecimal codes
1B 52 43 n1n2 3B a1a2.…an
0A 00
1B 52 42 n1n2 3B a1a2.…an
0A 00
1B 51 3B x1x2x3x4 2C
y1y2y3y4 2C|1|2|3|4 2C
w1w2w3 2C n11n12n13
n.…n1k <LF>.…nm1nm2
.…nmk” 0A 00
1B 48 m x1x2x3x4 2C
y1y2y3y4 2C (BMP file data)
2C 0A 00
1B 47 n1n2 2C n3n4 1B 30
1B 58 0A 00
Control codes
<ESC> “RC n1n2 ; a1.....an”
<LF> <NUL>
<ESC> “RB n1n2 ; a1.....an”
<LF> <NUL>
<ESC> “Q ; x1x2x3x4,
y1y2y3y4, |1|2|3|4,
w1w2w3, n11n12n13
n.…n1k <LF>.…nm1nm2
.…nmk” <LF> <NUL>
<ESC> “H m x1x2x3x4,
y1y2y3y4, (BMP file data)
,” <LF> <NUL>
<ESC> “G n1n2, n3n4” <ESC>
“0”
<ESC> “X” <LF> <NUL>
Function
Set character string data
Set bar code data
Store dot graphic data into image
memory
Copy BMP file to printer
Call download character
Clear image data
Pages
37
38
38
40
42
42
Pages
28
28
30
31
32
34
36
Содержание TSP400 Series
Страница 1: ...Thermal Printer TSP400 Series TUP400 Programmer s Manual...
Страница 2: ......
Страница 102: ...99 Character code table Differs according to the memory switch settings Page Mode 9 CHARACTER CODE TABLES...
Страница 103: ...100 Page Mode Character type Small size or standard...
Страница 104: ...101 Page Mode Character type Boldface...
Страница 105: ...102 Page Mode International Character Set...
Страница 106: ...103 Line Mode...
Страница 107: ...104 Line Mode Character table Normal...
Страница 108: ...105 Line Mode Character table katakana...
Страница 109: ...106 Line Mode Character table IBM...
Страница 110: ...107 Line Mode International Character Set...
Страница 135: ......