Epson TM-T20II Technical Reference Guide - Page 62

ESC/POS Commands, ESC/POS command functions

Page 62 highlights

ESC/POS Commands ESC/POS is the Epson original printer command system. With ESC/POS commands, you can directly control all the TM printer functions, but detailed knowledge of printer specifications or combination of commands is required, compared to using a driver. The ESC/POS command functions are listed as follows. For detailed information about ESC/ POS commands, see the ESC/POS Quick Reference or the contents for TM-T20II in the ESC/POS Command Reference that can be accessed from the following URL. https://reference.epson-biz.com/pos/reference/ ESC/POS command functions Commands for printing Print and line feed Print and return to standard mode (in page mode) Print and carriage return Print data in page mode Print and feed paper Print and feed n lines Commands for line spacing Set line spacing Select default line spacing Commands for print character Cancel print data in page mode Set right-side character spacing Select print mode(s) Select/cancel user-defined character set Define user-defined characters Turn underline mode on/off Cancel user-defined characters Turn emphasized mode on/off Turn double-strike mode on/off Select character font 62

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

62
ESC/POS Commands
ESC/POS
i
s
t
he Epso
n
or
igin
al pr
int
er comma
n
d sys
t
em. W
it
h ESC/POS comma
n
ds, yo
u
ca
n
d
i
rec
t
ly co
nt
rol all
t
he TM pr
int
er f
un
c
ti
o
n
s, b
ut
de
t
a
i
led k
n
owled
g
e of pr
int
er spec
i
f
i
ca
ti
o
n
s or
comb
in
a
ti
o
n
of comma
n
ds
i
s req
ui
red, compared
t
o
u
s
ing
a dr
i
ver.
The ESC/POS comma
n
d f
un
c
ti
o
n
s are l
i
s
t
ed as follows. For de
t
a
i
led
in
forma
ti
o
n
abo
ut
ESC/
POS comma
n
ds, see
t
he ESC/POS Q
ui
ck Refere
n
ce or
t
he co
nt
e
nt
s for TM-T20II
in
t
he ESC/POS
Comma
n
d Refere
n
ce
t
ha
t
ca
n
be accessed from
t
he follow
ing
URL.
h
tt
ps://refere
n
ce.epso
n
-b
i
z.com/pos/refere
n
ce/
ESC/POS command functions
Commands for printing
Print and line feed
Print and return to standard mode (in page mode)
Print and carriage return
Print data in page mode
Print and feed paper
Print and feed
n
lines
Commands for line spacing
Set line spacing
Select default line spacing
Commands for print character
Cancel print data in page mode
Set right-side character spacing
Select print mode(s)
Select/cancel user-defined character set
Define user-defined characters
Turn underline mode on/off
Cancel user-defined characters
Turn emphasized mode on/off
Turn double-strike mode on/off
Select character font