Epson TM-T20 Quick Reference Manual - Page 3

Browse online or download pdf Quick Reference Manual for Label Maker Epson TM-T20. Epson TM-T20 4 pages. Esc/pos
Also for Epson TM-T20: Brochure (2 pages), User Manual (20 pages), Datasheet (2 pages), Instructions For Installing (9 pages), Setup Manual (2 pages), Setup Manual (2 pages)

Epson TM-T20 Quick Reference Manual
Logo Print Commands (continued)
FS ( E 6 0 60 2 c "CLR"
Clears set values in NV memory for top or bottom logo
printing.
c = "0": Top logo, c = "1": Bottom logo
Bar Code Commands
GS k m d1...dk NUL
Prints bar code. NUL terminates the data.
m
bar code system
0
UPC-A
1
UPC-E
2
JAN13 / EAN13
3
JAN8 / EAN8
4
CODE39
5
ITF
6
CODABAR (NW-7)
GS k m n d1...dn
Prints bar code. n specifies the data length.
m
bar code system
"A"
UPC-A
"B"
UPC-E
"C"
JAN13 / EAN13
"D"
JAN8 / EAN8
"E"
CODE39
"F"
ITF
"G"
CODABAR (NW-7)
"H"
CODE93
"I"
CODE128
"J"
GS1-128
"K"
GS1 DataBar Omnidirectional 13
"L"
GS1 DataBar Truncated
"M"
GS1 DataBar Limited
"N"
GS1 DataBar Expanded
GS h n
Sets bar code height to n dots.
GS w n
Sets bar width of bar code.
n = 2–6 (thin–thick)
GS H n
Selects print position of HRI characters.
n = 0, "0": Not printed
n = 1, "1": Above the bar code
n = 2, "2": Below the bar code
n = 3, "3": Both above and below the bar code
GS f n
Selects font for the HRI characters.
n = 0, "0": Font A, n = 1, "1": Font B
Two-Dimensional Code Commands
GS ( k pL pH cn fn [parameters]
Stores, prints symbol data, or configure the settings.
cn = 48: PDF417
49: QR Code
50: MaxiCode
51: 2-dimensional GS1 DataBar
52: composite symbology
Two-Dimensional Code Commands (continued)
fn=60
function
Store symbol data in
memory
Print 2D symbol
Send 2D symbol size
columns
number of d (=k)
rows
11 or 12
module
6, 7, 8, 11 or 12
12 or 13
row height
7 or 8
error
1 or more
Setting
correction
even
2 or more
options
maximum
width
number of d (=k)
font
11 or 12
6, 7, 8, 11 or 12
12 or 13
Send data of GS ( k (fn=82):
7 or 8
1 or more
even
2 or more
1–255
Id
2–255
X: horizontal dots 1–5
2–255
Y: vertical dots
13
Fl: flag
13
Ec: error code
2–255
Status Commands
DLE EOT n
cn
fn
48
49
50
51
m d1...dk
m n d1...dk m a b d1...dk
80
(m=48)
81
m (m=48)
82
m (m=48)
65
n
n1 n2
n
66
n
67
n
n
n
68
n
m n
n
69
70
m
nL nH
71
72
[parameters] (blank = invalid command)
"7" + Id + X + 31 + Y + 31 + "1" + 31 + Fl + Ec + NUL
number
cn
of bytes
48
49
50
51
1
"/"
"6"
"7"
"O"
"0"–"99999"
1–5
"0"–"99999"
1
"0" = printable, "1" = not printable
0 or 4
N/A (0 byte)
"0000"–"9999"
Transmits real-time status as 1 byte.
n = 1: Printer status (binary: 0000xx00)
bit 2 = 1: Drawer kick-out connector pin 3: High
= 0: Drawer kick-out connector pin 3: Low
bit 3 = 1: in Offline, 0: in Online
n = 2: Offline cause status (0xx0xx00)
bit 2 = 1: Cover is open, 0: closed
bit 3 = 1: on feeding paper by switch, 0: not
bit 5 = 1: Printing stopped due to paper end, 0: not
bit 6 = 1: in Error state, 0: not
n = 3: Error cause status (0xx0x000)
bit 3 = 1: Autocutter error, 0: not
bit 5 = 1: Unrecoverable error, 0: not
bit 6 = 1: Automatically recoverable error, 0: not
n = 4: Paper end sensor status (0xx00000)
bit 5, 6 = 1: Paper end, 0: paper present
Status Commands (continued)
GS r n
Transmits status specified by n as 1 byte after completion
of prior print or command.
52
n = 1, "1": Paper sensor status
Status = 0: Paper end sensor: paper present
Status = 12: Paper end sensor: not present
n = 2, "2": Drawer kick-out connector status
Status = 0: Drawer kick-out connector pin 3: Low
Status = 1: Drawer kick-out connector pin 3: High
GS a n
Enables or disables basic ASB (Automatic Status Back).
bit of n
Status (1: enable, 0: disable)
0
Drawer kick-out connector status
n
1
Online/offline status
2
Error status
3
Paper end sensor status
ASB status binary (x=0 or 1)
first byte
0xx1 xx00
bit 2
bit 3
nL nH
bit 5
bit 6
n
2nd byte
0xx0 x000
bit 3
bit 5
bit 6
3rd byte
0110 xx00
bit 2, 3 = 1: Paper end, 0: paper present
4th byte
0110 1111
52
"P"
Macro Function Commands
GS :
Starts or ends macro definition.
GS ^ r t m
Executes defined macro.
r:
repeat times
t:
interval time (×100msec)
m = 0: repeat continuously
m = 1: repeat by pressing the Feed button
RT
Miscellaneous Commands
ESC @
Initializes printer.
DLE ENQ n
Recovers from recoverable errors.
n = 1: Recovers and starts printing from the line where the error
occurred
n = 2: Recovers after clearing both receive and print buffers
GS ( D pL pH 20 [a1 b1]...[ak bk]
Enables or disables real-time command.
a = 1: DLE DC4 (fn=1)
a = 2: DLE DC4 (fn=2)
ESC = n
Enables or disables the printer device.
n = 1, 3: Enable, n = 0: Disable
= 1: Drawer kick-out connector pin 3: High
= 0: Drawer kick-out connector pin 3: Low
= 1: in Offline, 0: in Online
= 1: Cover is open, 0: closed
= 1: on feeding paper by switch, 0: not
= 1: Autocutter error, 0: not
= 1: Unrecoverable error, 0: not
= 1: Automatically recoverable error, 0: not
RT
b = 0, "0": Disable
b = 1, "1": Enable