Command Summary - Star Micronics TSP400 Series Programmer's Manual

Star micronics tsp400: reference guide
Hide thumbs Also See for TSP400 Series:
Table of Contents

Advertisement

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
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>
Print Data Settings
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>
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
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
– 26 –
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
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
28
28
30
31
32
34
36
Pages
37
38
38
40
42
42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents