Manuals
/
Brands
/
Computer Equipment
/
Label Maker
/
Epson
/
Computer Equipment
/
Label Maker
Epson
BAR CODE COMMANDS
Models:
TM-L90
TM-P60
TM-J2000/J2100
TM-L60II
TM-T88III
TM-T90
TM-U210
TM-U230
TM-U300A/U300B
1
337
679
679
Download
679 pages, 2.97 Mb
CONFIDENTIAL
Paper roll
Bar code commands
Ver. 10.0 1
p. 337
Bar code commands
Command Name
GS H
Select print position of HRI characters
GS f
Select font for HRI characters
GS h
Set bar code height
GS k
Print bar code
GS w
Set bar code width
BAR CODE COMMANDS
Contents
Main
EPSON
Page
Page
Page
Page
Page
Paper roll ESC/POS proprietary command system
ESC/POS PROPRIETARY COMMAND SYSTEM
Ver. 10.0 1 p. 7
ESC/POS
A command set designed for universal applicability
Superb expandability allowing the addition of new functions
COMMAND CLASSIFICATION
Page
OVERVIEW OF DATA PROCESSING
Character Data and Normal Commands
Real-time Commands
Data processing diagram
DEFINITIONS
Page
Page
TM-T88III SUPPORTED COMMANDS
Page
Page
Page
Page
TM-T90 SUPPORTED COMMANDS
Page
Page
Page
Page
Page
TM-L60II SUPPORTED COMMANDS
Page
Page
Page
TM-L90 SUPPORTED COMMANDS
Page
Page
Page
Page
Page
TM-J2000/J2100 SUPPORTED COMMANDS
Page
Page
Page
Page
Page
TM-U210 SUPPORTED COMMANDS
Page
Page
Page
TM-U220 SUPPORTED COMMANDS
Page
Page
Page
TM-U230 SUPPORTED COMMANDS
Page
Page
TM-U300A/B SUPPORTED COMMANDS
Page
Page
TM-P60 SUPPORTED COMMANDS
Page
Page
Page
COMMANDS IN ALPHANUMERIC ORDER
Page
Page
Page
Page
Page
Page
Page
Page
Page
Paper roll Commands arranged by function
COMMANDS ARRANGED BY FUNCTION
Ver. 10.0 1 p. 70
Paper roll Print commands
PRINT COMMANDS
Ver. 10.0 1 p. 71
Paper roll Print commands LF
Ver. 10.0 1 p. 72
LF
Page
Paper roll Print commands FF (in page mode)
Ver. 10.0 1 p. 74
FF (in page mode)
Page
Paper roll Print commands FF (on label)
Ver. 10.0 1 p. 76
FF (on label)
Page
Paper roll Print commands CR
Ver. 10.0 1 p. 78
CR
Paper roll Print commands CR
Ver. 10.0 1 p. 79
Page
Paper roll Print commands ESC FF
Ver. 10.0 1 p. 81
ESC FF
ESC J
Page
Page
Page
Paper roll Print commands ESC K
Ver. 10.0 1 p. 86
ESC K
Paper roll Print commands ESC K
Ver. 10.0 1 p. 87
Paper roll Print commands ESC d
ESC d
Paper roll Print commands ESC d
Ver. 10.0 1 p. 89
Paper roll Print commands ESC e
ESC e
Page
Paper roll Print commands GS FF
Ver. 10.0 1 p. 92
GS FF
Paper roll Print commands GS FF
Ver. 10.0 1 p. 93
Page
Paper roll Line spacing commands ESC 2
Ver. 10.0 1 p. 95
ESC 2
Paper roll Line spacing commands ESC 2
Ver. 10.0 1 p. 96
ESC 3
Program example for ESC 2 and ESC 3
Page
Page
Paper roll Character commands
CHARACTER COMMANDS
Ver. 10.0 1 p. 101
Paper roll Character commands CAN
Ver. 10.0 1 p. 102
CAN
Paper roll Character commands ESC SP
Ver. 10.0 1 p. 103
ESC SP
Paper roll Character commands ESC SP
Ver. 10.0 1 p. 104
Page
ESC !
Page
Page
Page
Page
Page
Paper roll Character commands ESC %
Ver. 10.0 1 p. 112
ESC %
ESC &
Page
d1 d3 d5 d7 d9 d11 d13
d2 d4 d6 d8 d10 d12 d14
Page
Page
Paper roll Character commands ESC
Ver. 10.0 1 p. 118
ESC
Page
Paper roll Character commands ESC ?
Ver. 10.0 1 p. 120
ESC ?
Paper roll Character commands ESC ?
Ver. 10.0 1 p. 121
Program example for ESC %, ESC &, and ESC ?
Paper roll Character commands ESC E
Ver. 10.0 1 p. 122
ESC E
Paper roll Character commands ESC G
Ver. 10.0 1 p. 123
ESC G
ESC M
Page
Page
Page
ESC R
Page
[Model-dependent variations] TM-U220
Paper roll Character commands ESC V
Ver. 10.0 1 p. 131
ESC V
Paper roll Character commands ESC V
Ver. 10.0 1 p. 132
ESC r
Page
ESC t
Page
Page
Page
Paper roll Character commands ESC {
Ver. 10.0 1 p. 139
ESC {
Page
GS ( N
Page
Page
GS ( N p
p
fn m <Function 48>
Page
GS ( N p
p
fn m <Function 49>
Page
GS ( N p
p
fn m <Function 50>
Page
Paper roll Character commands GS !
Ver. 10.0 1 p. 150
GS !
Paper roll Character commands GS !
Ver. 10.0 1 p. 151
Paper roll Character commands GS B
GS B
Page
Paper roll Character commands GS b
Ver. 10.0 1 p. 154
GS b
Page
ESC c 5
Page
Page
Page
Page
Paper roll Paper sensor commands ESC c 3
Ver. 10.01 p. 161
ESC c 3
Paper roll Paper sensor commands ESC c 3
Ver. 10.01 p. 162
ESC c 4
Page
Page
Page
PRINT POSITION COMMANDS
Paper roll Print position commands HT
Ver. 10.0 1 p. 168
HT
Paper roll Print position commands ESC $
Ver. 10.0 1 p. 169
ESC $
Page
Paper roll Print position commands ESC D
Ver. 10.0 1 p. 171
ESC D
Paper roll Print position commands ESC D
Ver. 10.0 1 p. 172
Program example for HT and ESC D
Paper roll Print position commands ESC T
Ver. 10.0 1 p. 173
ESC T
Paper roll Print position commands ESC T
Ver. 10.0 1 p. 174
ESC W
Page
Page
Page
Paper roll Print position commands ESC \
Ver. 10.0 1 p. 179
ESC \
Paper roll Print position commands ESC \
Ver. 10.0 1 p. 180
Program example for ESC $ and ESC \
Paper roll Print position commands ESC a
Ver. 10.0 1 p. 181
ESC a
Paper roll Print position commands ESC a
Ver. 10.0 1 p. 182
[Model-dependent variations] None
Paper roll Print position commands GS $
GS $
Page
Paper roll Print position commands GS L
Ver. 10.0 1 p. 185
GS L
Page
Paper roll Print position commands GS T
Ver. 10.0 1 p. 187
GS T
Page
GS W
Program example for GS L and GS W
Page
Paper roll Print position commands GS \
Ver. 10.0 1 p. 192
GS \
Paper roll Print position commands GS \
Ver. 10.0 1 p. 193
Program example for GS $ and GS \
BIT-IMAGE COMMANDS
ESC *
Page
Page
TM-J2000 (single-color printing model) The modes selectable by
TM-J2100 (two-color printing model) The modes selectable by
Page
[Japanese model]
Page
Page
Page
Page
Page
FS p
Page
Program example and print sample for FS q and FS p
Program Example Program Example (continued)
Print Sample
Page
Page
GS ( L GS 8 L
Page
Page
kc1
kc2
dk
Page
Page
Page
[Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60
Program Sample 1 (Defining and printing NV graphics data)
Program Sample 2 (Printing graphics data)
PRINT #1,
Page
Page
Page
Page
GS ( L pL pH m fn <Function 48>
Page
Ver. 10.01 p. 227
GS ( L pL pH m fn x y <Function 49>
Page
GS ( L pL pH m fn <Function 50 >
GS ( L pL pH m fn <Function 51 >
Ver. 10.01 p. 231
GS ( L pL pH m fn <Function 52 >
Page
GS ( L pL pH m fn d1 d2 <Function 64 >
pLpHmfnd1d2
Page
GS ( L pL pH m fn d1 d2 d3 <Function 65>
GS ( L pL pH m fn kc1 kc2 <Function 66 >
Page
Page
Page
Page
Page
GS ( L pL pH m fn a kc1 kc2 b
[c d1...
]b <Function 68> GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b
Page
Page
Page
GS ( L pL pH m fn kc1 kc2 x y <Function 69>
Page
Page
Page
Page
GS ( L pL pH m fn d1 d2 <Function 80 >
pLpHmfnd1d2
Page
GS ( L pL pH m fn d1 d2 d3 <Function 81>
GS ( L pL pH m fn kc1 kc2 <Function 82 >
GS ( L pL pH m fn a kc1 kc2 b
[c d1...
]b <Function 83 > GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b
Page
Page
Page
GS ( L pL pH m fn a kc1 kc2 b
[c d1...
]b <Function 84> GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b
Page
Page
Page
GS ( L pL pH m fn kc1 kc2 x y <Function 85>
Page
GS ( L pL pH m fn a bx by c
d1...
<Function 112> GS 8 L p1 p2 p3 p4 m fn a bx by c
Page
Page
Page
bx
by
Page
Page
Page
Page
Page
FS q
Page
Page
Page
GS SETTING COMMAND
d
d1 dy+1 ... :
d2 dy+2 ... dk-2
dy dyx2 ... dk
: : ... dk-1
GS /
Page
Program example for GS and GS /
Page
m
Page
GS Q 0
d
Page
Program Example for GS Q 0
Definition
GS v 0
Page
Page
Page
Page
Page
STATUS COMMANDS
DLE EOT
na
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Paper roll Status commands ESC u
Ver. 10.0 1 p. 313
ESC u
Paper roll Status commands ESC v
Ver. 10.0 1 p. 314
ESC v
Page
GS a
Page
Page
Page
Page
Page
Page
Page
Page
Page
GS j
Page
Page
Page
Page
GS r
Page
Page
Page
Page
Page
BAR CODE COMMANDS
Paper roll Bar code commands GS H
Ver. 10.0 1 p. 338
GS H
Page
GS f
Page
Page
Paper roll Bar code commands GS h
Ver. 10.0 1 p. 343
GS h
[Notes]
Page
GS k
Page
Page
d2...d11
d11
d6
Page
Page
Page
Page
Page
Page
GS w
Page
Page
Page
Page
Page
Paper roll Macro function commands GS :
Ver. 10.0 1 p. 361
GS :
Page
GS ^
Ver. 10.0 1 p. 364
Program example for GS : and GS ^
Page
MECHANISM CONTROL COMMANDS
Paper roll Mechanism control commands ESC <
Ver. 10.0 1 p. 367
ESC <
Paper roll Mechanism control commands ESC U
Ver. 10.0 1 p. 368
ESC U
Paper roll Mechanism control commands ESC i
Ver. 10.0 1 p. 369
ESC i
Paper roll Mechanism control commands ESC m
Ver. 10.0 1 p. 370
ESC m
Paper roll Mechanism control commands ESC m
Ver. 10.0 1 p. 371
Program example for ESC i and ESC m
GS V
Page
Page
Page
Page
Page
Paper roll Miscellaneous commands
MISCELLANEOUS COMMANDS
Ver. 10.0 1 p. 378
DLE ENQ
Page
Page
Page
Paper roll Miscellaneous commands DLE DC4 (fn = 1)
Ver. 10.0 1 p. 383
DLE DC4 (fn = 1) EXECUTING COMMAND
Paper roll Miscellaneous commands DLE DC4 (fn = 1)
Ver. 10.0 1 p. 384
DLE DC4 (fn = 2) EXECUTING COMMAND
fn a b
02 a b
2ab
Page
Page
Page
DLE DC4 (fn = 7) EXECUTING + SETTING
Page
Page
Page
Page
DLE DC4 (fn = 8) EXECUTING COMMAND
Page
Page
Page
ESC ( A
Page
n c t <Function 48 >
c
Page
n c t1 t2 <Function 97 > (TM-U230)
a b n c t1 t2 <Function 98 > (TM-U230)
Page
a b n c t1 t2 <Function 99 > (TM-U230)
Page
Paper roll Miscellaneous commands ESC =
Ver. 10.0 1 p. 408
ESC =
Paper roll Miscellaneous commands ESC =
Ver. 10.0 1 p. 409
Paper roll Miscellaneous commands ESC @
ESC @
Paper roll Miscellaneous commands ESC @
Ver. 10.0 1 p. 411
Paper roll Miscellaneous commands ESC L
ESC L
Page
Paper roll Miscellaneous commands ESC S
Ver. 10.0 1 p. 414
ESC S
Program Example for ESC L and ESC S
Paper roll Miscellaneous commands ESC p
Ver. 10.0 1 p. 416
ESC p
GS ( A
Page
Page
sb
Page
Paper roll Miscellaneous commands GS ( D
Ver. 10.0 1 p. 422
GS ( D
Paper roll Miscellaneous commands GS ( D
Ver. 10.0 1 p. 423
Page
Paper roll Miscellaneous commands GS ( H Ver. 10 .01 p. 425
GS ( H
Paper roll Miscellaneous commands GS ( H Ver. 10 .01 p. 426
Print Example
[Model-dependent variations] TM-P60 TM-P60 The printer does not support function 49.
GS ( H p
fn m d1 d2 d3 d4 <Function 48>
d3
d4
d3
GS ( H p
fn m d <Function 49>
Page
Page
Page
Page
Page
Page
Page
Page
Page
GS ( K
GS ( K <Function 48>
Page
Page
GS ( K <Function 49>
Page
Page
GS ( K <Function 50>
Page
GS ( K <Function 97>
Page
Paper roll Miscellaneous commands GS <
Ver. 10.0 1 p. 451
GS <
Paper roll Miscellaneous commands GS A
Ver. 10.0 1 p. 452
GS A
Paper roll Miscellaneous commands GS A
Ver. 10.0 1 p. 453
Paper roll Miscellaneous commands GS E
GS E
Page
GS I
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Paper roll Miscellaneous commands GS P
Ver. 10.0 1 p. 470
GS P
Paper roll Miscellaneous commands GS P
y
x
y
Page
Paper roll Miscellaneous commands GS g 0
Ver. 10.0 1 p. 473
GS g 0
Paper roll Miscellaneous commands GS g 0
Ver. 10.0 1 p. 474
GS g 2
Page
Page
Page
Page
Page
GS z 0
t2
t2
Page
Page
Page
KANJI COMMANDS
FS !
Page
Program Example
Print Sample
Paper roll Kanji commands FS &
Ver. 10.0 1 p. 490
FS &
Paper roll Kanji commands FS &
Ver. 10.0 1 p. 491
FS ( A
FS ( A
<Function 48>
Page
Paper roll Kanji commands FS
Ver. 10.0 1 p. 495
FS
Paper roll Kanji commands FS
Ver. 10.0 1 p. 496
Paper roll Kanji commands FS .
FS .
Paper roll Kanji commands FS .
Ver. 10.0 1 p. 498
FS 2
Page
Page
Page
Paper roll Kanji commands FS C
Ver. 10.0 1 p. 503
FS C
Paper roll Kanji commands FS C
Ver. 10.0 1 p. 504
Paper roll Kanji commands FS S
FS S
Paper roll Kanji commands FS S
Ver. 10.0 1 p. 506
Paper roll Kanji commands FS W
FS W
Paper roll Kanji commands FS ?
Ver. 10.0 1 p. 508
FS ?
Paper roll Kanji commands FS ?
Ver. 10.0 1 p. 509
[Model-dependent variations] None Program Example
Page
GS ( k
fn
cn fn
Page
Page
Page
Page
GS ( k <Function 065>
GS ( k <Function 066>
GS ( k <Function 067>
GS ( k <Function 068>
GS ( k <Function 069>
Page
GS ( k <Function 070>
GS ( k <Function 080>
GS ( k <Function 081>
Page
Page
GS ( k <Function 082>
Page
Page
GS ( k <Function 165>
GS ( k <Function 167>
GS ( k <Function 169>
GS ( k <Function 180>
Page
GS ( k <Function 181>
Page
Page
GS ( k <Function 182>
Page
Page
GS ( k <Function 265>
GS ( k <Function 280>
GS ( k <Function 281>
Page
Page
GS ( k <Function 282>
Page
Page
Paper roll Customize commands
CUSTOMIZE COMMANDS
Ver. 10.0 1 p. 549
Page
Paper roll Customize commands FS g 1
Ver. 10.0 1 p. 551
FS g 1
Paper roll Customize commands FS g 1
Ver. 10.0 1 p. 552
Paper roll Customize commands FS g 2
FS g 2
Paper roll Customize commands FS g 2
Ver. 10.0 1 p. 554
GS ( C
d1... dk
Page
Page
Page
GS ( C pL pH m fn b c1 c2 <Function 0>
GS ( C pL pH m fn b c1 c2 d1...dk <Function 1>
Page
GS ( C pL pH m fn b c1 c2 <Function 2>
Page
GS ( C pL pH m fn b <Function 3>
GS ( C pL pH m fn b <Function 4>
GS ( C pL pH m fn b <Function 5>
Page
GS ( C pL pH m fn b d1 d2 d3 <Function 6>
GS ( E
Page
Page
Page
GS ( E pL pH fn d1 d2 <Function 1>
GS ( E pL pH fn d1 d2 d3 <Function 2>
GS ( E pL pH fn [a1 b18...b11]...[ak nk8 nk1] <Function 3>
Page
b18...b11
ab
Page
Page
Page
Page
Page
Page
GS ( E pL pH fn a <Function 4>
GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH] <Function 5>
Page
Page
Page
NV graphics memory capacity settings (
= 2)
= 5)
Paper width settings (
* Not available NV graphics functions Memory combinations that can be specified:
Print speed (
= 6)
= 116)
Select paper settings (
Print level 1 is the lowest speed. Number of division of thermal head energizing (
a =
NV graphics memory capacity settings (
= 2)
Select paper width settings (
* Not available NV graphics functions Memory combinations that can be specified:
= 117)
Print density settings (
= 5)
= 97)
Print control mode settings (
= 6)
Page
Page
GS ( E pL pH fn a <Function 6>
Page
Page
GS ( E pL pH fn a d1 d2 <Function 7>
Page
Page
Page
GS ( E pL pH fn y c1 c2[x d1...d(y x)] k <Function 8>
Page
GS ( E pL pH fn x c1 c2[y d1...d(x y)] k <Function 9>
Page
GS ( E pL pH fn c1 c2 <Function 10>
GS ( E pL pH fn a d1...dk <Function 11>
Page
Page
Page
GS ( E pL pH fn a <Function 12>
Page
GS ( E pL pH fn d1 d2 d3 <Function 48>
GS ( E pL pH fn sa ; sb ; sc ; sd ; se ; sf ; sg ; sh; <Function 49>
Page
Page
sb, sc, sg, sh
pH fn a ; ; ; sd ; se ; sf ; ; ;
sb
Page
Page
GS ( E pL pH fn n <Function 50>
Page
Page
Page
GS ( M
Page
Page
Page
Page
GS ( M
<Function 1>
GS ( M
<Function 2>
GS ( M pL pH fn m <Function 3>
COUNTER PRINTING COMMANDS
Paper roll Counter printing commands GS C 0
Ver. 10.0 1 p. 635
GS C 0
Page
Paper roll Counter printing commands GS C 1
Ver. 10.0 1 p. 637
GS C 1
Paper roll Counter printing commands GS C 1
a
b
Ver. 10.0 1 p. 638
GS C 2
Paper roll Counter printing commands GS C ;
Ver. 10.0 1 p. 640
GS C ;
Paper roll Counter printing commands GS C ;
Ver. 10.0 1 p. 641
Page
Paper roll Counter printing commands GS c
Ver. 10.0 1 p. 643
GS c
Page
PRINTING PAPER COMMANDS
FS ( L
Page
Page
FS ( L <Function 48 >
Page
Page
Page
FS ( L <Function 65 >
Page
FS ( L <Function 66 >
FS ( L <Function 67 >
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Paper roll Using the character code tables
USING THE CHARACTER CODE TABLES
Ver. 10.0 1 p. 677
Paper roll Using bit value tables
USING BIT VALUE TABLES
Ver. 10.0 1 p. 678