Epson TM-T81, Receipt Printer TM T81 Technical & Specifications Manual

Page 1
Confidential
EPSON
Receipt Printer
TM-T81
Specification
Rev. No. A
Notes
Copied Date , ,
Copied by
SEIKO EPSON CORPORATION
MATSUMOTO MINAMI PLANT 2070 KOTOBUKI KOAKA, MATSUMOTO-SHI, NAGANO, 399-8702 JAPAN PHONE+81-263-86-5353 FAX+81-263-86-9925
Page 2
Confidential
REVISION SHEET
Sheet 1 of 3 The table below indicates which pages in this specification have been revised. Before reading this specification, be sure you have the correct version of each page.
Revisions Design Section Sheet Rev. No.
Rev. Document WRT CHK APL Sheet Rev. Sheet Rev. Sheet Rev.
A Enactment
Akema -- Iino
I
A 17 A 42 A
II
A 18 A 43 A
III
A 19 A 44 A
IV
A 20 A 45 A
V
A 21 A 46 A
VI
A 22 A 47 A
23 A 48 A
24 A 49 A
25 A 50 A
1 A 26 A 51 A
2 A 27 A 52 A
3 A 28 A 53 A
4 A 29 A 54 A
5 A 30 A 55 A
6 A 31 A 56 A
7 A 32 A 57 A
8 A 33 A 58 A
9 A 34 A 59 A
10 A 35 A 60 A
11 A 36 A 61 A
12 A 37 A 62 A
13 A 38 A 63 A
14 A 39 A 64 A
15 A 40 A 65 A
16 A 41 A 66 A
Front Part
Cover
Rev.
Sheet
Confidentiality
Agreement
General
Features
Table of
Contents Contents Appendix Total
TITLE
TM-T81
Specification
(STANDARD)
1 3 1 1 4 114 13 137
Page 3
Confidential
REVISION SHEET
Sheet 2 of 3 The table below indicates which pages in this specification have been revised. Before reading this specification, be sure you have the correct version of each page.
Revisions Design Section Sheet Rev. No.
Rev. Document WRT CHK APL Sheet Rev. Sheet Rev. Sheet Rev.
A Enactment
67 A 92 A App.1 A
68 A 93 A App.2 A
69 A 94 A App.3 A
70 A 95 A App.4 A
71 A 96 A App.5 A
72 A 97 A App.6 A
73 A 98 A App.7 A
74 A 99 A App.8 A
75 A 100 A App.9 A
76 A 101 A App.10 A
77 A 102 A App.11 A
78 A 103 A App.12 A
79 A 104 A App.13 A
80 A 105 A
81 A 106 A
82 A 107 A
83 A 108 A
84 A 109 A
85 A 110 A
86 A 111 A
87 A 112 A
88 A 113 A
89 A 114 A
90 A
91 A
Front Part
Cover
Rev.
Sheet
Confidentiality
Agreement
General
Features
Table of
Contents Contents Appendix Total
TITLE
TM-T81
Specification
(STANDARD)
1 3 1 1 4 114 13 137
Page 4
Confidential
REVISION SHEET
Sheet 3 of 3
REV. SHEET CHANGED CONTENTS
A All Newly enacted
TITLE
TM-T81
Specification
(STANDARD)
Page 5
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
CONFIDENTIALITY AGREEMENT
BY USING THIS DO CUMENT, YOU AGREE TO ABIDE BY THE TERMS O F THIS AGREEMENT. PLEASE RETURN THIS DOCUM ENT IMMEDIATELY IF YOU DO NOT AG REE TO THESE TERMS.
1. This document contains confidential, proprietary information of Seiko Epson Corporation or its affiliates. You must keep such informat ion confidential. If the user is a business entity or organization, you must l imit disclosure to those of your employees, agents, and contract or s who have a need to know and who are also bound by obligations of conf i denti al ity.
2. On the earlier of (a) terminati on of your r elat i onship with Seiko Epson, or (b) Seiko Epson's request, you must stop using the confidential i nf or mation. You must then return or destroy the infor mation, as di r ected by Seiko Epson.
3. If a court , arbitrat or , government agency, or the like orders you to disclose any confidential i nformation, you must immediately notify Seiko Epson. You agree to give Seiko Epson reasonable cooperation and assistance in the negotiation.
4. You may use confidential information only f or t he purpose of operating or servic i ng t he products t o whic h t he document relates, unless you obtain the prior written consent of Seiko Epson for some other use.
5. Seiko Eps on warrants t h a t it has t h e right to d isclose th e confidenti al information. SEIKO EPSO N MAKES NO OTHER WARRANTIES CONCERNI NG THE CONFIDENTIAL INFORMATION OR ANY O THER INFORMATIO N IN THE DOCUMENT, INCLUDING ( WI T HO UT L I MITATION) ANY W ARRANTY OF TITLE O R NON-INFRINGEMENT. Seiko Epson has no liability for loss or damage arising from or relating to your use of or reliance on the informat i on in the document.
6. You may not r eproduce, store, or t r ansmit t he confidential information in any for m or by any m eans (electronic, mechanical, photocopying, recording, or ot herwise) wit hout t he prior written permission of Seiko Epson.
7. Your obligat ions under this Agreement are in addition t o any ot her l egal obligations. Seiko Epson does not waive any right under this Agreement by failing to exercise it. The laws of Japan apply to t hi s Agreement.
Cautions
1. This document shall apply only t o t he product( s) i dentified herein.
2. No part of this document may be reproduced, stored in a retrieval system , or transmi t t ed in any for m or by any means, electronic, m echanical , photocopying, recording, or ot herwise, wit hout t he prior wr i t ten permission of Seiko Epson Corporation.
3. The contents of this document are subject to change without notice. Please contact us for the latest information.
4. While every precaution has been taken in the preparation of this document, Seiko Epson Corporati on assumes no responsibility for errors or omissions.
5. Neither is any liability assumed for damages resulting from the use of the information contained herein.
6. Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parti es for damages, losses, costs, or expenses incurred by the purchaser or third parties as a result of: acci dent, misuse, or abuse of this product or unauthor ized modificati ons, repairs, or alterations to this pr oduct , or ( excluding t he U. S.) failure to stri ct ly comply wi t h Seiko Epson Corporation's operating and mai nt enance instructi ons.
7. Seiko Epson Corporation shall not be liabl e against any damages or problems arising from the use of any options or any consumabl e product s other than those designated as Original EPSON Products or EPSO N Appr oved Products by Seiko Epson Corporation.
8. When this product is used for applicati ons requiring high reliab ility / safety such as transportation devices related to aviation, r ai l, marine, automoti ve etc.; disaster prevention devices; various safety devices etc; or functional / precision devices etc, you should use this product only aft er givi ng consideration to including fail-saf es and redundancies into your design to maint ai n saf ety and t ot al syst em r eli ability. Because this product was not intended for use in applications requiring extremely high reliability / safety such as aerospace equipment, main communication equipment, nucl ear power control equipment, or m edical equipment related to direct medical car e etc, please make your own judgment on this product’s sui t ability after a full evaluation.
Trademarks
EPSON® and ESC/POS® are registered trademarks of Seiko Epson Corporation in t he United Stats and/or in other countries.
General Notice: Other product and company names used herein are for identification purposes only and may be trademarks of their r espective companies.
III
Page 6
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
GENERAL FEATURES
1) This specification applies to the TM-T81 printer.
* This specification describes only the outline of the general functions and the model-dependent functions
of the commands. For detailed specifications and usage of the commands, please see the ESC/POS APG (Application Programming Guide) that is separately issued.
2) Features The TM-T81 printer has the following features:
<Printing>
High-speed printing (130 mm/s {5.12"/s} maximum), which enables issuing of batch receipts.
<Printer Handling>
Easy drop-in paper loading.
<Application Software>
Command protocol is based on the ESC/POS
®
standard.
OPOS ADK and W indows
®
printer drivers are available.
In addition to several kinds of bar code printing, two-dimensional code (PDF417, QR code) printing is supported.
Various Layouts are possible by using page mode.
A maintenance counter function is supported.
IIIII
Page 7
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
Table of Contents
1. GENERAL SPECIFICATIONS ........................................................................................................1
1.1 Printing Specifications.............................................................................................................1
1.2 Character Specifications..........................................................................................................2
1.3 Autocutter................................................................................................................................2
1.4 Paper Roll Supply Device ........................................................................................................3
1.5 Paper Specification..................................................................................................................3
1.6 Printable Area..........................................................................................................................5
1.7 Printing and Cutting Positions..................................................................................................5
1.8 Internal Buffer..........................................................................................................................5
1.9 Electrical Characteristics .........................................................................................................6
1.10 EMI and Safety Standards Applied ........................................................................................8
1.11 Reliability...............................................................................................................................8
1.12 Environmental Conditions......................................................................................................9
1.13 Installation ...........................................................................................................................10
2. CONFIGURATION........................................................................................................................11
2.1 Interface ................................................................................................................................11
2.1.1 RS-232 serial interface ...................................................................................................11
2.1.2 USB (Universal Serial Bus) Interface..............................................................................16
2.2 Connectors ............................................................................................................................17
2.2.1 Interface Connectors ......................................................................................................17
2.2.2 Power Supply Connector ................................................................................................17
2.2.3 Drawer Kick-out Connector (Modular Connector) ............................................................18
3. FUNCTIONS.................................................................................................................................20
3.1 List of Commands..................................................................................................................20
3.2 Character Code Tables..........................................................................................................24
3.2.1 Common to all pages (International Character Set: USA) ...............................................24
3.2.2 Page 0 [PC437: USA, Standard Europe].........................................................................25
3.2.3 Page 1 [Katakana] ..........................................................................................................26
3.2.4 Page 2 [PC850: Multilingual] ..........................................................................................27
3.2.5 Page 3 [PC860: Portuguese] ..........................................................................................28
3.2.6 Page 4 [PC863: Canadian-French] .................................................................................29
3.2.7 Page 5 [PC865: Nordic] ..................................................................................................30
3.2.8 Page 16 [WPC1252] .......................................................................................................31
3.2.9 Page 17 [PC866: Cyrillic #2]...........................................................................................32
3.2.10 Page 18 [PC852: Latin2] ...............................................................................................33
3.2.11 Page 19 [PC858: Euro] .................................................................................................34
3.2.12 Page 255 [User-defined page] ......................................................................................35
3.2.13 International Character Sets .........................................................................................36
3.3 Switches and Buttons ............................................................................................................37
3.3.1 Power Button..................................................................................................................37
3.3.2 Panel Buttons .................................................................................................................37
3.3.3 DIP Switches..................................................................................................................38
3.3.4 Customized value...........................................................................................................41
3.4 Panel LED Indicators .............................................................................................................42
3.5 Self-test.................................................................................................................................43
3.6 Hexadecimal Dumping ..........................................................................................................44
3.7 NV Graphics Print Mode ........................................................................................................45
3.8 Error Processing....................................................................................................................46
3.8.1 Error Types.....................................................................................................................46
3.8.2 Printer Operation When an Error Occurs ........................................................................47
IIIIV
Page 8
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
3.8.3 Data Receive Error (only in the serial interface specification) .........................................47
3.9 Cover Open Sensor ...............................................................................................................48
3.10 Print Buffer-full Printing .......................................................................................................48
4. CASE SPECIFICATIONS .............................................................................................................49
4.1 External Dimensions and Mass..........................................................................................49
4.2 Color .....................................................................................................................................49
4.3 External Appearance .............................................................................................................49
5. OPTIONS AND CONSUMABLES .................................................................................................50
5.1 Standard Accessories ............................................................................................................50
5.2 Options..................................................................................................................................50
5.3 Consumables.........................................................................................................................50
6. COMMANDS ................................................................................................................................51
6.1 Command Notation................................................................................................................51
XXXX.............................................................................................................................51
6.2 Explanation of Terms.............................................................................................................51
6.3 Control Commands................................................................................................................53
HT .................................................................................................................................53
LF..................................................................................................................................53
FF (In page mode) ......................................................................................................53
CR.................................................................................................................................53
CAN ..............................................................................................................................54
DLE EOT n....................................................................................................................54
DLE ENQ n....................................................................................................................57
DLE DC4 fn m t (fn = 1)...............................................................................................58
DLE DC4 fn a b (fn = 2)...............................................................................................59
DLE DC4 fn d1…d7 (fn = 8) ........................................................................................60
ESC FF .........................................................................................................................60
ESC SP n......................................................................................................................60
ESC ! n..........................................................................................................................61
ESC $ nL nH .................................................................................................................62
ESC % n........................................................................................................................62
ESC & y c1 c2 [x1 d1...d(y
×
x1)]...[xk d1...d(y×xk)] .........................................................62
ESC m nL nH d1...dk....................................................................................................63
ESC n.........................................................................................................................63
ESC 2............................................................................................................................63
ESC 3 n.........................................................................................................................64
ESC = n.........................................................................................................................64
ESC ? n.........................................................................................................................64
ESC @..........................................................................................................................65
ESC D n1...nk NUL........................................................................................................65
ESC E n ........................................................................................................................65
ESC G n........................................................................................................................66
ESC J n.........................................................................................................................66
ESC L............................................................................................................................66
ESC M n........................................................................................................................67
ESC R n........................................................................................................................67
ESC S ...........................................................................................................................68
ESC T n.........................................................................................................................68
ESC V n ........................................................................................................................68
ESC W xL xH y L y H dx L dx H dy L dy H...........................................................................69
ESC \ nL nH ..................................................................................................................69
IVV
Page 9
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
ESC a n.........................................................................................................................70
ESC c 4 n......................................................................................................................70
ESC c 5 n......................................................................................................................70
ESC d n.........................................................................................................................71
ESC p m t1 t2................................................................................................................71
ESC t n..........................................................................................................................72
ESC { n..........................................................................................................................72
FS g 1 m a1 a2 a3 a4 nL nH d1...dk [obsolete command] ...........................................73
FS g 2 m a1 a2 a3 a4 nL nH [obsolete command].......................................................73
GS ! n............................................................................................................................74
GS $ nL nH....................................................................................................................74
GS ( A pL pH n m..........................................................................................................75
GS ( D pL pH m [a1 b1]...[ak bk]....................................................................................76
GS ( E pL pH fn [parameters] ........................................................................................77
<Function 1> GS ( E pL pH fn d1 d2 (fn = 1) ...............................................................77
<Function 2> GS ( E pL pH fn d1 d2 d3 (fn = 2) ..........................................................78
<Function 5> GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH] (fn = 5) .............................78
<Function 6> GS ( E pL pH fn a (fn = 6)......................................................................80
<Function 11> GS ( E pL pH fn a d1...dk (fn = 11).......................................................80
<Function 12> GS ( E pL pH fn a (fn = 12) ..................................................................81
GS ( H pL pH fn [parameters] ........................................................................................81
<Function 48> GS ( H pL pH fn m d1 d2 d3 d4 (fn = 48)..............................................81
GS ( K pL pH fn [parameters] ........................................................................................82
<Function 50> GS ( K pL pH fn m (fn = 50) .................................................................82
GS ( L pL pH m fn [parameters].....................................................................................83
GS 8 L p1 p2 p3 p4 m fn [par am eters] ...........................................................................83
<Function 48> GS ( L pL pH m fn (
fn = 0, 48)..............................................................84
<Function 50> GS ( L pL pH m fn (fn = 2, 50)..............................................................84
<Function 51> GS ( L pL pH m fn (fn = 3, 51)..............................................................85
<Function 64> GS ( L pL pH m fn d1 d2 (fn = 64)........................................................85
<Function 65> GS ( L pL pH m fn d1 d2 d3 (fn = 65)...................................................85
<Function 66> GS ( L pL pH m fn kc1 kc2 (fn = 66).....................................................86
<Function 67> GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1…dk]1…
[c d1....dk]b (fn = 67)..............................................................................86
<Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn = 69) ...............................................87
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn = 112) ...............88
GS ( k pL pH cn fn [parameters] ....................................................................................89
<Function 065> GS ( k pL pH cn fn n (cn = 48 , fn = 65) .............................................90
<Function 066> GS ( k pL pH cn fn n (cn = 48 , fn = 66) .............................................90
<Function 067> GS ( k pL pH cn fn n (cn = 48 , fn = 67) .............................................91
<Function 068> GS ( k pL pH cn fn n (cn = 48 , fn = 68) .............................................91
<Function 069> GS ( k pL pH cn fn m n (cn = 48 , fn = 69) .........................................92
<Function 070> GS ( k pL pH cn fn m (cn = 48 , fn = 70) ............................................93
<Function 080> GS ( k pL pH cn fn m d1…dk (cn = 48 , fn = 80) ................................93
<Function 081> GS ( k pL pH cn fn m (cn = 48 , fn = 81) ............................................94
<Function 082> GS ( k pL pH cn fn m
(cn = 48 , fn = 82) ............................................94
<Function 165> GS ( k pL pH cn fn n1 n2 (cn = 49 , fn = 65).......................................95
<Function 167> GS ( k pL pH cn fn n (cn = 49 , fn = 67) .............................................95
<Function 169> GS ( k pL pH cn fn n (cn = 49 , fn = 69) .............................................96
<Function 180> GS ( k pL pH cn fn m d1…dk (cn = 49 , fn = 80) ................................96
<Function 181> GS ( k pL pH cn fn m (cn = 49 , fn = 81) ............................................97
<Function 182> GS ( k pL pH cn fn m (cn = 49 , fn = 82) ............................................97
VI V
Page 10
Confidential
TITLE
SHEET REVISION
NO
SHEETNEXT
A
TM-T81
Specification
(STANDARD)
EPSON
GSx y d1...dk [obsolete command] .........................................................................98
GS / m [obsolete command] ......................................................................................98
GS :...............................................................................................................................99
GS B n ..........................................................................................................................99
GS H n..........................................................................................................................99
GS I n..........................................................................................................................100
GS L n L nH.................................................................................................................101
GS P x y ......................................................................................................................101
<A> GS V m................................................................................................................101
<B> GS V m n.............................................................................................................101
GS W nL nH................................................................................................................102
GS \ nL nH ..................................................................................................................102
GS ^ r t m....................................................................................................................102
GS a n.........................................................................................................................103
GS b n.........................................................................................................................104
GS f n..........................................................................................................................105
GS g 0 m nL nH...........................................................................................................105
GS g 2 m nL nH...........................................................................................................106
GS h n.........................................................................................................................106
<A> GS k m d1...dk NUL.............................................................................................107
<B> GS k m n d1...dn..................................................................................................107
GS r n..........................................................................................................................109
GS w n........................................................................................................................110
6.4 Obsolete Commands ...........................................................................................................111
ESC i [obsolete command]....................................................................................111
ESC m [obsolete command] ....................................................................................111
ESC u n [obsolete command]
............................................................................112
ESC v [obsolete command] ....................................................................................112
FS p n m [obsolete command] ............................................................................113
FS q n [xL xH yL yH d1...dk]1 ... [xL xH yL yH d1...dk]n [obsolete command].............113
GS v 0 m xL xH yL yH d1...dk [obsolete command].............114
APPENDIX A: MISCELLANEOUS NOTES ................................................................................. App.1
A.1 Notes on Printing and Paper Feeding .............................................................................. App.1
A.2 Notes on Supplying the Power to the Printer.................................................................... App.2
A.3 Notes on use environment............................................................................................... App.2
A.4 Other Notes..................................................................................................................... App.3
APPENDIX B: PAPER ROLL SETUP.......................................................................................... App.4
B.1 Replacing the Paper Roll ................................................................................................. App.4
APPENDIX C: RECOVERY FROM THE AUTO CUTTER ERROR ............................................ App.5
APPENDIX D: ADJUSTING THE PAPER ROLL NEAR-END SENSOR LOCATION .................. App.6
APPENDIX F: NOTES ON USING THE DRAWER KICK-OUT CONNECTOR........................... App.8
APPENDIX G: NOTES ON UPDATING THE MAINTENANCE COUNTER AND TURNING THE
PRINTER’S POWER OFF .........................................................................................................App.11
G.1 About updating the maintenance counter .......................................................................App.11
G.2 Power off procedure by the host.....................................................................................App.11
APPENDIX H: NOTES ON PRINTING 2-DIMENSIONAL CODE...............................................App.12
APPENDIX I: NOTES ON SCANNING THE PRINT RESULT ON THE RECEIPT ...................App.12
APPENDIX J: NOTES ON USING THE ASB STATUS.............................................................App.13
VI1
Page 11
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
2 1
TM-T81
Specification
(STANDARD)
A
1. GENERAL SPECIFICATIO N S
1.1 Printing Specifications
1) Printing m ethod: Thermal line printing
2) Dot density: 180 dpi × 180 dpi [dpi: dot s per 25. 4 mm {1"}]
3) Printing dir ec tion: Unidirectional wit h fri c tion f eed
4) Paper width: 80 mm { 3.15"}
5) Printing width: 72 mm { 2.83"}, 512 dot posi tions
6) Characters per line (defaul t): Font A: 42 Font B: 56
7) Character spacing (default): F ont A: 0.28 mm {0.01"} ( 2 dots) Font B: 0.28 mm {0.01" } ( 2 dots) NOTE: Pr ogr ammable by control command.
8) Line spacing: 4.23 mm {1/6"} NOTE: Pr ogr ammable by control command.
9) Maximum printing speed: Normal: 130 mm/s {5.1"/s}
Approximately 30.7 l ps (4. 23 mm {1/6"} f eed) Page mode pri nting: 130 mm/s {5.1"/s} Bit-image pri nting: 130 mm/s {5.1"/ s} Raster bit-image printing:
130 mm/s {5.1"/s} Ladder bar code, 2-di mensional c ode pr inting: 100 mm/s {3.9"/s}
NOTES: 1. The print speed listed above is the value when the printer prints with the standard pri nt
density level at 24 V and 25°C {77°F}. The print speed may change autom atical ly with the condition of t he suppl y voltage or the head temperature.
2. Print ing speed may be slower depending on the data transmission speed and the combination of c ontrol commands.
3. Low transmission speed m ay c ause i ntermi ttent printing. It is recommended to transmit data to the printer as fast as possible.
10) Paper feed speed: Approximately 130 mm/s {approx imately 5.1"/ s} (c ontinuous paper feeding)
Page 12
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
3 2
TM-T81
Specification
(STANDARD)
A
1.2 Character Specifications
1) Number of characters: Alphanumer ic characters: 95 Extended graphics: 128 × 11 pages (including one space page)
International characters: 48
2) Character structure: Font A: 12 × 24 (including 2-dot spacing in horizont al) Font B: 9 × 17 (including 2-dot spacing in horiz ontal)
NOTE: Font A is selected as the def ault
3) Character size: See Table 1.2.1.
Table 1.2.1 Character Size
Standard Double-height Double-width
Double-width/
Double-height
W×H (mm)
cpl
W×H (mm)
cpl
W×H (mm)
cpl
W×H (mm)
cpl
Font A 12×24 1.41×3.39
42
1.41×6.77
42
2.82×3.39
21
2.82×6.77
21
Font B 9×17 0.99×2.40
56
0.99×4.80
56
1.98×2.40
28
1.98×4.80
28
Space between characters is not included. Characters can be scaled up to 64 tim es as large as the standar d sizes. cpl = characters per li ne
4) Supporting character on each model type: See Table 1.2.2.
1.3 Autocutter
1) Cutting method: Scissors type with separated blades
2) Cutting type: Partial cut (cutting with one point in l eft edge l eft uncut) NOTES: 1. To prevent dot displac ement, after cut ting, feed paper approx imately 1 mm {14/360"} or
more before printing.
2. Paper must be fed over 40 mm {1.57"} before cutting if the printer is stopped. This prevents a possible paper jam.
Page 13
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
4 3
TM-T81
Specification
(STANDARD)
A
1.4 Paper Roll Supply De vice
1) Supply method: Drop-in paper roll
2) Roll paper end sensor: Detects whether paper is present or not.
When the sensor detects a paper-end, the pr inter stops printing.
Printing resumes when paper is installed and the printer cover is closed.
a) Detecti on method: Microswitch
NOTE: If paper other than the speci fied one is used, the paper roll end sensor may
not work correctly.
3) Roll paper near-end sensor: Detec ts a near-end of a paper roll.
If t he sensor is enabl ed by ESC c 4, the printer stops printing.
a) Detecti on method: Microswitch b) Near-end adjustment: Can be adjusted by changing the position of the adjusting screw. Fix ed posi tion #1 (approxim ately 23 m m {0.9"} )
#2 (approxi mately 27 mm { 1.06"})
NOTE: If roll paper whose paper spool is out of the specified range is used, the roll
paper near-end detection may not work correctl y .
1.5 Paper Specification
1) Paper type: Specified thermal paper
2) Form and size: Roll paper
a) Roll paper diameter : 83 mm { 3.27"} maximum b) Roll paper spool : Inside: 12 mm {0.47"} Outside: 18 mm {0.71"} Width: Same wit h the paper width or l ess than the paper width by
1 mm {0.039"}.
NOTE: Paper must not be pasted to the roll paper spool. c) Take-up roll paper width: 80 +0.5/–1.0 mm {3. 15+0.02/–0.04" } d) Paper width: 79. 5 ± 0.5 mm {3.13 ± 0.02"}
3) Specified paper: NTP080-80 [Original paper: TF50KS-E Nippon Paper Industries Co., Ltd.]
In Japan: Nakagawa Manufacturing Co., Ltd. In U.S.A.: Nakagawa Mfg. (USA) Inc. In Europe: Nakagawa Mfg. (Eur ope) GmbH. In Southeast Asia: N.A.K . Mfg. ( M alaysia) SDN. B HD.
Page 14
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
5 4
TM-T81
Specification
(STANDARD)
A
4) Specified or iginal paper type no.: The following original paper can be used:
NOTE: If paper other than the speci fied paper is used, the print head may be damaged or the print
quality may be poor. T herefore, it is recommended t o use the specifi ed paper or its equivalent.
Tabl e 1.5.1 Specified Origi nal Paper Type No. ( S ingle-color paper)
Origi nal Paper Type No. Manufact ur er
TF50KS-E, TF60KS-E NIPPON Paper Industries Co., Lt d. PD150R, PD160R, PD190R OJI Paper Mfg. Co., Ltd. P220AGB-1 Mitsubishi P aper Mills Limited. P300, P310, P350 Kanzaki Specialty P aper s AF50KS-E Jujo Thermal Oy F5041 Mitsubishi HiTec Paper Flensburg Gm bH
5) Print density adj ust ment
It is recomm ended t o set the pr int densit y dependi ng on the paper t ype as shown i n t he tabl e below to keep the pri nt qualit y. The pri nt density can be set wit h the DIP switch.
Tabl e 1.5.3
Origi nal Paper No. Density Level
TF50KS-E, PD150R, PD160R, F 5041 Standard TF60KS-E, P220AGB-1, P300, P310, P350 Medium AF50KS-E Medium PD190R Medium
The print density can also be set with t he GS ( E command.
Tabl e 1.5.4
Origi nal Paper No. Density Level
TF50KS-E, PD150R, PD160R, F 5041 7 TF60KS-E, P220AGB-1, P300, P310, P350 8 AF50KS-E 9 PD190R 10
6) Notes on preprinting on the recording surf ac e of thermal paper When using thermal paper, the recording surface of which has been preprinted, sticking (a
problem of the thermal head sticking to t he surface of the t hermal paper duri ng printing) may occur, causing faulty printi ng and other problems. It is, therefore, strongly recommended to avoi d using preprinted therm al paper. I f such paper must be used, conduct prepr inting tests under the conditions recomm ended by the paper m anufacturer (t ype of i nk/ pri nt condi t ions) and confi r m that no faulty printing or any other problems occur before you use it for act ual printing.
Page 15
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
6 5
TM-T81
Specification
(STANDARD)
A
1.6 Printable Area
1) Paper roll
The printable area of a paper with width of 79.5 ± 0.5 m m {3.13 ± 0.02"} is 72.2 ± 0. 2 mm { 2.84 ±
0.008"} (512 dots) and the space on the right and left si des are appr oximately
3.7 ±2 mm {0.15 ± 0.079" } .
a
b
c
de
Figure 1.6.1 Paper Roll P rintabl e Area
1.7 Printing and Cutting Positions
Paper feed direction
[ Units: mm (All the numeric values are typical.) ]
Center of the print dotline
Auto-cutter blade position
Manual-cutter position
14.8
26.3
Figure 1.7.1 Printing and Cutting Positions
NOTE: Numeric values used here are t y pical values; the values may vary slightly as a result of
paper slack or variat ions in the paper. Take this into account when setting the cutting position of the auto-cutter.
1.8 Internal Buffer
1) Receive buffer: selectable as 45 bytes or 4 KB using the DIP switch.
2) User-defi ned buff er (both f or user-defined characters and user-defined bit images): 12 KB
3) Macro buf fer: 2 KB
4) NV (Non-volatile) bi t image buff er : 256 KB
5) NV user mem or y : 1 KB
a = 79.5 ± 0.5 mm {3. 13 ± 0.02"} b = 0.141 ± 0.05 mm {0. 056 ± 0.002"} c = 72.2 ± 0.2 mm {2.84 ± 0.008"} d = 3.7 ± 0.2 mm {0. 15 ± 0.079"} e = 3.7 ± 0.2 mm {0. 15 ± 0.079"} [All the numeri c values are typical.]
Approx . 27.5
Approx . 10.5
Page 16
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
7 6
TM-T81
Specification
(STANDARD)
A
1.9 Electrical Characteristics
1) Supply voltage: +24 VDC ± 7%
2) Current consumption ( at 24V, 25°C, normal print density):
Operat ing: See Table 1.9.1 Standby: Mean Approximately 0.1 A
NOTE: Max imum 1 A for dr awer kick-out driv ing.
Table 1.9.1 Current Consumption (Operating)
Print ratio Approxi mately 18%
(with the pri nt pattern below) Font A, 42 columns, ANK rolling pattern for 100 lines (repeats 20H–7FH)
50% (Printing length: 20 mm)
100% (Printing length: 20 mm)
Print example
Current consumption
Mean: Approx imately 1.4A Peak: Approximately 5.1A
Mean: Approximately
3.3A Peak: Approx imatel y
5.8A
Mean: Approximately
3.2A Peak: Approximately
8.4A
Page 17
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
8 7
TM-T81
Specification
(STANDARD)
A
NOTES: 1. Notes on using the Epson PS-180 power supply unit
If the printing is continuously performed with the high print ratio, the overcurrent limitation might be operated. Therefore, the printing length must not exceed the following v alues when printing wit h high print r ation.
Print ratio: Number of dots being ener gized per one dotl ine / Tot al number of dots
per one dotli ne ( 512 dots)
Table 1.9.2 Limitation of the Printing Length on Print Ratio
Print ratio 80% 100% Print example
Print length 30 m m or less 20 mm or less
If t he overcurrent l imitati on is operated when printing i s continuously perform ed with a high print r atio, uneven pri nt density or a l ow voltage error may oc c ur .
2. Notes on using the power supply uni t other than the E pson specified one ( P S - 180)
The current consumption of this printer is as shown in Figure 1.9.1. User must consider these values when the user provides the power supply unit other than the Epson specifi ed one. Note that the current consumption may increase if the printer is used in a low temperat ur e or the print densi ty is set to “dark ” .
The power supply unit with a small power capacity may not operate the printer correctly.
Contact Epson if you need more detailed information.
Page 18
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
9 8
TM-T81
Specification
(STANDARD)
A
1.10 EMI and Safety Standa r ds Applied
EMC is measured using Seiko Epson’s AC adapter.
1) Europe CE marking: Directive: 89/336/EEC EN55022 Class B EN55024 IEC61000-4-2 IEC61000-4-3 IEC61000-4-4 IEC61000-4-5 IEC61000-4-6 IEC61000-4-11
Safety S tandard: EN60950
2) North America EMI: FCC/ICES-003 Cl ass A Safety standar ds: UL1950/CSA C22.2 No.950
Conditions of Acceptability
1) This component has been judged on the basis of the required spacing in the Standard for Inform ation T echnology equipm ent, Inc luding El ectrical Business Equipment , UL 1950 and CSA C22.2 No. 950, Sub-c lause 2.9, which would cover the c omponent itself if subm itted for Listing.
2) This unit is intended to be suppl ied by a SELV circuit only.
3) The terminals and connectors have not been eval uated for field wiring.
1.11 Reliability
1) Life: Mechanism: 15,000,000 lines
NOTE: Assumed in the condition t hat printing repeats for 10 lines
feeding for 15 lines with 4.23 m m li ne spacing.
Thermal head: 100 million pulses, 100 km Auto cutter: 1,500, 000 c uts (End of life is defined to have reached the end of its life when it
reaches the beginning of the Wearout P er iod.)
2) MTBF: 360,000 hours (Failure is defined as Random Failure occurring at the time of the
Random Fai lure Period.)
3) MCBF: 52,000,000 lines (This is an average failure interval based on failures relating to
wearout and random failures up t o the life of 15 million lines.)
Page 19
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
10 9
TM-T81
Specification
(STANDARD)
A
1.12 Environmenta l Conditions
1) Temperature: Operating: 5 to 45°C {41 to 113°F} Storage: -10 t o 50°C { 14 to 122°F} (except for paper)
2) Humidity: Operating: 10 to 90% RH Storage: 10 to 90% RH ( except for paper)
Ambient temperature
[˚C]
[% RH]
Relative humidity
Operating environment range
34 ˚C, 90 %
40 ˚C, 65 %
45 ˚C, 50 %
90
80
60
20
40
10
0
0 10 20 30 40 50
Figure 1.12.1 Operatin g Temperature and Hu midity Range
NOTE: If the printer is not used for a long time with paper installed, som e par t of the pr inting may be
light due to the defor mation of the paper. If the printer is not used for a long time with paper install ed, be sure to feed paper appr oximately 40 mm {1.57"} befor e pr inting.
3) Vibration resistanc e: When Packed: Frequency: 5 to 55 Hz
Acceler ation: Approximately 19.6 m /s
2
{2 G} Sweep: 10 minutes (half cycle) Duration: 1 hour Direct ions: x, y , and z
No external or internal damage should be found after the vibration
test, and the uni t should operate normally .
4) Impact resistance: When Packed: Package: EPSON standard package Height: 60 cm {23.6"} Direct ions: 1 corner, 3 edges, and 6 surfaces
No ext er nal or inter nal damage should be found af ter the
drop test, and the unit should operate nor mall y .
When unpacked: Height: 5 cm { 1.97"}
Direct ions: Lift one edge and release i t (for all 4 edges).
When the printer is not printing, no exter nal or internal damage shoul d
be found after the drop t est.
Page 20
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
11 10
TM-T81
Specification
(STANDARD)
A
5) Acoustic noise (Operat ing): A ppr oximately 51 dB ( B y stander posi tion)
NOTE: The values abov e ar e measured in the E pson evaluat ion
conditi on. The acoustic noise dif fers depending on the paper used, printing contents, or the setting values such as print speed or pri nt density.
1.13 Installation
The TM-T81 pr inter must be installed horizont ally. (Vibrati on during paper cutti ng and using a drawer should be consider ed. Take measures to prev ent
the printer from moving. Aff ixi ng tapes are prov ided as an option.)
Page 21
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
12 11
TM-T81
Specification
(STANDARD)
A
2. CONFIGURATION
2.1 Interface
2.1.1 RS-232 serial interface
2.1.1.1 Sp ecifications
Data transmission: Serial Synchronization: Asynchronous Handshaking: DTR/DSR or XON/XOFF control Signal levels: MARK = -3 to - 15 V: Logic "1"/ OFF
SPACE = +3 to +15 V: Logic "0"/ ON Baud rate: 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps
[bps: bits per second] Data word length: 7 or 8 bits Parity S ettings: None, even, odd Stop bits: 1 or more Connector (pri nter side): Femal e DS UB -25 pin connector
NOTES: 1. The data word lengt h, baud rate, and parity depend on the DIP swit c h settings. (See
Section 3. 3.3.)
2. The stop bit for the printer side is fixed to 1.
2.1.1.2 Sw itching between onlin e and offline
The printer does not have an onl ine/offl ine switch. The printer goes offline:
1) Bet ween when the power is turned on (i ncl udi ng reset using t he i nterface) and when the pri nter is ready to recei ve data.
2) During the self-test.
3) W hen the cov er is open.
4) During paper feeding using the paper feed button.
5) When the printer stops printing due to a paper-end (in cases when an empty paper supply is detected by either paper roll end detector or the paper roll near-end detector wit h a printi ng halt feature by ESC c 4).
6) W hen an er r or has occurred.
Page 22
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
13 12
TM-T81
Specification
(STANDARD)
A
2.1.1.3 Interface connector termin al assignmen ts and sig nal funct ions
Interface connector t erminal assignments and signal funct ions are described in Table 2.1.1.
Tabl e 2.1.1 TM-T81 Printer Status and Signals
Pin
number
Signal
name
Signal
direction
Function
1 FG — Frame ground 2 TXD Output Transmit data 3 RXD Input Receive data 4 RTS Output Same as DTR signal 6 DSR Input This signal indi c ates whether the host comput er c an r ec eiv e data.
SPACE indicates that t he host computer can receive data, and MARK indicat es that the host com puter cannot receive data.
When DTR/DSR control is selected, the print er transmit s dat a after confi r ming this signal (except when transmi tting dat a by DLE EO T, and GS a).
When XON/XOFF control is select ed, the print er does not check thi s signal.
Changing the DIP switc h setting enables this signal to be used as a reset signal for the pri nter. (See Section 3.3.3.)
The printer is reset when the signal remains MARK for 1 ms or more. (See Section 2.1.1.7.)
7 SG — Signal ground
20 DTR Output 1) When DTR/ DS R c ontrol i s selected, this signal indicates whether the
printer is busy. SPACE indicat es that the printer is ready to receive data, and MARK indicates that the printer is busy. The busy conditi on c an be c hanged by usi ng DIP SW 2-1 as follows (See Section 3. 3.3.):
DIP SW 2-1 status
Printer status ON OFF
1. During the period from when the power is turned on (including resetting usi ng t he interface) to when the printer is ready to receive data.
BUSY BUSY
2. During t h e self -test. BUSY BUSY
3. When the cover is open. BUSY
4. During paper feeding using the paper feed button.
— BUSY
5. When the printer stops pri nt i ng due to a paper-end.
— BUSY
6. During macro executing standby status. BUSY
Offline
7. When an error has occurred. BUSY
8. When t he receive buf fer becomes fu ll.( * 1 ) BUSY BUSY
Page 23
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
14 13
TM-T81
Specification
(STANDARD)
A
Table 2.1.1 TM-T81 Printer Status and Signals (Continued)
Pin number
Signal name
Signal direction
Function
2) When XON/XOFF control is selected: The signal indicates whether the printer i s corr ec tly connected and is
ready to receive data. SPACE indicates that the print er is ready to receive data. The signal is always SPACE except in the following cases:
During the per iod f rom when the power is tur ned on t o when the printer is ready to recei ve data
Dur ing the self-test
25 INIT Input Changing the DIP switch setting enables this signal to be used as a
reset signal for the pri nter. The printer is reset when the signal rem ains SPACE for 1 ms or more.
*1 Def inition of “r ec eiv e buff er full”
When the receiv e buff er capacity is specified to 4 KB (DI P S W1-2 is Off):
I f the DIP SW 2- 5 is off , when the remaini ng space in t he recei ve buf f er dr ops to 128 byt es,
the printer status becomes “buf fer full” and it rem ains “buffer f ull” until the space in t he receive buffer inc reases to 256 bytes.
I f the DIP SW 2- 5 is on, when the rem ai ning space i n the r ecei ve buf f er drops to 128 by tes, the printer status becomes “buf fer full” and it rem ains “buffer f ull” until the space in t he receive buffer inc reases to 138 bytes.
When the receiv e buff er capacity is specified to 45 bytes (DIP S W1-2 is On):
Regardless of the DIP SW2-5 setting, when the remaining space in the receive buffer
drops to 16 bytes, the print er status becomes “buff er ful l” and it rem ains “buff er full ” until the space in the receiv e buffer increases to 26 bytes.
The pr inter i gnor es the data received when the rem aining space in t he r eceive buffer is 0 bytes.
2.1.1.4 XO N/XOFF t ransmit timing
When XON/XOFF control is selected, the printer transmits XON or XOFF signals as follows. Transmit timing diff er s dependi ng on the DIP SW2-1 setting.
Tabl e 2.1.2 XON/XOFF Transmit Timing
DIP SW 2-1 status
Printer status
ON OFF XON transmission
When the pri nter goes online after tur ning on the power (or
reset using interface)
Transmit Transmit
When the receive buff er is released fr om the buffer full state
Transmit Transmit
When the pri nter switches from offline to online
— Transmit
When the pri nter recovers from an error using the
DLE ENQ 1 or DLE ENQ 2 commands
— Transmit
When the receive buff er becomes full
Transmit Transmit
XOFF Transmission
When the pri nter switches from onli ne to offli ne
— Transmit
NOTES: 1. The XON code is <11>H and the XOFF c ode is <13>H.
2. In case , XON is not transmitted when the receive buffer is full.
3. In case , XOFF is not t r ansmitted when the r ec eiv e buff er is ful l.
Page 24
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
15 14
TM-T81
Specification
(STANDARD)
A
2.1.1.5 Seri al interface co nnectio n example
Host side Pri nter side (DTE ex.8251)
TXD.................................. RXD
DSR.................................. DTR
CTS.................................. RTS
RXD.................................. TXD
DTR.................................. DSR
FG ....................................FG
SG....................................SG
NOTES: 1. Set the handshaking so t hat the transmit data can be received.
(DTE: Data Termi nal Equipment) (DCE: Data Circui t Term inating Equipment)
2. Transmit data to t he printer after tur ning on the power and ini tializing the printer.
2.1.1.6 Not es on setting DIP switch 2-1 to ON
1) The printer mechanism stops but does not bec ome busy when: an error has occurred, the cover is open, printing stops due to a paper-end, or paper is fed using the paper feed butt on.
2) W hen setti ng DIP switch 2-1 to O N to enable handshaking wit h the printer , be sure to check the printer stat us using t he GS a command and the ASB function. In t his setting, the default val ue of n for GS a is 2. The pr inter automatic ally tr ansmits the printer status, depending on online/offline changes.
3) When using DLE EOT, DLE ENQ, and DLE DC4 be sure that the receive buf fer does not become full.
• When using a host that c annot transmi t data when the print er is busy: If an error has occurred, DLE EOT, DLE ENQ, and DLE DC4 cannot be used when the
printer is busy due to a receive buf fer-full state.
• When using a host that c an transmit data when the printer is busy: When the rec eiv e buff er becomes f ull while transmitting bi t-im age data, DLE EOT , DLE ENQ
or DLE DC4 used while sending the bit-image data is processed as bit-image data. The data transmitted when the receive buff er is full may be lost.
Exam ple: Check the pri nter status using GS r after transmitting each line of data and use
the 4 KB recei ve buffer. Transmit one li ne of data so that the receive buf fer does not become full.
Page 25
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
16 15
TM-T81
Specification
(STANDARD)
A
2.1.1.7 Not es on Resetting the Pri nter Using t he Interface
The printer can be reset using interface pins 6 and 25 by changing the DIP switch setting. (See Section 3. 3.3, DIP switch 2. )
Table 2.1.3 Reset Switching
Signal Line DIP Switch Reset Condition
Pin 6 (DSR) DSW 2-7: ON MARK level input Pin 25 (INIT) DSW 2-8: ON SPACE or TTL-HIGH lev el input
To reset the pri nter, the foll owing r equirement s must be satisfied.
DC characteristics:
Tabl e 2.1.4 Reset DC Characteristi cs
Pin 6 (DSR) Pin 25 (INIT) Reset active voltage VA -15 to -3 V +2 to +15 V
Reset negative voltage VN +3 t o +15 V - 15 to + 0.8 V Reset active current IA -5.3 mA (maximum ) 1 mA (m aximum) Reset negative current IN -5.0 mA (maximum) -2 mA (maximum) Input impedance RIN
3 kΩ (minimum)
AC characteristics: Minimum reset pulse width: T
RS 1 ms (minimum)
When using pin 6 (DSR) (DI P switc h 2- 7 is ON):
TRS
H
L
Figure 2.1.1 Minimu m Reset P ulse Width (pin 6)
When using pin 25 (INIT) (DIP switch 2-8 is ON):
TRS
H
L
Figure 2.1.2 Minimu m Reset P ulse Width (pin 25)
NOTES: 1. W hen a si gnal that does not satisfy the requirements above i s i nput, printer operation is
not guaranteed. When a signal is input to pin 25 (INI T) at the T TL level, t he requirem ents above must also be satisf ied. Although a signal i s i nput to pin 6 (DSR) at the TTL l evel , according to the DC character istics described above, the operation is not guaranteed and pin 6 cannot be c ontrolled.
2. When pin 6 (DSR) and pin 25 (INIT ) ar e open, the printer is operati ng.
SPACE
MARK
TRS
SPACE (H)
MARK (L)
TRS
Page 26
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
17 16
TM-T81
Specification
(STANDARD)
A
2.1.2 USB (Universal Serial Bus) Interface
Outline
1. High-speed transm ission at 12 Mbps [bps: bits per second]
2. Plug & Play, Hot I nsert ion & Removabl e
2.1.3.1 USB transmission specifications
1) USB function Ov er all specifications: according to USB 2.0 specif ications Transmission speed: USB Full-Speed (12 Mbps) Transmission method: USB bulk t r ansmission method Power supply specificati ons: US B sel f power supply function Current consumed by US B bus: 0 mA (provided entirely from the unit) USB packet size
With Ful l-Speed connect ion: USB bulk OUT ( TM) 64 bytes USB bulk IN ( TM) 64 bytes
2) Status transmission from printer with US B interface Wi th this interf ace, the status of the pr inter i s transmitt ed to the host com puter v ia the USB bul k
transmission method. The USB bulk transmission method is a host-controlled transmission method. Unlike RS232
transmission, it cannot spontaneousl y interrupt data transmission to the host computer.
The printer has a 128-byte status data buff er. Statuses that exceed the buf fer capacity are
cancelled. In order to ensure that there is no lack of status data, it is necessary to periodically ret rieve status data at the host c omputer.
Page 27
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
18 17
TM-T81
Specification
(STANDARD)
A
2.2 Connectors
2.2.1 Interface Connectors
See Section 2.1, Interface.
2.2.2 P ower Supply Connector
This connector is used to connect the printer to an external power source.
1) Pin assignments: See Table 2.2.1.
Table 2.2.1 Power Supply Connector Pin Assignments
Pin Number Signal Name
1 +24 V 2 GND 3 N.C
SHELL F.G.
SHELL
Figure 2.2.1 Power Supply Connector
NOTE: Be sure to ground the metal of the interface usi ng the hole f or the frame ground.
2) Connector m odel: Pr inter side: Hosiden TCS7960- 532010 or equivalent User side: Hosiden TCP8927-631100 or equivalent
Hosiden TCP8927-531100 or equiv alent
Page 28
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
19 18
TM-T81
Specification
(STANDARD)
A
2.2.3 Drawer Kick-out Connector (Modular Connector)
The pulse specifi ed by ESC p or DLE DC4 is output to this connector. The host can confirm the status of the input signal by usi ng the DLE EOT, GS a, or GS r commands.
1) Pin assignments: See Table 2.2.2.
Tabl e 2.2.2 Drawer Kick-ou t Connecto r P in Assignment s
Pin Number Si gnal Name Direction
1 Frame GND — 2 Drawer kick-out drive signal 1 Output 3 Drawer open/close signal Input 4 +24 V — 5 Drawer kick-out drive signal 2 Output 6 Signal GND
+24 V is output t hrough pi n 4 when the power is turned on. However, pi n 4 m ust be used onl y for the dr awer.
16
Figure 2.2.2 Drawer Kick-ou t Connecto r
2) Connector m odel: Pr inter side: MOLEX 52065-6615 or equivalent User side: 6-position 6-contact (RJ12 t elephone jack)
3) Drawer kick-out drive signal Output signal: Output voltage: Approximately 24 V
Output curr ent: 1 A or less
CAUTION: To avoid an overcurrent, the r esi stanc e of the drawer kick-out solenoid must be 24 Ω
or more.
Output waveform: O utputs the waveform s i n Figure 2.2. 3 to the point s A and B in
Figure 2.2.4. t1 (ON time) and t2 (OFF time) are specif ied by ESC p or DLE DC4.
t 1x 2 msec
t 1x 2 msec
Figure 2.2.3 Drawer Kick-ou t Drive Sign al Output Waveform
t2 x 2 mst1 x 2 ms
Page 29
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
20 19
TM-T81
Specification
(STANDARD)
A
4) Drawer open/close signal Input signal lev el (connector pin 3): "L" = 0 to 0.8 V
"H" = 2 to 5 V
Drawer kick-out connector
1
2
3
4
5
6
F. G
P-GND
P-GND
A
B
Printer side User side (Drawer kick-out side)
+24V
With shielded
Drawer kick-out solenoid
Drawer open/close switch
Figure 2.2.4 Drawer Circuitry
NOTES: 1. Use a shielded cable for the drawer connector cable.
2. Two driver transi stor s cannot be ener gized sim ultaneously.
3. The drawer drive duty must be as shown below.
ON time
(ON time + OFF time)
0.2
4. Be sure to use the printer power supply (connector pin 4) f or the drawer power source.
5. The resistance of the drawer ki c k - out solenoid must not be less than the specified.
Otherwise, an overcurrent could dam age the solenoid.
6. Do not connect telecom munication network to t he dr awer kick-out connec tor.
Page 30
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
21 20
TM-T81
Specification
(STANDARD)
A
3. FUNCTIONS
3.1 List of Commands
Command Name
HT Horizontal tab LF Print and line feed FF Print and return to standard mode (in page mode) CR Print and carriage return CAN Cancel print data in page mode DLE EOT Transmit real-time status DLE ENQ Send real-time request to printer DLE DC4 Generate pulse in real-time (fn = 1) Execute power-off sequence (fn = 2) Clear buffer(s) (fn = 8) ESC FF Print data in page mode ESC SP Set right-side character spacing ESC ! Select print mode(s) ESC $ Set absolute print position ESC % Select/cancel user-defined character set ESC & Define user-defined characters ESC Select bit-image mode ESC Turn underline mode on/off ESC 2 Select default line spacing ESC 3 Set line spacing ESC = Select peripheral device ESC ? Cancel user-defined characters ESC @ Initialize printer ESC D Set horizontal tab positions ESC E Turn emphasized mode on/off ESC G Turn double-strike mode on/off ESC J Print and feed paper ESC L Select page mode ESC M Select character font ESC R Select an international character set ESC S Select standard mode ESC T Select print direction in page mode ESC V Turn 90° clockwise rotation mode on/off ESC W Set print area in page mode ESC \ Set relative print position
Page 31
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
22 21
TM-T81
Specification
(STANDARD)
A
Command Name
ESC a Select justification ESC c 4 Select paper sensor(s) to stop printing ESC c 5 Enable/disable panel buttons ESC d Print and feed n lines ESC p Generate pulse ESC t Select character code table ESC { Turn upside-down print mode on/off FS g 1 Write to NV user memory FS g 2 Read from NV user memory GS ! Select character size GS $ Set absolute vertical print position in page mode GS ( A Execute test print GS ( D Enable/disable real-time command GS ( E Set user setup commands
<Function 1> Change into the user setting mode. <Function 2> End the user setting mode session. <Function 5> Set the customized setting values. <Function 6> Transmit the customized setting values. <Function 11> Set the configuration item for the serial interface. <Function 12> Transmit the configuration item for the serial interface.
GS ( H Request transmission of response or status
<Function 48> Set the process ID response.
GS ( K Select print control method(s)
<Function 50> Select the print speed. <Function 97> Select the number of parts for the thermal head energizing.
GS ( L / GS 8 L Set graphics data
<Function 48> Transmit the NV graphics memory capacity. <Function 50> Print the graphics data in the print buffer. <Function 51> Transmit the remaining capacity of the NV graphics memory. <Function 64> Transmit the key code list for defined NV graphics. <Function 65> Delete all NV graphics data. <Function 66> Delete the specified NV graphics data. <Function 67> Define the NV graphics data (raster format). <Function 69> Print the specified NV graphics data. <Function 112> Store the graphics data in the print buffer (raster format).
Page 32
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
23 22
TM-T81
Specification
(STANDARD)
A
Command Name
GS ( k Set up and print symbol
<Function 065> PDF417: Set the number of columns in the data region. <Function 066> PDF417: Set the number of rows. <Function 067> PDF417: Set the width of the module. <Function 068> PDF417: Set the row height. <Function 069> PDF417: Set the error correction level. <Function 070> PDF417: Select the options. <Function 080> PDF417: Store the data in the symbol storage area. <Function 081> PDF417: Print the symbol data in the symbol storage area. <Function 082> PDF417: Transmit the size information of the symbol data in the
symbol storage area. <Function 165> QR Code: Select the model. <Function 167> QR Code: Set the size of module. <Function 169> QR Code: Select the error correction level. <Function 180> QR Code: Store the data in the symbol storage area. <Function 181> QR Code: Print the symbol data in the symbol storage area. <Function 182> QR Code: Transmit the size information of the symbol data in the
symbol storage area.
GS Define downloaded bit image GS / Print downloaded bit image GS B Turn white/black reverse print mode on/off GS H Select print position of HRI characters GS I Transmit printer ID GS L Set left margin GS P Set horizontal and vertical motion units GS V Select cut mode and cut paper GS W Set print area width GS \ Set relative vertical print position in page mode GS a Enable/disable Automatic Status Back (ASB) GS b Turn smoothing mode on/off GS f Select font for HRI characters GS g 0 Initialize maintenance counter GS g 2 Transmit maintenance counter GS h Set bar code height GS k Print bar code GS r Transmit status GS w Set bar code width
Page 33
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
24 23
TM-T81
Specification
(STANDARD)
A
The commands listed below in the first column are defined as “obsolete commands” in the ESC/POS
®
command system. This printer supports both upward-compatible commands and obsolete commands. However, the upward-compatible commands are recommended for use.
Obsolete command Upward-compatible command
ESC i Partial cut (one point left uncut) GS V ESC m Partial cut (three points left uncut) GS V ESC u Transmit peripheral device status GS r ESC v Transmit paper sensor status GS r FS p Print NV bit image GS ( L <Function 69> FS q Define NV bit image GS ( L <Function 67> GS v 0 Print raster bit image GS ( L <Function 112 + 50>
NOTE: “Obsolete commands” are commands that are supported by legacy models; however it is
recommended to replace them with upward-compatible commands, because they will not be supported in the future products.
Page 34
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
25 24
TM-T81
Specification
(STANDARD)
A
3.2 Character Code Tables
The character code tables show only character configurations. They do not show the actual print pattern.
"SP" in the table shows space.
3.2.1 Common to all pages (International Character Set: USA)
HEX 0 1 2 3 4 5 6 7
0 NUL DLE
00 16
SP
32
0
48
@
64
P
80
`
96
p
112
1 XON
01 17 ! 33
1
49
A
65
Q
81
a
97
q
113
2
02 18 " 34
2
50
B
66
R
82
b
98
r
114
3 XOFF
03 19 # 35
3
51
C
67
S
83
c
99
s
115
4 EOT DC4
04 20 $ 36
4
52
D
68
T
84
d
100
t
116
5 ENQ NAK
05 21 % 37
5
53
E
69
U
85
e
101
u
117
6 ACK
06 22 & 38
6
54
F
70
V
86
f
102
v
118
7
07 23 ' 39
7
55
G
71
W
87
g
103
w
119
8 CAN
08 24 ( 40
8
56
H
72
X
88
h
104
x
120
9 HT
09 25 ) 41
9
57
I
73
Y
89
i
105
y
121
A LF
10 26
42
:
58
J
74
Z
90
j
106
z
122
B ESC
11 27 + 43
;
59
K
75
[
91
k
107
{
123
C FF FS
12 28 , 44
<
60
L
76
\
92
l
108
|
124
D CR GS
13 29 -45
=
61
M
77
]
93
m
109
}
125
E RS
14 30 . 46
>
62
N
78
^
94
n
110
~
126
F
15 31 / 47
?
63
O
79
_
95
o
111
SP
127
Page 35
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
26 25
TM-T81
Specification
(STANDARD)
A
3.2.2 Page 0 [PC437: USA, Standard Europe]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
208
α
224
240
1
ü
129
æ
145
í
161
177
193
209
β
225
±
241
2
é
130
Æ
146
ó
162
178
194
210
Γ
226
242
3
â
131
ô
147
ú
163
179
195
211
π
227
243
4
ä
132
ö
148
ñ
164
180
196
212
Σ
228
244
5
à
133
ò
149
Ñ
165
181
197
213
σ
229
245
6
å
134
û
150
a
166
182
198
214
μ
230
÷
246
7
ç
135
ù
151
o
167
183
199
215
τ
231
247
8
ê
136
ÿ
152
¿
168
184
200
216
Ф
232
°
248
9
ë
137
Ö
153
169
185
201
217
Θ
233
249
A
è
138
Ü
154
¬
170
186
202
218
234
·
250
B
ï
139
¢
155
½
171
187
203
219
δ
235
251
C
î
140
£
156
¼
172
188
204
220
236
n
252
D
ì
141
¥
157
¡
173
189
205
221
Φ
237
²
253
E
Ä
142
Pt
158
«
174
190
206
222
ε
238
254
F
Å
143
ƒ
159
»
175
191
207
223
239
SP
255
Page 36
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
27 26
TM-T81
Specification
(STANDARD)
A
3.2.3 Page 1 [Katakana]
Page 37
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
28 27
TM-T81
Specification
(STANDARD)
A
3.2.4 Page 2 [PC850: Multilingual]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
ð
208
Ó
224
-
240
1
ü
129
æ
145
í
161
177
193
Ð
209
β
225
±
241
2
é
130
Æ
146
ó
162
178
194
Ê
210
Ô
226
242
3
â
131
ô
147
ú
163
179
195
Ë
211
Ò
227
¾
243
4
ä
132
ö
148
ñ
164
180
196
È
212
õ
228
244
5
à
133
ò
149
Ñ
165
Á
181
197
ı
213
Õ
229
§
245
6
å
134
û
150
a
166
Â
182
ã
198
Í
214
μ
230
÷
246
7
ç
135
ù
151
o
167
À
183
Ã
199
Î
215
þ
231
¸
247
8
ê
136
ÿ
152
¿
168
©
184
200
Ï
216
Þ
232
°
248
9
ë
137
Ö
153
®
169
185
201
217
Ú
233
¨
249
A
è
138
Ü
154
¬
170
186
202
218
Û
234
·
250
B
ï
139
ø
155
½
171
187
203
219
Ù
235
¹
251
C
î
140
£
156
¼
172
188
204
220
ý
236
³
252
D
ì
141
Ø
157
¡
173
¢
189
205
¦
221
Ý
237
²
253
E
Ä
142
×
158
«
174
¥
190
206
Ì
222
¯
238
254
F
Å
143
ƒ
159
»
175
191
¤
207
223
´
239
SP
255
Page 38
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
29 28
TM-T81
Specification
(STANDARD)
A
3.2.5 Page 3 [PC860: Portuguese]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
208
α
224
240
1
ü
129
À
145
í
161
177
193
209
β
225
±
241
2
é
130
È
146
ó
162
178
194
210
Γ
226
242
3
â
131
ô
147
ú
163
179
195
211
π
227
243
4
ã
132
õ
148
ñ
164
180
196
212
Σ
228
244
5
à
133
ò
149
Ñ
165
181
197
213
σ
229
245
6
Á
134
Ú
150
a
166
182
198
214
μ
230
÷
246
7
ç
135
ù
151
o
167
183
199
215
τ
231
247
8
ê
136
Ì
152
¿
168
184
200
216
Ф
232
°
248
9
Ê
137
Õ
153
Ò
169
185
201
217
Θ
233
249
A
è
138
Ü
154
¬
170
186
202
218
234
·
250
B
Í
139
¢
155
½
171
187
203
219
δ
235
251
C
Ô
140
£
156
¼
172
188
204
220
236
n
252
D
ì
141
Ù
157
¡
173
189
205
221
Φ
237
²
253
E
Ã
142
Pt
158
«
174
190
206
222
ε
238
254
F
Â
143
Ó
159
»
175
191
207
223
239
SP
255
Page 39
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
30 29
TM-T81
Specification
(STANDARD)
A
3.2.6 Page 4 [PC863: Canadian-French]
HEX 8 9 A B C D E F
0
Ç
128
É
144
¦
160
176
192
208
α
224
240
1
ü
129
È
145
´
161
177
193
209
β
225
±
241
2
é
130
Ê
146
ó
162
178
194
210
Γ
226
242
3
â
131
ô
147
ú
163
179
195
211
π
227
243
4
Â
132
Ë
148
¨
164
180
196
212
Σ
228
244
5
à
133
Ï
149
¸
165
181
197
213
σ
229
245
6
134
û
150
³
166
182
198
214
μ
230
÷
246
7
ç
135
ù
151
¯
167
183
199
215
τ
231
247
8
ê
136
¤
152
Î
168
184
200
216
Ф
232
°
248
9
ë
137
Ô
153
169
185
201
217
Θ
233
249
A
è
138
Ü
154
¬
170
186
202
218
234
·
250
B
ï
139
¢
155
½
171
187
203
219
δ
235
251
C
î
140
£
156
¼
172
188
204
220
236
n
252
D
141
Ù
157
¾
173
189
205
221
Φ
237
²
253
E
À
142
Û
158
«
174
190
206
222
ε
238
254
F
§
143
ƒ
159
»
175
191
207
223
239
SP
255
Page 40
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
31 30
TM-T81
Specification
(STANDARD)
A
3.2.7 Page 5 [PC865: Nordic]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
208
α
224
240
1
ü
129
æ
145
í
161
177
193
209
β
225
±
241
2
é
130
Æ
146
ó
162
178
194
210
Γ
226
242
3
â
131
ô
147
ú
163
179
195
211
π
227
243
4
ä
132
ö
148
ñ
164
180
196
212
Σ
228
244
5
à
133
ò
149
Ñ
165
181
197
213
σ
229
245
6
å
134
û
150
a
166
182
198
214
μ
230
÷
246
7
ç
135
ù
151
o
167
183
199
215
τ
231
247
8
ê
136
ÿ
152
¿
168
184
200
216
Ф
232
°
248
9
ë
137
Ö
153
169
185
201
217
Θ
233
249
A
è
138
Ü
154
¬
170
186
202
218
234
·
250
B
ï
139
ø
155
½
171
187
203
219
δ
235
251
C
î
140
£
156
¼
172
188
204
220
236
n
252
D
ì
141
Ø
157
¡
173
189
205
221
Φ
237
²
253
E
Ä
142
Pt
158
«
174
190
206
222
ε
238
254
F
Å
143
ƒ
159
¤
175
191
207
223
239
SP
255
Page 41
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
32 31
TM-T81
Specification
(STANDARD)
A
3.2.8 Page 16 [WPC1252]
HEX 8 9 A B C D E F
0
128
SP
144
SP
160
°
176
À
192
Ð
208
à
224
ð
240
1
SP
129
145
¡
161
±
177
Á
193
Ñ
209
á
225
ñ
241
2
130
146
¢
162
²
178
Â
194
Ò
210
â
226
ò
242
3
ƒ
131
147
£
163
³
179
Ã
195
Ó
211
ã
227
ó
243
4
132
148
¤
164
´
180
Ä
196
Ô
212
ä
228
ô
244
5
133
149
¥
165
µ
181
Å
197
Õ
213
å
229
õ
245
6
134
150
¦
166
182
Æ
198
Ö
214
æ
230
ö
246
7
135
151
§
167
·
183
Ç
199
×
215
ç
231
÷
247
8
ˆ
136
˜
152
¨
168
¸
184
È
200
Ø
216
è
232
ø
248
9
137
153
©
169
¹
185
É
201
Ù
217
é
233
ù
249
A
Š
138
š
154
a
170
o
186
Ê
202
Ú
218
ê
234
ú
250
B
139
155
«
171
»
187
Ë
203
Û
219
ë
235
û
251
C
Œ
140
œ
156
¬
172
¼
188
Ì
204
Ü
220
ì
236
ü
252
D
SP
141
SP
157
-
173
½
189
Í
205
Ý
221
í
237
ý
253
E
Ž
142
ž
158
®
174
¾
190
Î
206
Þ
222
î
238
þ
254
F
SP
143
Ÿ
159
¯
175
¿
191
Ï
207
β
223
ï
239
ÿ
255
Page 42
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
33 32
TM-T81
Specification
(STANDARD)
A
3.2.9 Page 17 [PC866: Cyrillic #2]
HEX 8 9 A B C D E F
0
А
128
Р
144
а
160
176
192
208
р
224
Ё
240
1
Б
129
С
145
б
161
177
193
209
с
225
ё
241
2
В
130
Т
146
в
162
178
194
210
т
226
Є
242
3
Г
131
У
147
г
163
179
195
211
у
227
є
243
4
Д
132
Ф
148
д
164
180
196
212
ф
228
Ї
244
5
Е
133
Х
149
е
165
181
197
213
х
229
ї
245
6
Ж
134
Ц
150
ж
166
182
198
214
ц
230
Ў
246
7
З
135
Ч
151
з
167
183
199
215
ч
231
ў
247
8
И
136
Ш
152
и
168
184
200
216
ш
232
°
248
9
Й
137
Щ
153
й
169
185
201
217
щ
233
249
A
К
138
Ъ
154
к
170
186
202
218
ъ
234
·
250
B
Л
139
Ы
155
л
171
187
203
219
ы
235
251
C
М
140
Ь
156
м
172
188
204
220
ь
236
252
D
Н
141
Э
157
н
173
189
205
221
э
237
¤
253
E
О
142
Ю
158
о
174
190
206
222
ю
238
254
F
П
143
Я
159
п
175
191
207
223
я
239
SP
255
Page 43
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
34 33
TM-T81
Specification
(STANDARD)
A
3.2.10 Page 18 [PC852: Latin2]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
đ
208
Ó
224
-
240
1
ü
129
Ĺ
145
í
161
177
193
Ð
209
β
225
˝
241
2
é
130
ĺ
146
ó
162
178
194
Ď
210
Ô
226
˛
242
3
â
131
ô
147
ú
163
179
195
Ë
211
Ń
227
ˇ
243
4
ä
132
ö
148
Ą
164
180
196
d
ˇ
212
ń
228
˘
244
5
ů
133
ˇL
149
ą
165
Á
181
197
Ň
213
ň
229
§
245
6
ć
134
ˇl
150
Ž
166
Â
182
Ă
198
Í
214
Š
230
÷
246
7
ç
135
Ś
151
ž
167
Ě
183
ă
199
Î
215
š
231
¸
247
8
ł
136
ś
152
Ę
168
Ş
184
200
ě
216
Ŕ
232
°
248
9
ë
137
Ö
153
ę
169
185
201
217
Ú
233
¨
249
A
Ő
138
Ü
154
SP
170
186
202
218
ŕ
234
250
B
ő
139
Ť
155
ź
171
187
203
219
Ű
235
ű
251
C
î
140
ˇt
156
Č
172
188
204
220
ý
236
Ř
252
D
Ź
141
Ł
157
ş
173
Ż
189
205
Ţ
221
Ý
237
ř
253
E
Ä
142
×
158
«
174
ż
190
206
Ů
222
ţ
238
254
F
Ć
143
č
159
»
175
191
¤
207
223
´
239
SP
255
Page 44
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
35 34
TM-T81
Specification
(STANDARD)
A
3.2.11 Page 19 [PC858: Euro]
HEX 8 9 A B C D E F
0
Ç
128
É
144
á
160
176
192
ð
208
Ó
224
-
240
1
ü
129
æ
145
í
161
177
193
Ð
209
β
225
±
241
2
é
130
Æ
146
ó
162
178
194
Ê
210
Ô
226
242
3
â
131
ô
147
ú
163
179
195
Ë
211
Ò
227
¾
243
4
ä
132
ö
148
ñ
164
180
196
È
212
õ
228
244
5
à
133
ò
149
Ñ
165
Á
181
197
213
Õ
229
§
245
6
å
134
û
150
a
166
Â
182
ã
198
Í
214
μ
230
÷
246
7
ç
135
ù
151
o
167
À
183
Ã
199
Î
215
þ
231
¸
247
8
ê
136
ÿ
152
¿
168
©
184
200
Ï
216
Þ
232
°
248
9
ë
137
Ö
153
®
169
185
201
217
Ú
233
¨
249
A
è
138
Ü
154
¬
170
186
202
218
Û
234
·
250
B
ï
139
ø
155
½
171
187
203
219
Ù
235
¹
251
C
î
140
£
156
¼
172
188
204
220
ý
236
³
252
D
ì
141
Ø
157
¡
173
¢
189
205
¦
221
Ý
237
²
253
E
Ä
142
×
158
«
174
¥
190
206
Ì
222
¯
238
254
F
Å
143
ƒ
159
»
175
191
¤
207
223
´
239
SP
255
Page 45
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
36 35
TM-T81
Specification
(STANDARD)
A
3.2.12 Page 255 [User-defined page]
HEX 8 9 A B C D E F
0
SP
128
SP
144
SP
160
SP
176
SP
192
SP
208
SP
224
SP
240
1
SP
129
SP
145
SP
161
SP
177
SP
193
SP
209
SP
225
SP
241
2
SP
130
SP
146
SP
162
SP
178
SP
194
SP
210
SP
226
SP
242
3
SP
131
SP
147
SP
163
SP
179
SP
195
SP
211
SP
227
SP
243
4
SP
132
SP
148
SP
164
SP
180
SP
196
SP
212
SP
228
SP
244
5
SP
133
SP
149
SP
165
SP
181
SP
197
SP
213
SP
229
SP
245
6
SP
134
SP
150
SP
166
SP
182
SP
198
SP
214
SP
230
SP
246
7
SP
135
SP
151
SP
167
SP
183
SP
199
SP
215
SP
231
SP
247
8
SP
136
SP
152
SP
168
SP
184
SP
200
SP
216
SP
232
SP
248
9
SP
137
SP
153
SP
169
SP
185
SP
201
SP
217
SP
233
SP
249
A
SP
138
SP
154
SP
170
SP
186
SP
202
SP
218
SP
234
SP
250
B
SP
139
SP
155
SP
171
SP
187
SP
203
SP
219
SP
235
SP
251
C
SP
140
SP
156
SP
172
SP
188
SP
204
SP
220
SP
236
SP
252
D
SP
141
SP
157
SP
173
SP
189
SP
205
SP
221
SP
237
SP
253
E
SP
142
SP
158
SP
174
SP
190
SP
206
SP
222
SP
238
SP
254
F
SP
143
SP
159
SP
175
SP
191
SP
207
SP
223
SP
239
SP
255
Page 46
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
37 36
TM-T81
Specification
(STANDARD)
A
3.2.13 International Character Sets
ASCII code (Hex)
Country
23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E
USA # $ @ [ \ ] ^ ` { | } ~
France # $ à ° ç § ^ ` é ù è ¨
Germany # $ § Ä Ö Ü ^ ` ä ö ü β
U.K. £ $ @ [ \ ] ^ ` { | } ~ Denmark I # $ @ Æ Ø Å ^ ` æ ø å ~
Sweden # ¤ É Ä Ö Å Ü é ä ö å ü
Italy # $ @ ° \ é ^ ù à ò è ì Spain I Pt $ @ ¡ Ñ ¿ ^ ` ¨ ñ } ~
Japan # $ @ [ ¥ ] ^ ` { | } ~
Norway # ¤ É Æ Ø Å Ü é æ ø å ü Denmark II # $ É Æ Ø Å Ü é æ ø å ü Spain II # $ á ¡ Ñ ¿ é ` í ñ ó ú
Latin America # $ á ¡ Ñ ¿ é ü í ñ ó ú
Korea # $ @ [ W ] ^ ` { | } ~
Slovenia/ Croatia # $ Ž Š Đ Ć Č ž š đ ć č
China # Ұ @ [ \ ] ^ ` { | } ~
Page 47
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
38 37
TM-T81
Specification
(STANDARD)
A
3.3 Switches and Buttons
3.3.1 Power Button
The power button (a rocker switch) located on the lower right front of the printer turns the power on or off.
NOTES: 1. Turn on the power only after connecting the power supply.
2. Press the power button after the LED lights go off if the power is turned on immediately after the power is turned off.
3. If the power is turned off without the execution of the DLE DC4 (fn = 2) command, the values of the maintenance counter are not updated correctly. To use the maintenance counter correctly, see Appendix G.
3.3.2 Panel Buttons
1) FEED button: Non-locking push button
[Function] If you push this button once and release it, the printer feeds paper for one line based
on the line spacing set by ESC 2 and ESC 3. However, paper feed using the FEED button cannot be performed under the following conditions:
The roll paper end sensor detects a paper end When the printer cover is open.
NOTE: This button is disabled by ESC c 5.
Page 48
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
39 38
TM-T81
Specification
(STANDARD)
A
3.3.3 DIP Switches
3.3.3.1 Seri al interface specificati on
1) DIP switch 1: 8 switches
Tabl e 3.3.1 DIP Swit ch 1
SW 1 Function ON OFF
Factory
setting
1 Data reception error Ignored Prints '?' OFF 2 Receive buffer capacity 45 bytes 4K bytes OFF 3 Handshaking XON/XOFF DTR/DSR OFF 4 Word length 7 bits 8 bits OFF 5 Parity check Yes No OFF 6 Parity selection Even Odd OFF 7 Transmission speed selection See Table 3.3.2. ON 8 OFF
Table 3.3.2 Transmission Speed
Transmission Speed (bps) SW 1-7 SW 1-8
38400 (See *1) ON ON
4800 OFF ON 9600 ON OFF
19200 OFF OFF
bps: bits per second
NOTES: 1. The default value of the transmission speed is 9600 bps.
2. *1: The transmission speed can be selected by setting the transmission condition of the serial interface.
3. The setting of the communication condition of the serial interface is performed with GS ( E. As for each setting value, see GS ( E for details.
4. The communication condition of the serial interface set by GS ( E is enabled only when DIP switches 1-7 and 1-8 are on. For other settings, the setting values by DIP switch 1 are enabled.
Page 49
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
40 39
TM-T81
Specification
(STANDARD)
A
2) DIP switch 2: 8 switches
Tabl e 3.3.3 DIP Swit ch 2
SW 2 Function ON OFF
Factory setting
1 Handshaking (BUSY condition) Receive buffer full Offline
Receive buffer full
OFF
2 Reserved (Do not change settings) --- Fixed to OFF OFF 3 OFF 4
Selects print density See Table 3.3.4.
OFF
5 Setting the release condition of the
receive buffer BUSY state (this function is effective when the capacity of the receive buffer is set to 4 KB.)
Releases the BUSY state when the remaining capacity of the receive buffer reaches 138 bytes.
Releases the BUSY state when the remaining capacity of the receive buffer reaches 256 bytes.
OFF
6 Reserved (Do not change settings) --- Fixed to Off OFF 7 I/F pin 6 reset signal (*1) Enabled Disabled OFF 8 IF pin 25 reset signal (*2) Enabled Disabled OFF
Tabl e 3.3.4 DIP Swit ch 2-3 and 2-4
Switch No.
3 4
Function
OFF OFF Print density (Standard)
ON OFF Print density (Medium)
OFF ON Print density (Dark)
ON ON Print density (Standard)
NOTES: 1. Change the DIP switch when the printer power is turned off.
2. Changes in DIP switch settings are recognized only when the printer power is turned on or when the printer is reset by using the interface. If the DIP switch setting is changed after the printer power is turned on, the change does not take effect until the printer is turned on again or is reset.
3. If the print density is set to “medium”/”dark” level, printing speed is inclined to be low speed.
Page 50
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
41 40
TM-T81
Specification
(STANDARD)
A
3.3.3.2 USB i nterface specification
Tabl e 3.3.5 DIP Swit ch 1
SW Function ON OFF
Factory
setting
1 Auto line feed Always enabled Always disabled
OFF
2 Receive buffer capacity 45 bytes 4 KB
OFF
3
Undefined --- ---
OFF
4 Undefined --- ---
OFF
5 Undefined --- ---
OFF
6 Undefined --- ---
OFF
7 Undefined --- ---
OFF
8 Setting of USB power-saving feature Disabled Disabled
OFF
Tabl e 3.3.6 DIP Swit ch 2
SW Function ON OFF
Factory
setting
1 Handshaking (BUSY condition) Receive buffer full
Offline
Receive buffer full
OFF
2 Reserved (Do not change settings.) --- Fixed to Off.
OFF
3 See Table 3.3.7.
OFF
4
Selects print density
OFF
5 Setting the release condition of the
receive buffer BUSY state (this function is effective when the capacity of the receive buffer is set to 4 KB.)
Releases the BUSY state when the remaining capacity of the receive buffer reaches 138 bytes.
Releases the BUSY state when the remaining capacity of the receive buffer reaches 256 bytes.
OFF
6 Reserved (Do not change settings.) --- Fixed to Off. OFF 7 Reserved (Do not change settings.) --- Fixed to Off. OFF 8 Reserved (Do not change settings.) Fixed to On ---
OFF
Tabl e 3.3.7 DIP Swit ch 2-3 and 2-4
3 4 Function
OFF OFF Print density (Standard)
ON OFF Print density (Medium)
OFF ON Print density (Dark)
ON ON Print density (Standard)
NOTES: 1. Change the DIP switch when the printer power is turned off.
2. Changes in DIP switch settings are recognized only when the printer power is turned on or when the printer is reset by using the interface. If the DIP switch setting is changed after the printer power is turned on, the change does not take effect until the printer is turned on again or is reset.
3. If the print density is set to “medium”/”dark” level, printing speed is inclined to be low speed.
Page 51
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
42 41
TM-T81
Specification
(STANDARD)
A
3.3.4 Customized value
The customized value is set with GS ( E command. See GS ( E for details.
Tabl e 3.3.8 Types o f t he Customi z ed Value
Function Value
Selection of print density 13 levels in the print density level 1 to 13
Selection of print speed Level 1–9 (9 levels)
Page 52
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
43 42
TM-T81
Specification
(STANDARD)
A
3.4 Panel LED Indicators
1) Power LED: Green On: Power is stable. Off: Power is not stable.
2) Error (ERROR) LED: Orange
On: Offline (except during paper feeding using the FEED button and during test printing,
and the error state). (See Section 2.1.1.2, Switching between online and offline.) Flashing: Error. (See Section 3.7.) Off: Normal condition
Figure 3.4.1 Panel S witches an d Indi cators
Page 53
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
44 43
TM-T81
Specification
(STANDARD)
A
3.5 Self-test
1) The printer has a self-test function that checks the following:
Control circuit functions
Printer mechanisms
Print quality
Control software version
DIP switch settings
2) Starting the self-test To start a self-test on a roll paper, hold down the FEED button and turn on the printer with the
cover closed, then the current printer status (*1) is printed.
(*1) Control software version
DIP switch settings
4) Ending the self-test After a number of lines are printed, the printer indicates the end of the self-test by printing "***
completed ***".
Page 54
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
45 44
TM-T81
Specification
(STANDARD)
A
3.6 Hexadecimal Dumping
1) Hexadecimal dumping function
This function prints the data transmitted from the host computer in hexadecimal numbers and in its corresponding characters.
2) Starting hexadecimal dumping
Open the cover and turn the power on while pressing the FEED button or executing GS ( A command, then close the cover. The printer first prints "Hexadecimal Dump To terminate ….." on roll paper and prints the received print data in hexadecimal numbers and in its corresponding characters.
NOTES: 1. If no characters correspond to the data received, the printer prints ".".
2. During hexadecimal dumping, any commands other than DLE EO T do not
function.
3. Insufficient print data to fill the last line can be printed by setting the printer
offline.
3) Ending hexadecimal dumping
Hexadecimal dumping ends by turning the power off, pressing the FEED button three times, or resetting the printer after printing has finished.
<Printing example>
Hexadecimal Dump To terminate hexadecimal dump, press FEED button three times.
1B 21 00 1B 26 02 40 40 1B 69 . ! . .&.
@
@
.i 1B 25 01 1B 63 34 00 1B 30 31 .%..c4..01 41 42 43 44 45 46 47 48 49 4A
ABC
DEFG
H
IJ
*** completed ***
Page 55
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
46 45
TM-T81
Specification
(STANDARD)
A
3.7 NV Graphics Print Mode
1) NV graphics print function This function prints the NV graphics that are registered in the printer. The printer prints:
Capacity of the NV graphics
Occupied capacity of the NV graphics
Unused capacity of the NV graphics
Number of the NV graphics that are registered
Key code, number of dots in X direction, number of dots in Y direction, number of color to be
defined
NV graphics data
2) Mode start
c Open the paper roll cover and turn the power on while pressing the paper FEED button; then
press the paper FEED button once and close the paper roll cover.
d The instructions for printing the NV graphics are printed. Open the paper roll cover and
press the paper FEED button once and close the paper roll cover.
3) Mode end Turn the power off.
Page 56
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
47 46
TM-T81
Specification
(STANDARD)
A
3.8 Error Processing
3.8.1 Error Types
1) Errors that automatically recover
Tabl e 3.8.1 Errors That Automatically Recover
Error Description
ERROR LED Flashing Pattern
160 ms
Recovery
Print head temperature error
The temperature of the print head is extremely high.
Recovers automatically when the print head cools.
Roll paper cover open error
Printing on the roll paper is not performed correctly due to a cover-open
Recovers automatically when cover is closed. The printer restarts printing with the line being printed when the cover was opened.
NOTE: Print head temperature error is not an abnormality.
2) Errors that have the possibility of recovery
Tabl e 3.8.2 Errors That Can Possi bly Recover
Error Description
ERROR LED Flashing Pattern
160 ms
Recovery
Autocutter error
The autocutter does not work correctly.
A
pproximately
2.56 s
Recovers by DLE ENQ 1 or DLE ENQ 2.
Page 57
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
48 47
TM-T81
Specification
(STANDARD)
A
3) Errors that are impossible to recover
Table 3.8.3 Unrecoverable Errors
Error Description
ERROR LED Flashing Pattern
160 ms
Recovery
R/W error in memory or gate array
After R/W checking, the printer does not work correctly.
Impossible to recover.
High voltage error
The power supply voltage is extremely high.
Impossible to recover.
Low voltage error
The power supply voltage is extremely low.
Impossible to recover.
CPU execution error
The CPU executes an incorrect address or I/F board is not connected.
Impossible to recover.
UIB error An abnormal operation
occurs in UIB.
Impossible to recover.
Internal circuit connection error
Internal circuits are not connected correctly.
Approximately 2.56 s
Impossible to recover.
NOTE: When any error shown above occurs, turn off the power as soon as possible.
3.8.2 Printer Operation When an Error Occurs
The printer executes the following operations when detecting an error.
Stops all printer operations for the selected paper section.
Goes offline.
Goes BUSY. (See Section 3.3.3 DIP switches when DIP switch 2-1 is off.)
Flashes the ERROR LED.
3.8.3 Data Receive Error (only in the serial interface specification)
If one of the following errors occurs during serial interface communication, the printer prints "?" or ignores the data, depending on the setting of DIP switch 1-1.
Parity error
Framing error
Overrun error
Page 58
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
49 48
TM-T81
Specification
(STANDARD)
A
3.9 Cover Open Sensor
The cover open sensor monitors the printer cover. When the sensor detects a cover open during printing, the error LED flashes and the printer stops printing. The printer recovers when the cover is closed. When the sensor detects a cover open while the printer is in the standby status, the printer goes offline. The printer recovers when the cover is closed.
NOTE: Whether the cover is open or not does not affect the status reported by the roll paper end
sensor.
3.10 Print Buffer-full Printin g
When printing in standard mode When subsequent data is received after the printer processes one line of data in the print buffer, the
printer automatically prints the processed line and feeds the paper by one line (in standard mode).
When printing in page mode When subsequent data is received after the printer processes one line of data in the print buffer, the
printer automatically moves the printing position to the line after the processed one.
Page 59
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
50 49
TM-T81
Specification
(STANDARD)
A
4. CASE SPECIF ICATIONS
4.1 External Dimensions and Mass
Height: Approximately 145 mm {5.71"} Width: Approximately 144 mm {5.67"} Depth: Approximately 189 mm {7.44"} Mass: Approximately 1.7 kg {3.74 lb} (roll paper excluded)
4.2 Color
EPSON standard color (ECW, EDG)
4.3 External Appearance
Figure 4.3.1 External Appearance
Material for the exterior parts: 94V-0 [Units: mm]
Page 60
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
51 50
TM-T81
Specification
(STANDARD)
A
5. OPTIONS AND CONSUMABLES
5.1 Standard Accessories
Roll paper
User's Manual (Languages: English, German, French, Spanish, Portuguese, Italian, Dutch)
Power switch cover
External power supply
Model: PS-180
5.2 Options
Affixing tapes Model: DF-10
5.3 Consumables
Specified paper
Thermal roll paper: NTP080-80 (for 80 mm paper width model) [Original paper: TF50KS-E Nippon Paper Industries Co., Ltd.]
In Japan: Nakagawa Manufacturing Co., Ltd. In U.S.A.: Nakagawa Mfg. (USA) Inc. In Europe: Nakagawa Mfg. (Europe) GmbH In Southeast Asia: N.A.K. Mfg. (Malaysia) SDN BHD
Page 61
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
51 52
A
TM-T81
Specification
(STANDARD)
6. COMMANDS
6.1 Command Notation
XXXX
[Name] The name of the command. [Form at] The code sequence.
[ ]k indicates the c ontents in brackets [ ] should be repeated k times. [Range] Gives t he allowable ranges, i f any, for the command parameters. [Default] Gi ves the default values, if any , for t he ar guments. [Description] Describes the funct ion of t he c ommand.
“ in the table indic ates 0 or 1. [Notes] Provides import ant information on setting and usi ng the printer c ommand, if nec essary. [Referenc e] Gives a reference, if any.
6.2 Explanation of Terms
1) Real-time command
Real-ti me commands are identified with a DLE extension such as DLE EOT, DLE ENQ, or DLE DC4. The printer execut es t hese commands as soon as they are received.
2) Obsolete command
Obsolete commands are commands that will not be support ed by future printer models. Therefor e, we recomm end r eplacing them with m ore recent, upward-compatible commands that have t he same funct ions.
3) NV memory write command
NV mem or y wri te commands delete or store dat a in the NV m emory (flash ROM)
GS ( E <some funct ions>, GS ( L / GS 8 L <some f unctions>, GS g 0, FS g 1, FS q
4) ESC/POS Handshaking Protocol
ESC/POS Handshaking Protocol is a handshaking protocol between the host com puter and the printer when the printer transmits data. The ESC/PO S Handshaking Protocol is required i f the following commands are execut ed:
GS ( L / GS 8 L <some functions>
5) Print buff er
The print buff er is used to store im age data for printing
6) Receive buffer
The receive buffer is used to store data fr om the host computer. All receiv ed data is stored in this buffer and processed in t he or der r ec eiv ed.
Page 62
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
52 53
A
TM-T81
Specification
(STANDARD)
7) Maxi mum printable ar ea
The maximum printable area of this printer is as follows:
Standard Mode (Horizontal direction) : 72.25 mm {512/180"}
Page Mode (Horizontal direction): 72.25 mm {512/ 180"}
Page Mode (Vertical direction): 234.53 mm { 3324/360"}
8) Horizontal or vertic al motion units
The horizont al or vertic al motion units are used for calculating the setting values f or various comm ands and can be changed with GS P.
9) Left edge of the print area
The left edge of the print area indicat es the first c olumn for charact er ( s) to be developed, and also the print posi tion to be mov ed when (n
L + nH × 256) = 0 is specified with ESC $.
I n standar d mode, the left edge of the print area is the posi tion of the left mar gin.
I n page mode, the left edge of the print area is the posi tion of the left edge when the starting
position specified with ESC T is viewed as the left top of the pri nt area.
10) Column form at / Raster format
Column format is a for mat where data is set i n descending order (bit 7, 6, …, 0) from the top vertically.
d1 d4 d7
MSB
LSB
d2 d5 d8
MSB
LSB
d3 d6 d9
MSB
LSB
Raster format is a format where data is set in descending order ( bit 7, 6, … , 0) fr om the left horizontally.
d1 d2 d3 d4 d5 d6 d7 d8 d9
MSB LSB MSB LSB MSB LSB
11) Inch
A unit of length. One inch is 25. 4 mm.
12) dpi
dpi (dots per inc h) is the number of dots per 25.4 mm.
Page 63
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
53 54
A
TM-T81
Specification
(STANDARD)
6.3 Control Commands
HT
[Name] Horizontal tab [Format] ASCII HT
Hex 09
Decimal 9 [Description] Moves the print position to t he next hori z ontal tab position.
LF
[Name] Print and line feed [Format] ASCII LF
Hex 0A
Decimal 10 [Description] Print s the data in the print buf fer and feeds one line, based on the current line
spacing.
FF (In page mode)
[Name] Print and r eturn to standard mode (in page m ode) [Format] ASCII FF
Hex 0C
Decimal 12 [Description] Print s al l the data i n the print buff er c ollectively and switches f r om page mode to
standard mode.
CR
[Name] Print and c ar r iage return [Format] ASCII CR
Hex 0D
Decimal 13 [Description] Executes one of the followi ng oper ations.
Condition Function
When automatic line feed is enabled.
Functions the same as LF.
When automatic line feed is disabled and when using the serial interface model.
This command is ignor ed.
Page 64
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
54 55
A
TM-T81
Specification
(STANDARD)
CAN
[Name] Cancel pri nt data in page mode [Format] ASCII CAN
Hex 18
Decimal 24 [Description] In page mode, deletes all the print data in the c ur r ent print ar ea.
DLE EOT n
[Name] Transmi t real-t ime status [Format] ASCII DLE EOT n
Hex 10 04 n
Decimal 16 4 n [Range] 1 n ≤ 4 [Description] Transmits the real- time status.
n
Function 1 Transmits printer status. 2 Transmits offline cause status. 3 Transmits error c ause status. 4 Transmits roll paper sensor status.
Thi s printer transm its the following stat us i n real ti me.
Printer status (n = 1)
Bit Off/On Hex Decimal Status
0 Off 00 0 Fixed. 1 On 02 2 Fixed. 2 Off 00 0 Drawer kick out connect or pin 3 is LOW.
On 04 4 Drawer kick out connector pin 3 is HIGH.
3 Off 00 0 Online.
On 08 8 Offline.
4 On 10 16 Fixed.
5, 6 -- -- -- Reserved.
7 Off 00 0 Fixed.
Page 65
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
55 56
A
TM-T81
Specification
(STANDARD)
Offline cause status (n = 2)
Bit Off/On Hex Decimal Status
0 Off 00 0 Fixed. 1 On 02 2 Fixed. 2 Off 00 0 Cover is closed.
On 04 4 Cover is open.
3 Off 00 0 Paper is not being fed by the paper FE E D
button.
On 08 8 Paper is being fed by the paper FEED button. 4 On 10 16 Fixed. 5 Off 00 0 No paper end stop.
On 20 32 Printing stopped by paper end. 6 Off 00 0 No error.
On 40 64 Error occurred. 7 Off 00 0 Fixed.
Error cause status (n = 3)
Bit Off/On Hex Decimal Status
0 Off 00 0 Fixed. 1 On 02 2 Fixed. 2 -- -- -- Reserved. 3 Off 00 0 No autocutter error.
On 08 8 Autocutter error oc c ur red. 4 On 10 16 Fixed. 5 Off 00 0 No unrecoverable error.
On 20 32 Unrecoverabl e error occurred. 6 Off 00 0 No automatic ally recoverable error.
On 40 64 Automatic ally rec overable error occurr ed. 7 Off 00 0 Fixed.
Page 66
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
56 57
A
TM-T81
Specification
(STANDARD)
Roll paper sensor status (n = 4)
Bit Off/On Hex Decimal Status
0 Off 00 0 Fixed. 1 On 02 2 Fixed.
2, 3 Off 00 0 Roll paper near-end sensor: paper adequate.
On 0C 12 Roll paper near - end sensor: paper near end. 4 On 10 16 Fixed.
5, 6 Off 00 0 Roll paper end sensor: paper present.
On 60 96 Roll paper end sensor: paper not present. 7 Off 00 0 Fixed.
Bits 5 and 6: While the cover is openi ng, this shows the state when the cov er was still
closed.
[Notes] Take the foll owing into consideration:
If the r ec eived data includes a data string matching t his comm and, the printer
performs this command. Users must consi der this.
For example: Gr aphic data might accidentally include a data string matching this
command.
Do not embed this comm and within another command.
For example: Gr aphic data might i nc lude this command.
Transm it thi s command using the fol lowing method:
When t his command is transmitted, the data following m ust not be transmitted until
the status is received.
However, if this comm and must be transm itted cont inuously, it is possible to transmit
up to 4 commands at once. In this case, the data fol lowing must not be transmitted until the all status is received. If t his comm and is transmi tted without usi ng the above method, t he status may not be received.
Page 67
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
57 58
A
TM-T81
Specification
(STANDARD)
DLE ENQ n
[Name] Send real-t ime request to printer [Format] ASCII DLE ENQ n
Hex 10 05 n
Decimal 16 5 n [Range] n = 1, 2 [Description] Responds to a request in real- tim e from the host comput er .
n
Function
1 Recovers f r om a recoverable er r or and r estar ts printi ng from the line where
the error occurr ed.
This command is ignored unless a recoverable error has occurred.
2 Recovers f r om a recoverable er r or after clearing t he r ec eiv e and pr int
buffers.
This command is ignored unless a recoverable error has occurred.
[Notes] Use this command after removi ng the cause of the er r or .
Take t he following into consideration:
If the r ec eived data includes a data string matching t his comm and, the printer
performs the command. Users must consider this.
For example: Gr aphic data might accidentally include a data string matching this
command.
Do not embed this comm and within another command.
For example: Gr aphic data might i nc lude this command.
[Reference] Appendix C
Page 68
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
58 59
A
TM-T81
Specification
(STANDARD)
DLE DC4 fn m t (fn = 1)
[Name] Generate pul se i n r eal-ti me [Format] ASCII DLE DC4 fn m t
Hex 10 14 fn m t
Decimal 16 20 fn m t [Range] fn = 1
m = 0, 1
1 t 8 [Description] Outputs the pulse specified by t in real-time to connector pin m.
m
Connector pin 0 Drawer ki c k out connector pin 2. 1 Drawer ki c k out connector pin 5.
t specifies the pulse on ti me or of f ti me as [t × 100 ms].
[Notes] Take the foll owing into consideration:
If the r ec eived data includes a data string with this command, the printer performs
the command. Users must consider this.
For example: Gr aphic data might accidentally include a data string matching this
command.
Do not embed this comm and within another command.
For example: Gr aphic data might i nc lude this command.
Page 69
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
59 60
A
TM-T81
Specification
(STANDARD)
DLE DC4 fn a b (fn = 2)
[Name] Execut e power-off sequence [Format] ASCII DLE DC4 fn a b
Hex 10 14 fn a b Decimal 16 20 fn a b
[Range] fn = 2
a = 1 b = 8
[Description] Executes the printer power-off sequence and t r ansmits the power-off not ice.
Stores the values of the maintenance counter.
Sets the interface to BUSY.
Sets the print er to standby mode.
[Notes] Take the foll owing into consideration:
If the r ec eived data includes a data string matching t his comm and, the printer
performs the command. Users must consider this.
For example: Gr aphic data might accidentally include a data string matching this
command.
Do not embed this comm and within another command.
For example: Gr aphic data might i nc lude this command.
Thi s command does not shut the power off. The operator must turn off t he power after r ec eiv ing the power-of f noti c e.
If this command is encount er ed, the printer will not continue to process anything. To recov er the printer to print again, it is necessary to turn the power on again or execute a hardware reset.
[Reference] Appendix G
Page 70
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
60 61
A
TM-T81
Specification
(STANDARD)
DLE DC4 fn d1…d7 (fn = 8)
[Name] Clear buffer(s) [Format] ASCII DLE DC4 fn d1…d7
Hex 10 14 fn d1…d7 Decimal 16 20 fn d1…d7
[Range] fn = 8
d1 = 1 , d2 = 3 , d3 = 20 , d4 = 1 , d5 = 6 , d6 = 2 , d7 = 8
[Description] Clears all data stored in t he r eceive buffer and the print buffer and tr ansmits Clear
response.
If a recoverable error occurs, recovers from the error.
[Notes] Do not use this command i n a system that uses the printer with the O P OS driver or
the JavaPOS dri ver pr ovi ded by S eiko Epson Corporati on.
Take t he following into consideration:
If the r ec eived data includes a data string matching t his comm and, the printer
performs the command. Users must consider this.
For example: Gr aphic data might accidentally include a data string matching this
command.
Do not embed this comm and within another command.
For example: Gr aphic data might i nc lude this command.
When this command i s tr ansmitt ed, the data following must not be transmitted until the status is received.
ESC FF
[Name] Print data in page mode [Format] ASCII ESC FF
Hex 1B 0C Decimal 27 12
[Description] In page mode, prints all the data in the print buff er c ollect iv ely.
ESC SP n
[Name] Set right-side charact er spacing [Format] ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Sets the ri ght-side charact er spacing to [n × (horizontal or vert ical motion unit)]. [Note] T he maximum is 35.98 mm {255/180"}.
Page 71
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
61 62
A
TM-T81
Specification
(STANDARD)
ESC ! n
[Name] Select pr int m ode( s) [Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Select s the c har ac ter font and styles (emphasi z ed, double-hei ght, double-widt h, and
underlined) together.
(n)
Bit Off/On Hex Decimal Function
0 Off 00 0
Character font A (12 × 24) selec ted.
On 01 1
Character font B (9 × 17) selected.
1, 2 Of f 00 0 Reserved.
3 Off 00 0 E mphasized mode is turned off.
On 08 8 Emphasized mode is turned on.
4 Off 00 0 Double-height canceled.
On 10 16 Double-height selected.
5 Off 00 0 Double-width canceled.
On 20 32 Double-width selected. 6 Off 00 0 Reserved. 7 Off 00 0 Underline mode is turned off.
On 80 128 Underline mode is turned on.
Page 72
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
62 63
A
TM-T81
Specification
(STANDARD)
ESC $ nL nH
[Name] Set absolute print position [Format] ASCII ESC $ n
L nH
Hex 1B 24 n
L nH
Decimal 27 36 n
L nH
[Range] 0 ≤ (n
L + nH × 256) 65535 (0 nL 255 , 0 nH 255)
[Description] Moves the print position to [ ( n
L + nH × 256) × (horizontal or vertic al motion unit) ] from
the left edge of the print area.
ESC % n
[Name] Select/cancel user-defined charac ter set [Format] ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Select s or canc els the user-defined character set.
When t he LS B of n is 0, t he user-defined char ac ter set is cancel ed.
When t he LS B of n is 1, t he user-defined char ac ter set is selected.
ESC & y c1 c2 [x1 d1...d(y×x1)]...[xk d1...d(y×xk)]
[Name] Defi ne user-defined c har ac ters [Format] ASCII ESC & y c1 c2 [ x1 d1...d(y×x1)]...[ xk d1...d(y×xk)]
Hex 1B 26 y c1 c2 [ x1 d1...d(y
×
x1)]...[ xk d1...d(y×xk)]
Decimal 27 38 y c1 c2 [ x1 d1...d(y
×
x1)]...[ xk d1...d(y×xk)]
[Range] y = 3
32 c1c2 126
0 x 12 [when Font A ( 12 × 24) is selected]
0 x 9 [when Font B ( 9 × 17) is selected]
0 d 255
k = c2c1 +1 [Description] Defines the user-defi ned c haracter patt er n for the specifi ed c har ac ter codes.
y specifies the number of bytes in t he vertical directi on.
c1 specifi es t he beginning character code for the definiti on, and c2 specifies the final
code.
x specifies the number of dots in the hor izontal directi on from the left edge.
d specifi es t he defined dat a ( c olumn format).
[Note] User-defined charac ters and a downloaded bit i mage (GS ) c annot be defi ned
simultaneously. When this command is executed, the downloaded bit image i s deleted.
Page 73
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
63 64
A
TM-T81
Specification
(STANDARD)
ESC m nL nH d1...dk
[Name] Select bit-image mode [Format] ASCII ESC m nL nH d1...dk
Hex 1B 2A m n
L nH d1...dk
Decimal 27 42 m n
L nH d1...dk
[Range] m = 0, 1, 32, 33
1 (n
L + nH × 256) 2047 (0 ≤ nL ≤ 255 , 0 ≤ nH ≤ 7)
0 d 255
k = n
L + nH × 256 [when m = 0,1]
k = (n
L + nH × 256) × 3 [when m = 32,33]
[Description] Stores the bi t image data in the print buf fer using the bit image mode speci fied by m.
m
Bit i mage mode Verti c al direction Horizontal direct ion 0 8-dot si ngle-density 60 dpi 90 dpi 1 8-dot double-density 60 dpi 180 dpi
32 24-dot single- densi ty 180 dpi 90 dpi 33 24-dot double-densi ty 180 dpi 180 dpi
nL, nH specify the number of dots in the hori z ontal direc tion as (nL + nH × 256).
d specifi es t he bit image data (col umn format).
ESC − n
[Name] Turn underline mode on/ off [Format] ASCII ESC n
Hex 1B 2D n
Decimal 27 45 n [Range] 0 n ≤ 2 , 48 ≤ n ≤ 50 [Default] n = 0 [Description] Turns underline mode on or off.
n
Function 0, 48 Turns off underline mode. 1, 49 Turns on underline mode, set at 1-dot widt h. 2, 50 Turns on underline mode, set at 2-dot widt h.
ESC 2
[Name] Select default line spacing [Format] ASCII ESC 2
Hex 1B 32 Decimal 27 50
[Description] Sets the line spacing to approximately 4. 23 mm {1/6"}.
Page 74
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
64 65
A
TM-T81
Specification
(STANDARD)
ESC 3 n
[Name] Set line spacing [Format] ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n [Range] 0 n ≤ 255 [Default] Equival ent to approximately 4.23 mm {1/6" } . [Description] Sets the line spacing to [n × ( vertical or hor izontal moti on unit)]. [Note] T he maximum is 1016 mm { 40" } .
ESC = n
[Name] Select per ipheral devic e [Format] ASCII ESC = n
Hex 1B 3D n
Decimal 27 61 n [Range] 1 n ≤ 3 [Default] n = 1 [Description] Select s the devi c e to which the host computer transmits data.
n
Function
1, 3 Enables printer.
2 Disables printer.
When t he pr inter i s di sabl ed ( n = 2), all data except this command and the real-time
comm ands are ignored.
ESC ? n
[Name] Cancel user-defined characters [Format] ASCII ESC ? n
Hex 1B 3F n
Decimal 27 63 n [Range] 32 n ≤ 126 [Description] Deletes the user-defined char ac ter pattern speci fied by c har ac ter code n.
Page 75
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
65 66
A
TM-T81
Specification
(STANDARD)
ESC @
[Name] Initialize printer [Format] ASCII ESC @
Hex 1B 40
Decimal 27 64 [Description] Clears the data in the print buffer and resets the pri nter modes to t he modes that were
in effect when the power was turned on. Keeps the fol lowing data:
Macro definition data.
Contents stored in the NV user memory.
Contents defi ned for the NV gr aphics (NV bit image).
Maintenance counter v alue.
Setting val ue specifi ed with GS ( E.
ESC D n1...nk NUL
[Name] Set horiz ontal tab positions [Format] ASCII ESC D n1...nk NUL
Hex 1B 44 n1...nk 00
Decimal 27 68 n1...nk 0 [Range] 1 n1n2 ≤ ... ≤ nk ≤ 255
0 k 32 [Default] n = 8, 16, 24, 32, 40, ... , 232, 240, 248
[for Font A (12 × 24) i n a standar d c haracter size widt h] [Description] Sets horizontal tab positions.
n specifi es t he number of digits from t he setting position to the left edge of the pri nt
area.
k is used to indic ate the number of bytes set for the hori z ontal tab posit ion.
ESC E n
[Name] Turn emphasi z ed mode on/off [Format] ASCII ESC E n
Hex 1B 45 n
Decimal 27 69 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Turns emphasiz ed mode on or off.
When t he LS B of n is 0, emphasized mode is turned off.
When t he LS B of n is 1, emphasized mode is turned on.
Page 76
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
66 67
A
TM-T81
Specification
(STANDARD)
ESC G n
[Name] Turn double-strike m ode on/off [Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Turns double-strike mode on or off .
When t he LS B of n is 0, double-strike mode is turned off.
When t he LS B of n is 1, double-strike mode is turned on.
ESC J n
[Name] Print and feed paper [Format] ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n [Range] 0 n ≤ 255 [Description] Print s the data in the print buf fer and feeds the paper [n × (verti cal or hori z ontal
motion unit)].
[Note] T he maximum paper feed am ount is 1016 mm {40"}.
ESC L
[Name] Select page mode [Format] ASCII ESC L
Hex 1B 4C
Decimal 27 76 [Description] Switches f r om standard m ode to page mode.
Page 77
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
67 68
A
TM-T81
Specification
(STANDARD)
ESC M n
[Name] Select c har ac ter font [Format] ASCII ESC M n
Hex 1B 4D n
Decimal 27 77 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] Select s a charac ter font.
n
Character font
0, 48
Character font A (12 × 24)
1, 49
Character font B (9 × 17)
ESC R n
[Name] Select an international character set [Format] ASCII ESC R n
Hex 1B 52 n
Decimal 27 82 n [Range] 0 n ≤ 15 [Default] n = 0 [Description] Select s an i nternational character set.
n
International charact er set 0 U.S.A. 1 France 2 Germany 3 U.K. 4 Denmark I 5 Sweden 6 Italy 7 Spain I 8 Japan 9 Norway
10 Denmark II 11 Spain II 12 Latin America 13 Korea 14 Slovenia / Croatia 15 China
[Referenc e] "3.2.13 Inter national Char ac ter Sets"
Page 78
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
68 69
A
TM-T81
Specification
(STANDARD)
ESC S
[Name] Select standar d mode [Format] ASCII ESC S
Hex 1B 53 Decimal 27 83
[Description] Switches f r om page mode to standard mode.
ESC T n
[Name] Select pr int dir ec tion in page mode [Format] ASCII ESC T n
Hex 1B 54 n
Decimal 27 84 n [Range] 0 n ≤ 3 , 48 ≤ n ≤ 51 [Default] n = 0 [Description] In page mode, selects the print direction and starting position.
n
Print direction S tarting posi tion 0, 48 Left to ri ght Upper left 1, 49 Bottom to t op Lower left 2, 50 Right to left Lower right 3, 51 Top t o bottom Upper r ight
ESC V n
[Name] Turn 90° cl oc k wise rot ation m ode on/off [Format] ASCII ESC V n
Hex 1B 56 n
Decimal 27 86 n [Range] 0 n ≤ 2 , 48 ≤ n ≤ 50 [Default] n = 0 [Description] In standard m ode, turns 90° cloc k wi se rot ation mode on or off for charac ters.
n
Function 0, 48 Turns off 90° c lockwise rotation mode. 1, 49
2, 50
Turns on 90° clock wise rot ation m ode.
Page 79
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
69 70
A
TM-T81
Specification
(STANDARD)
ESC W xL xH yL yH dxL dxH dyL dyH
[Name] Set print area in page mode [Format] ASCII ESC W x
L xH yL yH dxL dxH dyL dyH
Hex 1B 57 x
L xH yL yH dxL dxH dyL dyH
Decimal 27 87 x
L xH yL yH dxL dxH dyL dyH
[Range] 0 ≤ (x
L + xH × 256) 65535 (0 xL 255 , 0 xH 255)
0 (y
L + yH × 256) 65535 (0 yL 255 , 0 yH 255)
1 (dx
L + dxH × 256) 65535 (0 dxL 255 , 0 dxH 255)
1 (dy
L + dyH × 256) 65535 (0 dyL 255 , 0 dyH 255)
[Default] (x
L + xH × 256) = 0 (xL = 0 , xH = 0)
(y
L + yH × 256) = 0 (yL = 0 , yH = 0)
(dx
L + dxH × 256) = 512 (dxL = 0 , dxH = 2)
(dy
L + dyH × 256) = 1662 (dyL = 126 , dyH = 6)
[Description] In page mode, sets the size and the l ogical origin of the print ar ea.
xL, xH specify the horizontal logi c al origi n as [( xL + xH × 256) × (horizont al motion
unit)] from absol ute origi n.
yL, yH specify the ver tical logical origin as [( yL + yH × 256) × (vertical motion unit)]
from absolute origin.
dxL, dxH specif y the horizontal dimension of print area as [(dxL + dxH × 256) ×
(horizontal motion unit) ].
dyL, dyH specify the vertical di mension of pr int area as [(dyL + dyH × 256) × (vertical
motion unit)].
[Note] T he vert ical di mension of the print ar ea c an be set to 234.53 mm {3324/360"}
maximum.
ESC \ nL nH
[Name] Set relative print posi tion [Format] ASCII ESC \ n
L nH
Hex 1B 5C n
L nH
Decimal 27 92 n
L nH
[Range] -32768 ≤ (nL + nH × 256) ≤ 32767 [Description] Moves the print position to [ ( n
L + nH × 256) × (horizontal or vertic al motion unit) ] from
the current position.
A positive num ber specifi es movement to the right, and a negative number specifi es
movement to the left.
Page 80
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
70 71
A
TM-T81
Specification
(STANDARD)
ESC a n
[Name] Select justification [Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n [Range] 0 n ≤ 2 , 48 ≤ n ≤ 50 [Default] n = 0 [Description] In standard m ode, aligns all the data in one line t o the selected layout.
n
Justification 0, 48 Left justi fication 1, 49 Centering 2, 50 Right justificat ion
ESC c 4 n
[Name] Select paper sensor(s) to stop pr inting [Format] ASCII ESC c 4 n
Hex 1B 63 34 n
Decimal 27 99 52 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Select s the paper sensor(s) to use to stop pr inting when a paper end i s detec ted.
(n)
Bit Off/On Hex Decimal Function
0 Off 00 0 Roll paper near- end sensor disabl ed.
On 01 1 Roll paper near-end sensor enabled.
1 Off 00 0 Roll paper near- end sensor disabl ed.
On 02 2 Roll paper near-end sensor enabled.
2 - 7 Off 00 0 Reserved.
ESC c 5 n
[Name] Enable/disable panel buttons [Format] ASCII ESC c 5 n
Hex 1B 63 35 n
Decimal 27 99 53 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] Enables or disabl es the panel buttons.
When t he LS B of n is 0, t he panel buttons are enabled.
When t he LS B of n is 1, t he panel buttons are disabl ed.
[Notes] This command affects the FEED butt on.
FEED button is disabled r egar dless of the settings with this command, when the cover
is open.
Page 81
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
71 72
A
TM-T81
Specification
(STANDARD)
ESC d n
[Name] Print and feed n li nes [Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n [Range] 0 n ≤ 255 [Description] Print s the data in the print buf fer and feeds the paper [n × (current line spacing)]. [Note] T he maximum paper feed am ount is 1016 mm {40"}.
ESC p m t1 t2
[Name] Generate pulse [Format] ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2
Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49
0 t1 255
0 t2 255 [Description] Outputs the pulse specified by t1 and t2 to connector pi n m.
m
Connector pin 0, 48 Drawer kic k out connector pin 2. 1, 49 Drawer kic k out connector pin 5.
t1 specifies the pulse on time as [t1 × 2 ms].
t2 specifies the pulse off time as [t2 × 2 ms].
[Note] Spec ify a val ue so that the of f ti me is longer than the on ti me (t1 < t2).
Page 82
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
72 73
A
TM-T81
Specification
(STANDARD)
ESC t n
[Name] Select c har ac ter code tabl e [Format] ASCII ESC t n
Hex 1B 74 n
Decimal 27 116 n [Range] 0 n ≤ 5 , 16 ≤ n ≤ 19 , n = 255 [Default] n = 0 [Description] S elects page n from the char ac ter code tabl e.
n
Character code table 0 Page 0 [ P C437 ( US A : Standard Europe) ] 1 Page 1 [Katakana] 2 Page 2 [PC850 (Multilingual)] 3 Page 3 [PC860 (Portuguese)] 4 Page 4 [PC863 (Canadian-French) 5 Page 5 [PC865 (Nordic)]
16 Page 16 [WPC1252] 17 Page 17 [PC866 (Cyrillic #2)] 18 Page 18 [PC852 (Latin 2)] 19 Page 19 [PC858 (Euro)]
255 Page 255 [User-defined page]
[Referenc e] "3.2 Character Code T ables"
ESC { n
[Name] Turn upside-down print mode on/off [Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n [Range] 0 n ≤ 255 [Default] n = 0 [Description] In standard m ode, turns upside-down print mode on or of f.
When t he LS B of n is 0, upside- down pri nt mode is t ur ned off .
When t he LS B of n is 1, upside- down pri nt mode is t ur ned on.
Page 83
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
73 74
A
TM-T81
Specification
(STANDARD)
FS g 1 m a1 a2 a3 a4 nL nH d1...dk [obsol ete command]
[Name] W r ite to NV user memory [Format] ASCII FS g 1 m a1 a2 a3 a4 n
L nH d1...dk
Hex 1C 67 31 m a1 a2 a3 a4 n
L nH d1...dk
Decimal 28 103 49 m a1 a2 a3 a4 n
L nH d1...dk
[Range] m = 0
0 (a1 + a2 × 256 + a3 × 65536 + a4 × 16777216) 1023
(0 a1 ≤ 255 , 0 ≤ a2 ≤ 3 , a3 = 0 , a4 = 0)
1 (n
L + nH × 256) 1024 (0 ≤ nL ≤ 255 , 0 ≤ nH ≤ 4)
32 d 255
k = (n
L + nH × 256)
The entire c apac ity size = 1KB. [Description] Stores the data ( d1...dk) in the area from (a1 + a2 × 256 + a3 × 65536 + a4 ×
16777216) to (n
L + nH × 256) bytes in the NV user memory.
[Notes] Frequent write command execut ions by an NV memory write command may damage
the NV memory. Ther efore, it is recommended to wri te to the NV memory less than 10 tim es a day.
If the power is turned off or the printer is reset via an inter face while this command is
being executed, the pri nter may go into an abnorm al condition. Be careful not to turn the power off or let the printer be reset via an interface while this command i s being executed.
Whil e pr oc essing t his command, the pri nter is BUSY while writing dat a to the NV
memor y and stops receiving data. Therefore, be sure not to transmit data, incl uding the real-t ime commands while the printer is BUSY.
FS g 2 m a1 a2 a3 a4 nL nH [obsolete command]
[Name] Read from NV user memory [Format] ASCII FS g 2 m a1 a2 a3 a4 n
L nH
Hex 1C 67 32 m a1 a2 a3 a4 n
L nH
Decimal 28 103 50 m a1 a2 a3 a4 n
L nH
[Range] m = 0
0 (a1 + a2 × 256 + a3 × 65536 + a4 × 16777216) 1023
(0 a1 ≤ 255 , 0 ≤ a2 ≤ 3 , a3 = 0 , a4 = 0)
1 (n
L + nH × 256) 80 (1 nL 80 , nH = 0)
[Description] Transmits the data in the area fr om (a1 + a2 × 256 + a3 × 65536 + a4 × 16777216) to
(n
L + nH × 256) bytes in the NV user memory.
[Note] When this comm and is transmi tted, the dat a following must not be transmitted until
the status is received.
Page 84
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
74 75
A
TM-T81
Specification
(STANDARD)
GS ! n
[Name] Select c har ac ter size [Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n [Range] 0 n ≤ 7 , 16 ≤ n ≤ 23 , 32 ≤ n ≤ 39 , 48 ≤ n ≤ 55 , 64 ≤ n ≤71 ,
80 n 87 , 96 n 103 , 112 n 119
(1 Enlargem ent in vertic al direction 8 , 1 Enlargement in horizont al direction 8) [Default] n = 0 [Description] Select s charac ter size (enl ar gement in vertical and hor izontal directions).
(n)
Bit Off/On Hex Decimal Function
0 - 2
See table
[Enlarged in ver tical directi on]
Selects the t imes enlar ged in the vertic al direction.
3 Off 00 0 Reserved.
4 - 6
See table
[Enlarged in horizontal direction]
Selects the t imes enlar ged in the horiz ontal direction.
7 Off 00 0 Reserved.
[Enlarged in ver tical directi on] [Enlarged i n horizontal direction]
Hex Decimal Enlargement Hex Decimal Enlargement
00 0 1 time (standard) 00 0 1 time (standard) 01 1 2 times 10 16 2 times 02 2 3 times 20 32 3 times 03 3 4 times 30 48 4 times 04 4 5 times 40 64 5 times 05 5 6 times 50 80 6 times 06 6 7 times 60 96 7 times 07 7 8 times 70 112 8 times
GS $ nL nH
[Name] Set absolute vertical print position in page mode [Format] ASCII GS $ n
L nH
Hex 1D 24 n
L nH
Decimal 29 36 n
L nH
[Range] 0 ≤ (n
L + nH × 256) 65535 (0 nL 255 , 0 nH 255)
[Description] In page mode, moves the vertic al print posi tion to [(n
L + nH × 256) × (ver tical or
horizontal motion unit)] from the starting position set with ESC T.
Page 85
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
75 76
A
TM-T81
Specification
(STANDARD)
GS ( A pL pH n m
[Name] Execut e test print [Format] ASCII GS ( A p
L pH n m
Hex 1D 28 41 p
L pH n m
Decimal 29 40 65 p
L pH n m
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
0 n 2 , 48 n 50
1 m 3 , 49 m 51 [Description] Executes a specifi ed test print.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (n and m).
n specifi es t he paper used for the test print.
n
Paper source 0, 48 Basic sheet ( r oll paper) 1, 49
2, 50
Roll paper
m specifies a test pattern.
m
Test pattern 1, 49 Hex adec imal dump print 2, 50 Printer status pri nt 3, 51 Rolling patt er n pr int
[Notes] The printer execut es a software reset aft er processing this com mand.
Clears the recei ve and print buffers.
Resets all setti ng val ues i n RA M ( the print ar ea, the character st y les, and others) that
were in effect at power on. ( The data in the NV memory are not reset.)
Page 86
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
76 77
A
TM-T81
Specification
(STANDARD)
GS ( D pL pH m [a1 b1]...[ak bk]
[Name] Enable/disable real-time c ommand [Format] ASCII GS ( D p
L pH m [ a1 b1 ]...[ ak bk ]
Hex 1D 28 44 p
L pH m [ a1 b1 ]...[ ak bk ]
Decimal 29 40 68 p
L pH m [ a1 b1 ]...[ ak bk ]
[Range] 3 ≤ (p
L + pH × 256) 65535 (0 pL 255 , 0 pH 255)
m = 20 a = 1, 2 b = 0, 1, 48, 49
[Default] b = 1 [ when a = 1]
b = 0 [when a = 2]
[Description] Enables or disabl es the r eal-ti me command specified by a.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (m and [a1 b1]...[ak
bk]).
a b Function
1 0, 48
DLE DC4 fn m t (fn = 1): Not proc essed (di sabl ed) .
1, 49
DLE DC4 fn m t (fn = 1): Processed (enabl ed) .
2 0, 48
DLE DC4 fn a b (fn = 2): Not pr oc essed (di sabl ed) .
1, 49
DLE DC4 fn a b (fn = 2): Proc essed (enabl ed) .
[Note] I f graphic s data includes a data string matc hing DLE DC4 (fn = 1 or 2), it is
recommended to use this command in advance t o disable the real-time commands.
Page 87
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
77 78
A
TM-T81
Specification
(STANDARD)
GS ( E pL pH fn [parameters]
[Name] Set user setup commands [Description] Controls the user sett ing modes.
pL, pH specify (pL + pH ×256) as the number of by tes after pH (fn and [parameters]).
fn specifies the function.
[parameters] specif y the process of each function.
fn
Format
Function
No.
Function name
1
GS ( E p
L pH fn d1 d2
1 Change into the user setting m ode.
2
GS ( E p
L pH fn d1 d2 d3
2 End the user setting mode session.
5
GS ( E p
L pH fn
[a1 n1
L n1H] ... [ak nkL nkH]
5 Set the c ustomized sett ing values.
6
GS ( E pL pH fn a
6 Transmit the customized sett ing v alues.
11
GS ( E p
L pH fn a d1...dk
11 Set the configuration item for the serial
interface.
12
GS ( E p
L pH fn a
12 Transmit t he c onfiguration it em f or the
serial interface.
[Notes] Frequent write command execut ions by an NV memory write command may damage
the NV memory. Ther efore, it is recommended to wri te to the NV memory less than 10 tim es a day.
If the power is turned off or the printer is reset via an inter face while this command is being executed, the pri nter may go into an abnorm al condition. Be careful not to turn the power off or let the printer be reset via an interface while this command i s being executed.
Whil e pr oc essing t his command, the pri nter is BUSY while writing t he data to the NV memor y and stops receiving data. Therefore, be sure not to transmit data, incl uding the real-t ime commands, while the print er is BUSY.
When <Function 1, 6, or 12> is transmitted, the data following must not be transmitted until the status is receiv ed.
<Function 1> GS ( E pL pH fn d1 d2 (fn = 1)
[Name] Change into the user sett ing mode [Format] ASCII GS ( E p
L pH fn d1 d2
Hex 1D 28 45 p
L pH fn d1 d2
Decimal 29 40 69 p
L pH fn d1 d2
[Range] (p
L + pH × 256) = 3 (pL = 3 , pH = 0)
fn = 1 d1 = 73 d2 = 78
[Description] Enters the user setting mode and tr ansmits the mode change notic e.
Page 88
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
78 79
A
TM-T81
Specification
(STANDARD)
<Function 2> GS ( E pL pH fn d1 d2 d3 (fn = 2)
[Name] End the user setting mode session [Format] ASCII GS ( E p
L pH fn d1 d2 d3
Hex 1D 28 45 p
L pH fn d1 d2 d3
Decimal 29 40 69 p
L pH fn d1 d2 d3
[Range] (p
L + pH × 256) = 4 (pL = 4 , pH = 0)
fn = 2 d1 = 79 d2 = 85 d3 = 84
[Description] Ends the user setting mode and perf or ms a software reset.
Clears the recei ve and print buffers.
Resets all setti ng val ues i n RA M ( the print ar ea, the character st y les, and others) that
were in effect at power on. ( The data in the NV memory are not reset.)
<Function 5> GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH] (fn = 5)
[Name] Set the customized sett ing v alues [Format] ASCII GS ( E p
L pH fn [a1 n1L n1H] ... [ak nkL nkH]
Hex 1D 28 45 p
L pH fn [a1 n1L n1H] ... [ak nkL nkH]
Decimal 29 40 69 p
L pH fn [a1 n1L n1H] ... [ak nkL nkH]
[Range] 4 ≤ (p
L + pH × 256) 65533 (0 pL 255 , 0 pH 255)
fn = 5 a = 5, 6 0 (n
L + nH × 256) 6, (nL + nH × 256) = 100, 65530 (nL + nH × 256) 65535
(0 n
L 6, nH = 0, nL = 100 , nH = 0 , 250 ≤ nL 255 , nH = 255) [when a = 5]
1 (n
L + nH × 256) 9 (1 nL 9 , nH = 0) [when a = 6]
[Default (upon shipm ent)]
(n
L + nH × 256) = 100 (nL = 100 , nH = 0) [when a = 5]
(n
L + nH × 256) = 9 (nL = 9 , nH = 0) [when a = 6]
[Description] Sets the customized value speci fied by a t o the values specified by (n
L + nH × 256).
a Type of customi z ed val ue
5 Print density 6 Print speed
Page 89
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
79 80
A
TM-T81
Specification
(STANDARD)
Print density setting (a = 5)
(nL + nH × 256)
Print density
100 Density level depending on the DIP switch settings 65530 Print densi ty level 1. light 65531 Print densi ty level 2. | 65532 Print densi ty level 3. | 65533 Print densi ty level 4. | 65534 Print densi ty level 5. | 65535 Print densi ty level 6. |
0 Print density level 7. standard 1 Print density level 8. | 2 Print density level 9. | 3 Print density lev el 10. | 4 Print density lev el 11. | 5 Print density lev el 12. | 6 Print density lev el 13. dark
Print speed setting (a = 6)
(nL + nH × 256)
Print speed 1 Print speed level 1. slow 2 Print speed level 2. | 3 Print speed level 3. | 4 Print speed level 4. | 5 Print speed level 5. | 6 Print speed level 6. | 7 Print speed level 7. | 8 Print speed level 8. | 9 Print speed level 9. fast
Page 90
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
80 81
A
TM-T81
Specification
(STANDARD)
<Function 6> GS ( E pL pH fn a (fn = 6)
[Name] Transmi t the custom ized setting val ues [Format] ASCII GS ( E p
L pH fn a
Hex 1D 28 45 p
L pH fn a
Decimal 29 40 69 p
L pH fn a
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
fn = 6 a = 5, 6, 97
[Description] Transmits the custom ized value specified by a.
a Type of customi z ed val ue
5 Print density 6 Print speed
<Function 11> GS ( E pL pH fn a d1...dk (fn = 11)
[Name] Set the configurat ion item for the serial interf ac e [Format] ASCII GS ( E p
L pH fn a d1 ... dk
Hex 1D 28 45 p
L pH fn a d1 ... dk
Decimal 29 40 69 p
L pH fn a d1 ... dk
[Range] 3 ≤ (p
L + pH × 256) 65535 (0 pL 255 , 0 pH 255)
fn = 11 a = 1
48 d 57
[Default (upon shipm ent)]
d1...dk = “38400”
[Description] Sets the configuration item for the serial i nterfac e specifi ed by a t o the values
specified by d.
a Configuration item 1 Transmission speed
Transmission speed setting (a = 1)
d1...dk Transmission speed
“2400” 2400 bps “4800” 4800 bps
“9600” 9600 bps “19200” 19200 bps “38400” 38400 bps “57600” 57600 bps
“115200” 115200 bps
[Note] T he c onfiguration it em set by this function is enabled by executing GS ( E <Function
2> or restarting the printer. Note that the host com puter must be set t o enable the printer t o c ommunicate with t he host c omputer.
Page 91
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
81 82
A
TM-T81
Specification
(STANDARD)
<Function 12> GS ( E pL pH fn a (fn = 12)
[Name] Transmi t the configuration item for the serial i nterface [Format] ASCII GS ( E p
L pH fn a
Hex 1D 28 45 p
L pH fn a
Decimal 29 40 69 p
L pH fn a
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
fn = 12 a = 1
[Description] Transmits the conf igurati on item for the serial int er face specified by a.
a Configuration item
1 Transmission speed
GS ( H pL pH fn [parameters]
[Name] Request transmi ssion of response or status [Description] Various processes are perf or med for the response.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (fn and [parameters]).
fn specifies the function.
[parameters] specif y the process of each function.
fn
Format
Function
No.
Function name
48
GS ( H p
L pH fn m d1 d2 d3 d4
48 Set the process ID response.
[Note] Do not use this comm and in a system that uses the printer wit h the OPOS driv er or
the JavaPOS dri ver pr ovi ded by S eiko Epson Corporati on.
<Function 48> GS ( H pL pH fn m d1 d2 d3 d4 (fn = 48)
[Name] Set the process ID response [Format] ASCII GS ( H p
L pH fn m d1 d2 d3 d4
Hex 1D 28 48 p
L pH fn m d1 d2 d3 d4
Decimal 29 40 72 p
L pH fn m d1 d2 d3 d4
[Range] (pL + pH × 256) = 6 (pL =6 , pH = 0)
fn = 48 m = 48
32 d 126
[Description] Saves the process ID specif ied by (d1, d2, d3, d4) for the data proc essed just before
this func tion.
Page 92
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
82 83
A
TM-T81
Specification
(STANDARD)
GS ( K pL pH fn [parameters]
[Name] Select pr int contr ol method( s) [Description] Select s the pr int contr ol methods.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (fn and [parameters]).
fn specifies the function.
[parameters] specif y the process of each function.
fn
Format Function No. Function name
50
GS ( K p
L pH fn m
50 Selec t the print speed.
<Function 50> GS ( K pL pH fn m (fn = 50)
[Name] Select the print speed [Format] ASCII GS ( K p
L pH fn m
Hex 1D 28 4B p
L pH fn m
Decimal 29 40 75 p
L pH fn m
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
fn = 50
0 m 9 , 48 m 57 [Default] m = 0 ( setting values of GS ( E <F unc tion 5: a = 6>) [Description] Select s the pr int speed.
m Print speed
0, 48
Setting val ues of GS ( E <Function 5: a = 6>. 1, 49 Print speed level 1. slow 2, 50 Print speed level 2. | 3, 51 Print speed level 3. | 4, 52 Print speed level 4. | 5, 53 Print speed level 5. | 6, 54 Print speed level 6. | 7, 55 Print speed level 7. | 8, 56 Print speed level 8. | 9, 57 Print speed level 9. fast
Page 93
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
83 84
A
TM-T81
Specification
(STANDARD)
GS ( L pL pH m fn [parameters] GS 8 L p1 p2 p3 p4 m fn [parameters]
[Name] Set graphic s data [Format] ASCII GS ( L p
L pH m fn [parameters]
Hex 1D 28 4C p
L pH m fn [parameters]
Decimal 29 40 76 p
L pH m fn [parameters]
ASCII GS 8 L p1 p2 p3 p4 m fn [parameters]
Hex 1D 38 4C p1 p2 p3 p4 m fn [parameters] Decimal 29 56 76 p1 p2 p3 p4 m fn [parameters]
I n the descripti on below, only GS ( L is used for explanation.
Note that GS ( L and GS 8 L have the same function.
If the [parameters] in the Format c olumn i n the table below exceed 65533 bytes, use GS 8
L.
T he only differenc e between GS ( L and GS 8 L is as listed below. The for mat for GS 8 L is not provided in t he following descriptions; however, [Range], [Default], [Description], and [Notes] f or par ameters other than those listed in the tabl e below are the same as for GS ( L.
<Parameters specify ing the number of parameters aft er p
H or p4>
Command Parameters Structure Maximum value
GS ( L
p
L, pH 2 bytes 65,535
GS 8 L
p1, p2, p3, p4 4 bytes 4,294,967,295
[Description] Processes graphics data.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (m, fn, and
[parameters]).
fn specifies the function.
[parameters] specif y the process of each function.
fn
Format
Function
No.
Function name
0, 48
GS ( L p
L pH m fn
48 Transmit the NV graphics mem or y
capacity.
2, 50
GS ( L pL pH m fn
50 Print the graphics data in the print
buffer.
3, 51
GS ( L p
L pH m fn
51 Transmit the remaining c apac ity of the
NV graphics memory.
64
GS ( L p
L pH m fn d1 d2
64 Transmit the key c ode list for defined
NV graphics.
65
GS ( L p
L pH m fn d1 d2 d3
65 Delete all NV graphi cs data.
66
GS ( L p
L pH m fn kc1 kc2
66 Delete t he specified NV graphics data.
67
GS ( L p
L pH m fn a kc1 kc2 b
x
L xH yL yH [c d1...dk]1... [c
d1...dk]b
67 Define the NV graphic s dat a ( r aster
format).
69
GS ( L p
L pH m fn kc1 kc2 x y
69 Print the specif ied NV graphics data.
112
GS ( L p
L pH m fn a bx by c
x
L xH yL yH d1…dk
112 Stor e the graphics data i n the print
buffer (raster format).
Page 94
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
84 85
A
TM-T81
Specification
(STANDARD)
[Notes] Frequent write command execut ions by an NV memory write command may damage
the NV memory. Ther efore, it is recommended to wri te to the NV memory less than 10 tim es a day.
If the power is turned off or the printer is reset via an inter face while this command is
being executed, the pri nter may go into an abnorm al condition. Be careful not to turn the power off or let the printer be reset via an interface while this command i s being executed.
Whil e pr oc essing t his command, the pri nter is BUSY while writing t he data to the NV
memor y and stops receiving data. Therefore, be sure not to transmit data, incl uding the real-t ime commands, while the print er is BUSY.
When <Function 48, 51, or 64> is transmitted, the data following must not be
transmitted until the status is received. And, it will be necessary to perform the ESC/POS Handshaking Protocol procedures when using <Function 64>.
<Function 48> GS ( L pL pH m fn (fn = 0, 48)
[Name] Transmi t the NV graphi c s memory capac ity [Format] ASCII GS ( L p
L pH m fn
Hex 1D 28 4C p
L pH m fn
Decimal 29 40 76 p
L pH m fn
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
m = 48 fn = 0, 48
[Description] Transmits the entire capacity of the NV graphics area (number of bytes in the NV
graphics area).
<Function 50> GS ( L pL pH m fn (fn = 2, 50)
[Name] Print the graphics data in the print buff er [Format] ASCII GS ( L p
L pH m fn
Hex 1D 28 4C p
L pH m fn
Decimal 29 40 76 p
L pH m fn
[Range] (pL + pH × 256) = 2 (pL = 2 , pH = 0)
m = 48 fn = 2, 50
[Description] Print s the buff er ed gr aphics data stored by the pr oc ess of GS ( L <Functi on 112>.
Page 95
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
85 86
A
TM-T81
Specification
(STANDARD)
<Function 51> GS ( L pL pH m fn (fn = 3, 51)
[Name] Transmi t the rem aining capacity of the NV graphics memory [Format] ASCII GS ( L p
L pH m fn
Hex 1D 28 4C p
L pH m fn
Decimal 29 40 76 p
L pH m fn
[Range] (p
L + pH × 256) = 2 (pL = 2 , pH = 0)
m = 48 fn = 3, 51
[Description] Transmits the number of bytes of remai ning memory (unused area) in the NV
graphics area.
<Function 64> GS ( L pL pH m fn d1 d2 (fn = 64)
[Name] Transmi t the key code list f or defined NV graphics [Format] ASCII GS ( L p
L pH m fn d1 d2
Hex 1D 28 4C p
L pH m fn d1 d2
Decimal 29 40 76 p
L pH m fn d1 d2
[Range] (p
L + pH × 256) = 4 (pL = 4 , pH = 0)
m = 48 fn = 64 d1 = 75 d2 = 67
[Description] Transmits the defined NV graphic s key c ode list.
<Function 65> GS ( L pL pH m fn d1 d2 d3 (fn = 65)
[Name] Delete al l NV graphics data [Format] ASCII GS ( L p
L pH m fn d1 d2 d3
Hex 1D 28 4C p
L pH m fn d1 d2 d3
Decimal 29 40 76 p
L pH m fn d1 d2 d3
[Range] (p
L + pH × 256) = 5 (pL = 5 , pH = 0)
m = 48 fn = 65 d1 = 67 d2 = 76 d3 = 82
[Description] Deletes all NV graphics data.
Page 96
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
86 87
A
TM-T81
Specification
(STANDARD)
<Function 66> GS ( L pL pH m fn kc1 kc2 (fn = 66)
[Name] Delete the specifi ed NV gr aphics data [Format] ASCII GS ( L p
L pH m fn kc1 kc2
Hex 1D 28 4C p
L pH m fn kc1 kc2
Decimal 29 40 76 p
L pH m fn kc1 kc2
[Range] (p
L + pH × 256) = 4 (pL = 4 , pH = 0)
m = 48 fn = 66
32 kc1 126 32 kc2 126
[Description] Deletes the NV gr aphics data defined by the key c odes (kc1 and kc2).
<Function 67>
GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1....d k]b (fn = 67)
[Name] Defi ne the NV graphics data (raster format) [Format] ASCII GS ( L p
L pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b
Hex 1D 28 4C p
L pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b
Decimal 29 40 76 p
L pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b
[Range] (p
L, pH) for GS ( L:
12 ≤ (p
L + pH × 256) 65535 (0 ≤ pL ≤ 255 , 0 ≤ pH ≤ 255)
(p1, p2, p3, p4) for GS 8 L: 12 ≤ (p1 + p2 × 256 + p3 × 65536 + p4 × 16777216) ≤ 4294967295 (0 p1 ≤ 255 , 0 ≤ p2 ≤ 255 , 0 ≤ p3 ≤ 255 , 0 ≤ p4 ≤ 255) Common par ameters f or GS ( L and GS 8 L: m = 48 fn = 67 a = 48 32 kc1 ≤ 126 32 kc2 ≤ 126 b = 1 1 ≤ (x
L + xH × 256) 8192 (0 ≤ xL ≤ 255 , 0 ≤ xH ≤ 32)
1 ≤ (y
L + yH × 256) 2304 (0 ≤ yL ≤ 255 , 0 ≤ yH ≤ 9)
c = 49 0 d ≤ 255 k = (int ((x
L + xH × 256) + 7) / 8) × (yL + yH × 256)
The entire c apac ity size = 256KB.
Page 97
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
87 88
A
TM-T81
Specification
(STANDARD)
[Description] Defines the NV graphics data (raster format) as a record specifi ed by the key codes
(kc1, kc2) in the NV graphi c s area.
b specifi es t he number of the color of the def ined data.
xL, xH specify the number of dots in the hor izontal directi on as (xL + xH × 256) .
yL, yH specify the number of dots in the vert ical di r ec tion as (yL + yH × 256).
c specifies the color of the defined data.
c Defined data c olor
(*)
49 Color 1
d specifi es t he defined dat a ( r aster format).
[Notes] In cases where there is insuffi c ient capaci ty available for storing NV graphic s data
specified by (x
L + xH × 256) and (yL + yH × 256), this function is ignored.
The number of items of NV graphics registered must be wit hin 50 to shorten the
execution time of this funct ion. The execution t ime is 60 seconds or less when the number of items registered is within 50. The execution time for 100 items is 120 seconds or less.
The [data value (k) + control inform ation data value ( 24 by tes)] area of the NV
graphics data dom ain is used when this function is ex ec uted.
NV graphi c s and NV bit image (FS q) cannot be defined simultaneously. W hen this
function is executed, all NV bit images are delet ed.
<Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn = 69)
[Name] Print the specif ied NV graphics data [Format] ASCII GS ( L p
L pH m fn kc1 kc2 x y
Hex 1D 28 4C p
L pH m fn kc1 kc2 x y
Decimal 29 40 76 p
L pH m fn kc1 kc2 x y
[Range] (p
L + pH × 256) = 6 (pL = 6 , pH = 0)
m = 48 fn = 69
32 kc1 126 32 kc2 126
x = 1, 2 y = 1, 2
[Description] Print s the NV gr aphics data def ined by the key codes (kc1 and kc2).
The graphics data is enlarged by x and y in t he hor izontal and vert ical di r ections.
x, y
Vertical direct ion Horizontal direction 1 180 dpi 180 dpi 2 90 dpi 90 dpi
Page 98
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
88 89
A
TM-T81
Specification
(STANDARD)
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn = 112)
[Name] Store the graphics data in t he pr int buf fer (raster form at) [Format] ASCII GS ( L p
L pH m fn a bx by c xL xH yL yH d1...dk
Hex 1D 28 4C p
L pH m fn a bx by c xL xH yL yH d1...dk
Decimal 29 40 76 p
L pH m fn a bx by c xL xH yL yH d1...dk
[Range] (p
L, pH) for GS ( L:
11 ≤ (p
L + pH × 256) 65535 (0 ≤ pL ≤ 255 , 0 ≤ pH ≤ 255)
(p1, p2, p3, p4) for GS 8 L: 11 ≤ (p1 + p2 × 256 + p3 × 65536 + p4 × 16777216) ≤ 4294967295 (0 p1 ≤ 255 , 0 ≤ p2 ≤ 255 , 0 ≤ p3 ≤ 255 , 0 ≤ p4 ≤ 255) Common par ameters f or GS ( L and GS 8 L: m = 48 fn = 112 a = 48 bx = 1, 2 by = 1, 2 c = 49 1 ≤ (x
L + xH × 256) 2047 (0 ≤ xL ≤ 255 , 0 ≤ xH ≤ 7)
1 ≤ (y
L + yH × 256) 1662 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 6) [when by=1]
1 ≤ (y
L + yH × 256) 831 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 3) [when by=2]
0 d ≤ 255 k = (int ((x
L + xH × 256) + 7) / 8) × (yL + yH × 256)
[Description] Stores the graphics data (raster format ) in the pri nt buffer.
The graphics data is enlarged by bx and by i n the horizont al and v er tical directions.
bx, by
Vertical direct ion Horizontal direction 1 180 dpi 180 dpi 2 90 dpi 90 dpi
c specifies the color for the stored dat a.
c St or ed data color
(*)
49 Color 1
xL, xH specify the number of dots in the hor izontal directi on as (xL + xH × 256) .
yL, yH specify the number of dots in the vert ical di r ec tion as (yL + yH × 256).
d specifi es t he stor ed data (raster f ormat).
Page 99
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
89 90
A
TM-T81
Specification
(STANDARD)
GS ( k pL pH cn fn [parameters]
[Name] Set up and print symbol [Description] Processes the data for two-dimensional codes.
pL, pH specify (pL + pH × 256) as the number of by tes after pH (cn, fn, and
[parameters]).
cn specifi es t he type of symbology.
fn specifies the function.
[parameters] specif y the process of each function.
cn Type of Symbology 48 PDF417 49 QR Code
cn fn
Format
Function
No.
Function name
65
GS ( k p
L pH cn fn n
065 PD F417: Set the number of c olumns in
the data region.
66
GS ( k p
L pH cn fn n
066 PD F417: Set the number of r ows.
67
GS ( k p
L pH cn fn n
067 PD F417: Set the width of the module.
68
GS ( k p
L pH cn fn n
068 PD F417: Set the r ow height.
69
GS ( k p
L pH cn fn m n
069 PD F417: Set the er r or c or rection level.
70
GS ( k p
L pH cn fn m
070 PD F417: Select the options.
80
GS ( k p
L pH cn fn m
d1...dk
080 PD F417: Store t he data in the sym bol
storage area.
81
GS ( k p
L pH cn fn m
081 PD F417: Print the symbol data in the
symbol storage area.
48
82
GS ( k pL pH cn fn m
082 PD F417: Transmit the siz e information of
the symbol data in the symbol storage area.
65
GS ( k p
L pH cn fn n1 n2
165 Q R Code: Select the model.
67
GS ( k p
L pH cn fn n
167 Q R Code: Set the size of module.
69
GS ( k p
L pH cn fn n
169 Q R Code: Select the error correc tion
level.
80
GS ( k pL pH cn fn m d1...dk
180 Q R Code: Store the dat a in the symbol
storage area.
81
GS ( k p
L pH cn fn m
181 Q R Code: Print the symbol dat a in the
symbol storage area.
49
82
GS ( k p
L pH cn fn m
182 Q R Code: Transmi t the size i nform ation
of the symbol data i n the symbol stor age area.
"Symbol data" refers to the data rec eiv ed with <Funct ion 080 or 180> before
encoding.
"Symbol storage area" refers to the range for storing data received with < Function
080 or 180> befor e enc oding.
Page 100
Confidential
EPSON
TITLE
SHEET REVISION
NO
SHEETNEXT
90 91
A
TM-T81
Specification
(STANDARD)
[Notes] When <Funct ion 082 or 182> is t r ansmitted, the data following must not be
transmitted until the status is receiv ed.
[Referenc e] Appendix H, A ppendix I
<Function 065> GS ( k pL pH cn fn n (cn = 48 , fn = 65 )
[Name] PDF417: Set the number of columns in the data region [Format] ASCII GS ( k p
L pH cn fn n
Hex 1D 28 6B p
L pH cn fn n
Decimal 29 40 107 p
L pH cn fn n
[Range] (p
L + pH × 256) = 3 (pL = 3 , pH = 0)
cn = 48 fn = 65
0 n 30 [Default] n = 0 [Description] Sets the num ber of columns in the dat a r egion for P DF417.
When n = 0, specifies automatic processing. I n this case, the number of columns in
the data region is calculated with the number of codewords or the r ange of print area.
When n 0, sets the number of columns in the data r egion to n codewords.
[Notes] The f ollowing data are not incl uded in the number of columns.
Start pattern and stop pattern
Left-row i ndicator codewords and right-row indicat or c odewords
<Function 066> GS ( k pL pH cn fn n (cn = 48 , fn = 66)
[Name] PDF417: Set the number of rows [Format] ASCII GS ( k p
L pH cn fn n
Hex 1D 28 6B p
L pH cn fn n
Decimal 29 40 107 p
L pH cn fn n
[Range] (p
L + pH × 256) = 3 (pL = 3 , pH = 0)
cn = 48
fn = 66
n = 0 , 3 n 90
[Default] n = 0 [Description] Sets the num ber of rows for PDF417.
When n = 0, specifies automatic processing. I n this case, the number of rows is
calculated with the num ber of codewords or the range of print area.
When n 0, sets the number of rows to n rows.
Loading...