❏This document shall apply only to the product(s) identified herein.
❏No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any
means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of
Seiko Epson Corporation.
❏The contents of this document are subject to change without notice. Please contact us for the latest information.
❏While every precaution has been taken in the preparation of this document, Seiko Epson Corporation assumes no
responsibility for errors or omissions.
❏Neither is any liability assumed for damages resulting from the use of the information contained herein.
❏Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parties
for damages, losses, costs, or expenses incurred by the purchaser or third parties as a result of: accident, misuse, or
abuse of this product or unauthorized modifications, repairs, or alterations to this product, or (excluding the U.S.)
failure to strictly comply with Seiko Epson Corporation's operating and maintenance instructions.
❏Seiko Epson Corporation shall not be liable against any damages or problems arising from the use of any options
or any consumable products other than those designated as Original EPSON Products or EPSON Approved
Products by Seiko Epson Corporation.
TRADEMARKS
EPSON is a registered trademark of Seiko Epson Corporation.
Exceed Your Vision and ESC/POS are registered trademarks or trademarks of Seiko Epson Corporation.
Microsoft® and Windows® are registered trademarks or trademarks of Microsoft Corporation in the United States and
other countries.
All other trademarks are the property of their respective owners and used for identification purpose only.
ESC/POS Proprietary Command System
Epson took the initiative by introducing ESC/POS, a proprietary POS printer command system including patented
commands and enabling versatile POS system construction with high scalability. Compatible with all types of Epson
POS printers and displays, this proprietary control system also offers the flexibility to easily make future upgrades. Its
popularity is worldwide.
iRev. H
TM-U220 Technical Reference Guide
About This Manual
Aim of the Manual
This manual was created to provide information on the TM-U220 printer for anyone who is
developing hardware, installations, or programs. Programmers will also want to consult other
documents.
Contents of the Manual
Chapter 1, “General Information.”General description of features plus
specifications.
Chapter 2, “System Planning.”Contains introduction of control methods and
each connection form.
Chapter 3, “Setup.”Contains information on such matters as DIP
switches, memory switches, error processing for
using TM-U220.
Chapter 4, “Troubleshooting.”Contains useful information for using.
Chapter 5, “Application Development Information.”
Chapter 6, “Notices for Replacement of the TM-U210/TM-U300.”
Appendix A, “Comparison table for TMU220/U210/U300.”
Appendix B, “How to Install the Printer on
a Wall with the WH-10.”
Appendix C, “Power Supply Unit.”Describes the external dimensions and
Appendix D, “Character Code Table.”Contains the supported character tables.
Contains useful information for programming.
Contains various notices and comparison
information for using the TM-U220 as a
replacement for the TM-U210/TM-U300.
Comparison table for replacing TM-U210/
TM-U300 with the TM-U220.
Installation instructions.
specifications of the power supply units.
Rev. Hii
Related Software and Documents
Related software and documents
Software/document nameDescription
TM-U220 User’s ManualThis provides basic handling procedures for the end user of the
TM-U220 Technical Reference GuideThis Manual
ESC/POS Application Programming GuideThis provides descriptions in Acrobat format of the commands
EPSON OPOS ADKThis is a OCX driver
EPSON OPOS ADK ManualThis provides information for anyone who is programming using
EPSON Advanced Printer DriverThis is a Windows driver
EPSON Advanced Printer Driver ManualThis provides information for anyone who is programming using
Guide for TM-U220 right side up printingThis provides information on the TM-U220 printer for anyone who is
printer
used by each TM printer, along with sample programs and other
information about the printers
OPOS. This is included in the EPSON OPOS ADK
the APD (EPSON Advanced Printer Driver)
using the right side up printing mode.
iiiRev. H
TM-U220 Technical Reference Guide
Safety Precautions
Key to Symbols
The following symbols are used in the documentation for this product. See the specific warnings
and cautions at appropriate points throughout this guide.
WARNING:
Warnings must be followed carefully to avoid serious bodily injury.
CAUTION:
Cautions must be observed to avoid minor injury to yourself or damage to your
equipment.
Note:
Notes have important information and useful tips on the operation of your printer.
Rev. Hiv
Safety Precautions
This section presents important information to ensure safe and effective use of this product.
Please read this section carefully and store it in an accessible location.
WARNING:
❏
Shut down your equipment immediately if it produces smoke, a strange odor, or
unusual noise. Continued use may lead to fire or electric shock. Immediately unplug
the equipment and contact your dealer or a Seiko Epson service center for advice.
❏
Never attempt to repair this product yourself. Improper repair work can be
dangerous.
❏
Never disassemble or modify this product. Tampering with this product may result in
injury, fire, or electric shock.
❏
Be sure to use the specified power source. Connection to an improper power source
may cause fire or shock.
❏
Never insert or disconnect the power plug with wet hands. Doing so may result in
severe shock.
❏
Do not allow foreign matter to fall into the equipment. Penetration of foreign objects
may lead to fire or shock.
❏
If water or other liquid spills into this equipment, unplug the power cord immediately,
and then contact your dealer or a Seiko Epson service center for advice.
Continued usage may lead to fire or shock.
❏
Do not place multiple loads on the power outlet (wall outlet). Overloading the outlet
may lead to fire.
❏
Always supply power directly from a standard domestic power outlet.
❏
Handle the power cord with care. Improper handling may lead to fire or shock.
•Do not modify or attempt to repair the cord.
•Do not place any object on top of the cord.
•Avoid excessive bending, twisting, and pulling.
•Do not place cord near heating equipment.
•Check that the plug is clean before plugging it in.
•Be sure to push the prongs all the way in.
❏
If the cord becomes damaged, obtain a replacement from your dealer or a Seiko
Epson service center.
vRev. H
TM-U220 Technical Reference Guide
CAUTION:
❏
Do not connect cables other than as described in this manual. Different
connections may cause equipment damage and burning.
❏
Be sure to set this equipment on a firm, stable, horizontal surface.
Product may break or cause injury if it falls.
❏
Do not use in locations subject to high humidity or dust levels.
Excessive humidity and dust may cause equipment damage, fire, or shock.
❏
Do not place heavy objects on top of this product. Never stand or lean on this
product. Equipment may fall or collapse, causing breakage and possible injury.
❏
To ensure safety, please unplug this product prior to leaving it unused for an
extended period.
❏
Do not touch either the thermal or the dot matrix print head or the paper feed
motor. Wait for the heads and the motor to cool. The head and the motor can be
very hot after printing for a long time. Touching them may cause burns.
The TM-U220 is a POS printer that can print receipt paper (paper roll).
The TM-U220 is designed to be compatible with existing systems built around a TM-U210.
1.1.1 General
❏ Compact and lightweight.
❏ 3 model types are provided. (See “Printer types” (page 1-2))
❏ Excellent reliability and long life due to adoption of a stepping motor both for moving the
carriage and for paper feeding.
❏ Can be installed hanging on the wall with an optional hanging bracket (only for type B, D).
1.1.2 Printer handling
❏ Easy drop-in paper loading and easy maintenance
❏ Cable connectors are housed in the bottom of the printer.
❏ Built-in two drawer kick interface connectors
❏ Built-in autocutter (for type A or B)
❏ Built-in take-up device (for type A)
1.1.3 Printing
❏ High-speed printing through logic-seeking control
❏ Two-color printing (black and red)
❏ Can print on various paper wide range (for type B or D: 76 / 69.5 / 57.5 mm)
1.1.4 Software
❏ Command protocol is based on the ESC/POS proprietary command system.
❏ OPOS ADK and Windows printer driver are available.
❏ Automatic status back (ASB) function that automatically transmits changes in printer status.
Rev. HGeneral Information 1-1
1.2 Product Structure
1.2.1 Printer types
TM-U220 has 3 model types: A, B, D. The features are as following.
Type AType BType D
Two color printingYesYesYes
AutocutterYesYesNo
Take up deviceYesNoNo
paper width (mm)7676/ 69.5/ 57.576/ 69.5/ 57.5
wall hanging installNoYesYes
Supported
language
Near end detectorFactory optionFactory optionFactory option
Alphanumeric model:
alphanumeric
Multilingual model
It supports
alphanumeric and
printing with one of the
following:
Japanese Kanji
Simplified Chinese
Traditional Chinese
Korean
Thai
Alphanumeric model:
alphanumeric
Multilingual model
It supports
alphanumeric and
printing with one of the
following:
Japanese Kanji
Simplified Chinese
Traditional Chinese
Korean
Thai
Alphanumeric model:
alphanumeric
Multilingual model
It supports
alphanumeric and
printing with one of the
following:
Japanese Kanji
Simplified Chinese
Traditional Chinese
Korean
Thai
1.2.2 Standard Parts Included with the Printer
This printer is packed with the materials listed below.
❏ User’s Manual
❏ Roll paper: 1 roll
❏ Power switch cover (using this cover enables you to prevent accidental turning off of the
power)
❏ Exclusive ribbon cassette ERC-38(B/R)
❏ Power supply unit (May not be included with the printer)
Note:
The “AC Adapter. C” which is packed in the carton box of ANK model cannot be used for the
Multilingual model.
*Multilingual means the printer model that can print any one of the following: Japanese Kanji,
Simplified Chinese, Traditional Chinese, Thai characters, or Korean characters.
1-2 General InformationRev. H
TM-U220 Technical Reference Guide
1.2.3 Related materials for TM-U220
TM-U220 has the related materials listed in the following table.
CategoryNameDescription
OptionsWH-10This is an optional unit for installing the printer on a wall.
DF-10Affixing Velcro tape
DC-21This is optional power supply cable to gain power from user’s
power supply.
PS-180EPSON power supply unit
DM-D105/D205,
DM-D106/DM-D206
UB-S01/02,
UB-P02II,
UB-U01II/02II,
UB-E01 etc...
POS
accessories
Consumables Roll PaperThis is required to print.
ManualsUser’s ManualThis manual is packed in the carton box.
Drivers
(WIndows
environment)
Utilities
(WIndows
environment)
DM-D seriesThese are customer displays. (Line Display)
Ribbon CasetteThis is required to print.
Technical
Reference Guide
FAQ about ESC/
POS command
ESC/POS
Application Guide
OPOS ADKThis provides the OCX driver which is based upon OPOS. It has
Advanced Printer
Driver
Memory Switch
setting Utility
TMFlogoThis is a utility to store “NV bitmap“ into this printer. It helps
Direct connection customer display (available only for some
serial interface models and some USB models)
(See the below NOTE also.)
Various interface boards. (Serial, Parallel, USB, Ethernet
interface)
This Manual.
This Manual is Quick Reference of ESC/POS command. and this
has a simple sample program & Tips.
This Manual is Command Reference Guide of ESC/POS
command. and this has a supplement which has some sample
programs & Tips.
Manuals, sample programs, and TMFlogo utility.
This is a Windows Driver. This Driver has a Manual, Sample
programs, and utilities to use the driver.
This is a utility to adjust the setting (Memory Switch) of this printer.
See “Memory Switches” (page 3-19) for details.
printing “NV bitmap.”
Please contact your dealer to get these.
Note:
If you want to provide power from TM-U220 to a DM-D, you have to use “PS-180“ or “AC Adapter,C1.
” The “AC Adapter,C” cannot provide power to a DM-D.
Rev. HGeneral Information 1-3
1.3 Consumables
1.3.1 Ribbons
This printer needs a ribbon cassette to print receipts. We provide 3 ribbon cassettes:
ANK model: AC Adapter,C, AC Adapter,C1, or PS-180 (option)
Multilingual model: PS-180 or AC Adapter,C1
Operating:Mean: Alphanumeric model: Approximately 31W
Multilingual* model: Approximately 38W
Standby: Mean: Approximately 2.2W
restrictions; refer to “Environmental Conditions” (page 1-13)
During storage:10 to 90% (no condensation; excludes paper and ribbon)
Type B: Approximately 2.5 kg {5.5 lb}
Type D: Approximately 2.3 kg {5.06 lb}
*Multilingual means the printer model that can print any one of the following: Japanese Kanji, Simplified
Chinese, Traditional Chinese, Thai characters, or Korean characters.
Print speed: *1Approximately 4.7 lps (printing 40 columns per line at 16 cpi)
Approximately 6.0 lps (printing 30 columns per line at 16 cpi, with 1/8"
line spacing)
(except data transmission and processing time)
Paper width:76 mm / 69.5 mm / 57.5 mm {3.00"/2.74"/2.26"}
Printing width:63.4 mm / 57 mm / 47.5 mm {2.50" / 2.24" / 1.87"}
Dot positions depend on DIP switch setting. See the table “Dot width
of Printable area” (page 1-7) for details.
Characters per line:35 (font A), 40 (font B, default) (When using 76mm width paper)
Character spacing:ANK: 3 half dots (default) or 2 half dots.
Kanji: 2 half dots (default) or 0 half dots.
Thai: 3 half dots (default) or 2 half dots.
The spacing of ANK and Thai characters is selectable by DIP SW2-1.
The spacing of Kanji characters is selectable by ESC/POS command.
Paper feed speed:30 lps
Line spacing (default): 4.23 mm {1/6"}, programmable by control commands.
Number of characters: 95 alphanumeric, 48 international characters,
Extended graphics: 128 12 pages. (15 tables for Japanese model)
Multilingual character model supports printing with one of the
following character sets:
Japanese Kanji (Two-pass printing font) (JIS X0208-1990): 6879
Simplified Chinese (Two-pass printing font) (GB18030-2000): 28553
Traditional Chinese (Two-pass printing font) (Big 5): 13494
Korean Kanji (Two-pass printing font) (KS C5601 type): 8366
Thai (Three-pass printing font): 128 characters 7 pages
(133 character types)
Character structure:Font A: 9
Font B: 7
Kanji: 16
9
9
16
(Font B is the default)
*1 This printer adjusts print speed when it prints graphic data, etc.
1-6 General InformationRev. H
TM-U220 Technical Reference Guide
The dot width of the printable area depends on DIP switch setting and paper width as shown in
the following table.
Dot width of Printable area
Paper widthDIP SW2-1 setting
ONOFF
76 mm385 half dots 400 half dots
69.5 mm360 half dots 360 half dots
57.5 mm297 half dots 300 half dots
Character Dimensions, Characters Per Inch, Characters Per line
Character configurationCharacter
Horiz. x
Vert.
7 x 9
(Font B)
(default)
9 x 9
(Font A)
16 x 16
(Kanji
font)
7 x 27
(Thai
font)
9 x 27
(Thai
font)
Condition
of DIP SW
2-1
ONANK1.2 x 3.12 half dots42403317.8
OFF
(default)
ONANK1.6 x 3.12 half dots35322714.5
OFF
(default)
Regardless *Kanji2.7 x 2.72 half dots
ONThai
OFF
(default)
ONThai
OFF
(default)
Character
type
Graphic1.6 x 3.10
ANK1.2 x 3.13 half dots40363016
Graphic1.7 x 3.10
Graphic1.9 x 3.10
ANK1.6 x 3.13 half dots33302513.3
Graphic2.0 x 3.10
character
character
dimensions
W x H
1.2 x 9.52 half dots42403317.8
1.6 x 9.52 half dots35322714.5
Dot spacing
between
characters
(default) *
0 *2522189.5
3 half dots40363016
3 half dots33302513.3
Paper width (mm)
and
Characters per line (cpl)
76 mm69.5 mm57.5 mm
2220168.9
Characters per
inch (cpi)
(1 inch =
25.4 mm)
*: The dot spacing between Kanji character is selected by an ESC/POS command.
Rev. HGeneral Information 1-7
1.5.1 Autocutter (for Type A / B)
Cutting method: By separated-blade scissors
Cutting type:
Note:
It is recommended to feed approximately 2.116 mm or more in advance before printing to prevent dot
displacement after cutting.
Changing between partial cut and full cut is not controlled by a software command.
The full cut setting is an optional factory setting.
❏ Partial cut (one point left uncut) (standard factory settings)
❏ Full cut (completely cut off) (optional factory setting)
CAUTION:
When the paper is cut completely (full cut) with the printer’s horizontal installation, make
sure to remove the cut paper, then perform the next cut. Never allow several pieces of
the cut paper to remain in the paper exit because double cuts, paper jams, or
autocutter error may occur because the cut paper drops into the paper path.
1.5.2 Paper Roll Supply
Supply method:Drop-in method
Paper roll end detection:Detection method: Mechanical microswitch
Detection position: Positioned within the paper path for the
roll paper; detects the end of the roll paper
Inner diameter of the roll paper core: 10.5 to 12.5 mm
Near-end adjustment: Adjusting screw
Remaining amount: Fixed position
#1 approximately 8 mm
#2 approximately 5 mm
(The adjusting screw has two positions.)
See“Adjusting Position of Roll Paper Near End Detector”
(page 3-28).
1-8 General InformationRev. H
TM-U220 Technical Reference Guide
1.5.2.1 Paper Specifications
Paper feeding method:Friction feed
Paper feed interval:Initial setting: Approximately 4.23mm {1/6"}
Can be set in units of approximately 0.18mm {1/144"} by
ESC/POS command
Paper feed speed:30 lps (approximately 4.99" /s)
(during continuous feeding) [lps: lines per second]
Roll paper width:76
0.5 mm (3" 0.02") / 69.5 0.5 mm (2.74" 0.02")
/ 57.5
0.5 mm (2.26" 0.02")
Maximum diameter: 83 mm (3.27")
Core:When there is no near-end detector, always be sure to use roll
paper that is not glued to the core.
Normal paper
specifications:
Paper thickness: 1 sheet: 0.06 to 0.085mm {0.0024 to 0.0033"}
2
Weight: 52.3 to 64 g/m
{14 to 17 lb}
(45 to 55 kg/1000 sheets 1091 788mm)
Carbon paper
specifications:
Number of copies: Original 1 sheet + one copy sheet
Thickness: 0.05 to 0.08 mm {0.002 to 0.0031"}
(thickness of one sheet);
Recommended paper:
Paper by Mitsubishi - Carbonless paper (blue)
Top sheets:
N40Hi (paper thickness: 0.06mm {0.0024"},
The copying capability is affected by the ambient temperature,
and is guaranteed for the temperature ranges of 5 - 50C {41 122F}.
Rev. HGeneral Information 1-9
1.5.2.2 Printable Area
Maximum 200dots,
400 positions
(5.8)
63.4
76
22.1
27
34.9
Cutting position (manual cutter) (Type D)
Cutting position (autocutter) (Type A, B)
Cutting position (manual cutter) (Type A, B)
[Units: mm]
(6.8)
Printable area for 76mm width paper
1-10 General InformationRev. H
TM-U220 Technical Reference Guide
Maximum 180 dots,
360 positions
(6.7)
(5.8)
57
69.5
22.1
27
34.9
Cutting position (manual cutter) (Type D)
Cutting position (autocutter) (Type B)
Cutting position (manual cutter) (Type B)
[Units: mm]
Printable area for 69.5mm width paper
Rev. HGeneral Information 1-11
Printable area for 57.5mm width paper
Maximum 150 dots,
300 positions
(4.2)
(5.8)
47.5
57.5
22.1
27
34.9
Cutting position (manual cutter) (Type D)
Cutting position (autocutter) (Type B)
Cutting position (manual cutter) (Type B)
[Units: mm]
1.6 Other Specifications
1.6.1 Reliability
Life:Mechanism: 7,500,000 lines
MTBF:180,000 hours
Failure is defined as a Random Failure occurring at the time
MCBF:18,000,000 lines
Print head life:150 million characters (using an average of 2 dots/wire per
Autocutter life:800,000 cuts
of the Random Failure Period.
This is an average failure interval based on failures relating to
Wearout and Random Failures up to the life of 7.5 million
lines.
character). (The printing pattern is EPSON test pattern).
End of life is defined as the point at which the printer reaches
the beginning of the wearout period.
1-12 General InformationRev. H
TM-U220 Technical Reference Guide
1.6.2 Environmental Conditions
Temperature:During operation: 0 C to 50 C {41F to 122 F}.
(At 34 C {93F} or higher, there are humidity restrictions as
listed below. )
Humidity:During operation:10 to 90% (no condensation)
During storage:10 to 90% (no condensation; excludes paper
and ribbon)
Operating temperature and humidity range
Vibration resistance:When packed:
Frequency: 5 to 55 Hz
Acceleration: 19.6m/s
Sweep: 10 minutes (half cycle)
Duration: 1 hour
Directions: x, y, and z
No external or internal damage should be found after the
vibration test, and the unit should operate normally.
2
{2 G}
Rev. HGeneral Information 1-13
Impact resistance:When packed:
Package: EPSON standard package
Height: 60 cm (2 feet)
Directions: 1 corner, 3 edges, and 6 surfaces
No external or internal damage should be found after the
drop test, and the unit should operate normally.
When unpacked:
Height: 5 cm (2")
Directions: Lift one edge and release it (for all 4 edges).
When the printer is not printing, no external or internal
damage should be found after the drop test.
1.6.3 Installation
Install the printer horizontally as a basic position.The printer also must be installed so that it
does not move or vibrate during paper cutting or the drawer kick operation. Velcro tape is
available as an option.
The printer (Type B or D) can be also installed on a wall with the optional wall hanging bracket
(WH-10).
1-14 General InformationRev. H
1.7 External Dimensions and Mass
1.7.1 External Dimensions and Mass
Model type External DimensionsMass
WidthHeightDepth
Type A160 mm
{Approximately 6.3"}
Type B160 mm
{Approximately 6.3"}
Type D160 mm
{Approximately 6.3"}
(All the numeric values are typical.)
Color: EPSON standard color (ECW, EDG)
1.7.1.1 Overview (Type A)
157.5 mm
{Approximately 6.2"}
138.5 mm
{Approximately 5.5"}
138.5 mm
{Approximately 5.5"}
286 mm
{Approximately 11.3"}
248 mm
{Approximately 9.8"}
248 mm
{Approximately 9.8"}
TM-U220 Technical Reference Guide
Approximately 2.7 kg
{5.9 lb}
Approximately 2.5 kg
{5.5 lb}
Approximately 2.5 kg
{5.1 lb}
Rev. HGeneral Information 1-15
1.7.1.2 Overview (Type B)
1-16 General InformationRev. H
1.7.1.3 Overview (Type D)
TM-U220 Technical Reference Guide
Rev. HGeneral Information 1-17
1-18 General InformationRev. H
TM-U220 Technical Reference Guide
Chapter 2
System Planning
This section provides you information for system planning.
2.1 Control Method
A TM printer can print and be controlled using any of the following three methods:
1. Windows printer driver (EPSON Advanced Printer Driver)
2. EPSON OPOS ADK
3. ESC/POS commands
Depending on the driver or interface to be used, an IP setting tool for the Ethernet specification,
a USB device driver, and a logo registration utility for printing (TMFlash logo utility) are
provided.
See “How to Get a Driver” in this chapter.
2.1.1 Windows Driver (EPSON Advanced Printer Driver)
The EPSON Advanced Printer Driver is a method for controlling the TM printer in the same
manner as the Windows standard printer driver.
2.1.1.1 General Features of the EPSON Advanced Printer Driver
The EPSON Advanced Printer Driver has the following features:
❏ Supplies the Windows printer driver for the TM printer, which enables printing through
general Windows applications.
❏ Enables executing unique functions of the POS printer, such as paper cutting and drawer
opening.
❏ Font type selection enables printing with the printer’s internal fonts.
❏ Enables obtaining the printer status by StatusAPI with a programming language such as
VisualBasic. This makes it possible to have bi-directional communication with the TM
printer under the Windows standard printer driver environment.
Note:
The statusAPI is the API for controlling the printer, which is supplied exclusively by EPSON. Using this
enables obtaining printer status and transmitting ESC/POS commands.
Rev. HSystem Planning 2-1
2.1.1.2 EPSON Advanced Printer Driver Components
Installer recognizes PC environment in which the installation will be done and installs DLL files
and software components necessary for operating automatically. Driver, sample program, or
manual can be selected to be installed.
❏ Driver
You can select a driver depending on the purpose of usage (installation can be done at the same
time). Each has functions such as two-color printing, smoothing, continuous printing, and
option selection for cutting method.
•Receipt: printing receipt
•Reduce35: reducing whole print display to fit it into the width of receipt paper and
printing it
❏ Sample program
Sample program for using the StatusAPI with Visual Basic and Visual C++ can be installed.
❏ Manual
The following manuals can be installed:
•Driver: User’s Manual
•Status API: Reference Manual
2.1.1.3 EPSON Advanced Printer Driver Support Environment
❏ Supported interfaces
• Serial, Parallel, USB, Ethernet
❏ Supported Operating Systems
Please refer to the Installation Guide included with the driver package.
❏ Supported Development Languages
•Visual Basic
•VisualC++
❏ Supported devices
(For detailed information on which devices can be used, see the release note for the driver.)
•EPSON receipt printer
•EPSON customer display
2-2 System PlanningRev. H
TM-U220 Technical Reference Guide
•EPSON cash drawer
Note:
The USB specification printer needs the USB driver and the Ethernet specification printer needs the IP
setting utility in addition.
For detailed information, please contact your dealer or EPSON.
2.1.2 EPSON OPOS ADK
EPSON OPOS ADK supports the development environment necessary for OLE for Retail POS
(OPOS) application development by OPOS Control proposed by the OPOS committee and
supplies a printer driver (OCX) conforming to OPOS.
When developing an OPOS confirmed application, use the following control methods. EPSON
OPOS ADK has the following features.
❏ EPSON OPOS ADK supports not only the OPOS Control (CO + SO) proposed by the OPOS
committee but also totally supports the OPOS application development environment such
as utilities for installation and setup, the contents necessary for development, such as sample
programs and manuals, and also the function of Log when debugging, and silent
installation, which enables easy installation for a targeted PC.
❏ EPSON OPOS ADK supports DirectIO with parameters for unique functions exclusively for
TM printers by EPSON. Also the power notice function, offline buffer clear processing, and
device irregular processing that has been taken into account by developers are supported by
the driver; these can reduce the number of application steps.
Note:
For detailed information for the API functions, refer to “OLE for Retail POS Application Programmer’s
Guide (APG)” issued by the OPOS committee.
2.1.2.1 General Features of EPSON OPOS ADK (OPOS Control)
OPOS Control included in EPSON OPOS ADK has the following features:
❏ Offers CO for each device class and SO for EPSON devices.
❏ Can use Direct IO with parameter
•Acquires maintenance counter
•Prints bit image for which NVRAM has already been registered
❏ Power on notice function (recovering automatically to the status before the power is turned
off when turning on the power again)
❏ Offline buffer clear processing (deleting contents in print buffer at offline)
❏ Debugging function (trace function)
Rev. HSystem Planning 2-3
•Logs between an application and CO (for used API and its return value)
•Logs for device status (acquires causes for offline and errors in devices)
2.1.2.2 EPSON OPOS ADK Contents
Any installer later than EPSON OPOS ADK Ver2.10 supports the silent install function that can
install the OPOS environment without a user interface, which offers easier installation. With this
installer, OPOS Control for EPSON devices that are compatible with OPOS, manuals, utilities
and sample programs described below can be installed.
❏ OPOS Control for EPSON devices
The following can be installed: CO, SO, header file for C++, header file for VB, TLB file for
CO, or device information file.
❏ Manuals
•User’s Guide (Environment construction manual: installation/uninstallation/usage of
each utility)
•Application Development Guide (for OPOS compatible application developers: editions
for common description and for each device)
❏ Utilities
• SetUpPOS Utility
Can select a device to be used, connection port and settings, such as paper width,
monochrome/two-color (only for two-color supported devices) and print waiting time.
•TM Flash logo utility
Can register a bit map file to the printer and customer display.
•USB device driver
Required to connect a USB specification printer.
•Sample program
Sample programs in VB and VC++ can be installed.
2-4 System PlanningRev. H
TM-U220 Technical Reference Guide
2.1.2.3 EPSON OPOS ADK Supported Environment
❏ Supported interfaces
• Serial, Parallel, USB, Ethernet
❏ Supported Operating Systems
Please refer to the Install Manual included with the driver package.
❏ Supported Development Languages
•Visual Basic
•VisualC++
2.1.3 ESC/POS Command
Print/control by ESC/POS commands is direct control for TM printers using the ESC/POS
commands proposed by EPSON. Sending ESC/POS commands to the printer from an
application enables direct control of the printer. For the detailed information regarding the
ESC/POS commands, contact the dealer where you purchased the product.
Note:
USB specification printer needs the USB driver and the Ethernet specification printer needs the IP
setting utility in addition.
2.1.4 How to Get a Driver
Please contact EPSON or your dealer about OPOS, APD, and ESC/POS.
Rev. HSystem Planning 2-5
2.2 Connection Form and Cables
2.3 Serial Connection
When the TM printer is connected to the host PC with a serial interface, the following connection
forms are possible:
•Stand alone
•Y-connection
•Pass-through connection
Connections for usable serial cross cables are as follows:
The type of cable that should be used depends on the operation and the handshake method for
the TM printer. You can operate the TM printer by Windows driver, OPOS, or ESC/POS
commands. XON/XOFF, DTR/DSR, or RTS/CTS are available as handshake controls. See tables
in following sections for the type cable for each connection.
2-6 System PlanningRev. H
TM-U220 Technical Reference Guide
2
1
2.3.1 Stand alone
Both TM printer and customer display (DM-D) are connected to the host PC via serial port.
Application
TM side control
control setting
XON/XOFF 1Type A or B——
2DM-D500: A,B
DTR/DSR 1—Type A or BType B
2—Type A or BType B
XON/XOFF
(except OPOS)
Other DM-D: not available
DTR/DSR
(DOS, OPOS, Visual C)
——
RTS/CTS
(DOS, Windows driver, Visual C,
Visual Basic, MSComm)
2.3.2 Y-connection
TM printer is connected to the host PC via serial port and the customer display (DM-D) is
connected to TM printer via a modular connector.
Application
TM side control
control setting
XON/XOFFNot available——
DTR/DSR—Type B (*)Type B
XON/XOFF
(except OPOS)
DTR/DSR
(DOS, OPOS, Visual C)
RTS/CTS
(DOS, Windows driver, Visual C,
Visual Basic, MSComm)
(*) When RTS/CTS control is used between the TM and DM.
Note:
If you want to provide power from TM-U220 to a DM-D, you have to use “PS-180“ or “AC Adapter,C1.
” The “AC Adapter,C” cannot provide power to a DM-D.
You need to use the UB-S09 interface when you use a modular connector.
On the DM-D (DM-D500 etc...) which has DIP switch to select Y-type connection, confirm that the DIP
switch has been set “Y-type connection: Enable.”
Rev. HSystem Planning 2-7
2.3.3 Pass-through connections
The TM printer is connected to the customer display (DM-D) via a serial port, and the DM-D is
connected to the host PC via a serial port.
Note:
On the DM-D (DM-D500 etc...) which has a DIP switch to select Y-type connection, confirm that the
DIP switch has been set to “Y-type connection: Disable.”
Application
TM side control
control setting
XON/XOFFNot available——
DTR/DSR 1—Type A or B Type B
2—Type A or BType A or B
XON/XOFF
(except OPOS)
DTR/DSR
(DOS, OPOS, Visual C)
RTS/CTS
(DOS, Windows driver, Visual C,
Visual Basic, MSComm)
2.4 Parallel Connection
The TM printer is connected to the host PC via a parallel interface board (UB-P02II). The
customer display (DM-D) is connected to the host PC via a serial port.
2-8 System PlanningRev. H
TM-U220 Technical Reference Guide
Self-powered USB HUB
Modular
(with UB-U02II)
(with UB-U01II)
(with UB-U01II)
2.5 USB connection
The TM printer can be connected to the host PC via a USB connector, and other TM printers can
be connected to the first printer via USB. (See “Changing the DIP Switch Settings” in Chapter 3
for DIP switch settings.)
Note:
UB-U01II has bus-powered USB HUB. Therefore This USB model printer can’t be connected directly to
other bus powered HUB (including other UB-U01II equipped TM printer) and bus-powered function
whose current consumption is over 100mA. If you would like to connect other USB model TM printer
with UB-U01II, use a self powered USB HUB as shown in the above figure.
If you want to provide power from TM-U220 to a DM-D, you have to use “PS-180“ or “AC Adapter,C1.
” The “AC Adapter,C” cannot provide power to a DM-D.
The host PC needs to have an installed “USB device driver” for using USB model TM printer. Please
contact EPSON or your dealer about the USB device driver and the procedure for installing.
Rev. HSystem Planning 2-9
2.6 Ethernet connection
TM printers are connected to a network via a hub using an Ethernet cable.
Note:
If the TM printer is connected to the host PC via an Ethernet interface, a DM-D cannot be connected to
the TM printer.
We provide the IP address setup utility“EPSON TMNet WinConfig,” for setting the IP address of the
Ethernet model TM printer on the host PC. Please contact EPSON or your dealer about “EPSON TMNet
WinConfig” and the procedure for installing.
2-10 System PlanningRev. H
Chapter 3
roll paper cover
ribbon casette cover
power switch
control panel
This figure is Type A.
unit (Type A only)
manual cutter
Setup
3.1 Part Name and Basic Operation
3.1.1 Part name
TM-U220 Technical Reference Guide
3.1.1.1 Connectors
Do not connect a telephone line to the drawer kick connector or the display module connector;
otherwise the printer and the telephone line may be damaged.
Rev. HSetup 3-1
WARNING:
You can connect up to four cables to the printer. They all connect to the connector panel (on the
DK
DC24V
FG
FG
interface
connector
drawer kick
connector
power supply
connector
bottom rear of the printer), which is shown below.
Note:
This illustration shows the serial interface model. The other interface connector looks slightly different.
3.1.2 The Control Panel
The control panel is shown below.
❏ POWER LED
❏ ERROR LED
❏ PAPER OUT LED
❏ FEED button
3.1.2.1 LED
POWER
On: Power supply is stable.
Off: Power supply is not stable.
ERROR
When this light is on but not blinking, it means that the printer is offline. Check to see if a cover
is open. When this light is blinking, there is an error. See “LED Blinking Pattern” in Chapter 4.
3-2 SetupRev. H
TM-U220 Technical Reference Guide
PAPER OUT
On: The roll paper near end (*1) or real end is detected.
Off: Paper is loaded (normal condition).
Flashing: Self-test waiting state for test print.
Note:
The roll paper near-end sensor is available as an factory option. If the printer is not equipped with the roll paper
near-end sensor, the roll paper near-end is always detected as paper present.
See “Adjusting Position of Roll
Paper Near End Detector” (page 3-28) for information on adjusting the detector.
3.1.2.2 Control Panel Buttons
The control panel has paper button that you may have to use, although most paper handling
functions will be handled by your software.
FEED
Use this button to feed roll paper or to start a roll paper self test. (See “Self Test Procedure” (page
3-39).)
Note:
The FEED button can be disabled by using an ESC/POS command. Refer to “ESC/POS Application
Programming Guide” for details.
Rev. HSetup 3-3
3.2 Setup Flow
5. Complete set up
2. Adjust various settings (If you need to)
❏ DIP switches
❏ Memory switches
❏ Paper width
(Adjust the spacer & Memory switches)
❏ Roll Paper Near End Detector
(For equipped model only)
❏ Auto cutter method (Type A, B)
(See “Adjusting Various Settings” (page 3-14))
4. Driver setup
❏OPOS
❏ APD
(See “Install a Printer Driver in the Host PC / POS Terminal,” (page 3-33))
When you select
Direct control
method (ESC/
POS command)
you don’t need
to install any
drivers.
1. Printer set up
❏Install Ribbon Cassette
❏Install Paper Roll
❏ Connect the Printer to the Power Supply
(See “Printer setup,” (page 3-6))
3. Connect the Printer to the host PC/POS terminal
(See “Install a Printer Driver in the Host PC / POS Terminal” (page 3-33))
You have to set up your printer to use it. And you can adjust some features by customizing
them. This section describes the setup.
The set up flow of preparing to use printer is below.
3-4 SetupRev. H
TM-U220 Technical Reference Guide
Note:
When you use OPOS (OCX driver from EPSON) or the Advanced Printer Driver, you need to install the
driver. When you use ESC/POS commands, you don’t have to install drivers. For information on these
drivers, see “Control Method” (page 2-1) and “Install a Printer Driver in the Host PC / POS Terminal” (page 3-33).
This printer can be installed on a wall. See “How to Install the Printer on a Wall with the WH-10”
in Appendix B for details.
The following sections describe the setup. The flow of preparing to use printer is listed below.
1. Printer setup
Install Ribbon Cassette
(“Installing or Replacing the Ribbon Cassette” (page 3-6))
Install Paper Roll (“Installing the Roll Paper” (page 3-7))
Connect the Pritner to the Power Supply
(“Connecting the Power Supply Unit” (page 3-13))
2. Adjust various setting ( If you need to)
When you use this printer with a serial interface, you have to adjust the communication
settings. See “Adjusting the DIP Switches” (page 3-15) and “Memory Switches” (page 3-
19) for how to set them.
DIP switches (“Adjusting the DIP Switches” (page 3-15))
The DIP switches set serial communication conditions, busy condition,
print column, receive buffer capacity, etc...
Memory switches (“Memory Switches” (page 3-19))
The Memory switches set serial communication conditions,
roll paper width, cover open status handling, etc...
Paper width (“Adjusting Roll paper width” (page 3-27))
The paper width is set by the spacer & Memory switch setting.
Roll Paper Near End Detector (For model equipped with the detector)
(“Adjusting Position of Roll Paper Near End Detector” (page 3-28))
3. Connect the Pritner to the Host PC/POS Terminal (and Cash Drawer)
(“Connecting the Printer to the Host PC / POS Terminal” (page 3-29))
4. Driver set up (If you use driver)
(“Install a Printer Driver in the Host PC / POS Terminal” (page 3-33))
5. Complete the setup
Rev. HSetup 3-5
3.3 Printer setup
Knob
Tab
3.3.1 Installing or Replacing the Ribbon Cassette
EPSON recommends the use of genuine EPSON ribbon cassettes. Ribbon cassettes not
manufactured by EPSON may cause damage to your printer that is not covered by EPSON’s
warranties.
To install the ribbon cassette for the first time or to replace a used ribbon, follow the steps below:
1. Unpack the ribbon cassette and turn
the knob in the direction shown to
take up any slack.
2. Open the ribbon cassette cover of the
printer, using the tabs on each side of
the cover.
3. Remove the old ribbon, if there is
one.
4. Insert the new ribbon cassette as
shown and push the ribbon cassette
down until it clicks.
Note:
Make sure the ribbon is installed between the
print head and the platen without wrinkles or
creases.
5. Close the ribbon cassette cover of the printer.
3-6 SetupRev. H
TM-U220 Technical Reference Guide
3.3.2 Installing the Roll Paper
The installing procedure is little different between Type A and Type B, D.
CAUTION:
Be sure to use roll paper that meets the specifications.
Be sure not to touch the manual cutter. Otherwise your fingers might be injured.
Rev. HSetup 3-7
3.3.2.1 Installing rhe Roll Paper for Type B, D
Tab
1. Using scissors, cut the leading edge of
the roll paper, as shown in the left figure.
2. Turn on the printer and open the roll
paper cover by using the tab, as shown in
the left.
3. Insert the roll paper, as shown on the left.
Note:
Note the direction the paper comes off the
roll, as shown below.
4. Close the roll paper cover.
When using 2-ply roll paper, be sure that the
top and bottom sheets are aligned at the paper
exit. See the below illustration.
3-8 SetupRev. H
3.3.2.2 Installing the Roll Paper for Type A
Tab
lever
TM-U220 Technical Reference Guide
1. Using scissors, cut the leading edge of
the roll paper, as shown in the left figure.
2. Turn on the printer and open the roll
paper cover by using the tab, as shown in
the left.
Note:
The printer feeds for 30 mm automatically if
the roll paper cover is open. This is a normal
operation to prevent the printer from
damaging the paper when the roll paper cover
is opened or closed.
Since the printer does not feed even if the roll
paper cover is open when the printer is
turned off, make sure not to pinch the paper
when the cover is closed.
3. Open the unit by using the lever, as
shown in the left.
Rev. HSetup 3-9
4. Insert the roll paper, as shown in the left.
Note:
Note the direction the paper comes off the
roll, as shown in following
When using 2-ply roll paper, be sure that the top
and bottom sheets are aligned at the paper exit.
See below illustration.
5. Close the roll paper cover.
6. If you are not using a take-up spool, pull out a small amount of roll paper and close
the roll paper cover; then tear off the paper with the manual cutter. You can skip
steps 6 through 11.
7. When using 2-ply roll paper, pull out the
roll paper to the bottom front of the
printer as a guide, as shown in left.
3-10 SetupRev. H
TM-U220 Technical Reference Guide
8. Close the unit, as shown in the left
illustration.
9. Insert the end of the bottom paper
(journal paper) into the paper take-up
spool, as shown in following.
10. Insert the paper take-up spool in the
printer. Be sure that the paper is aligned
with the spool's flange, as shown.
11. Feed the paper with the FEED button so
that the paper is taken up by the spool.
12. Close the roll paper cover and tear off the
roll paper with the manual cutter, as
shown.
Rev. HSetup 3-11
Note:
Tab
Since the printer does not feed even if the roll paper cover is open when the printer is turned off, make sure
not to pinch the paper when the cover is closed.
Do not open the roll paper cover during printing or paper feeding.
When using the printer, be sure to cut the roll paper with the manual cutter after paper feeding is
complete.
3.3.2.3 Replacing the Roll Paper
1. Turn on the printer and open the
roll paper cover by using the tab,
as shown.
2. Types B and D: Remove the used roll paper core.
3. Type A only: Remove the take-up
spool, and open the unit by using
the unit open lever, as shown; then
remove the used roll paper core.
4. Insert new roll paper. See the section “Installing the Roll Paper for Type A”
(page 3-9).
3-12 SetupRev. H
TM-U220 Technical Reference Guide
3.3.3 Connecting the Power Supply Unit
Use the power supply or equivalent for your printer as listed below.
TM-U220 Alphanumeric model (Type A,B, D) TM-U220 Multilingual model (Type A,B, D)
AC Adapter,C, AC Adapter,C1, or PS-180 (option)PS-180 or AC Adapter,C1
Note:
The AC Adapter packed in the carton box of ANK model cannot be used for the Multilingual model.
The "AC adapter, C," which is packed with the alphanumeric model, cannot be used with the
multilingual* model. Be sure to use the "PS-180" or "AC Adapter,C1" with the multilingual* model. If
the “AC adapter, C,” packed with the alphanumeric model, is connected to the multilingual* model by
mistake, the printer may not operate correctly. For example, printing may stop before all the lines are
printed or the printer may print the same line repeatedly.
*Multilingual means the printer model that can print any one of the following: Japanese Kanji, Simplified
Chinese, Traditional Chinese, Thai characters, or Korean characters.
WARNING:
Make sure you use the AC Adapter,C, AC Adapter,C1, or PS-180 (option) power supply
or equivalent.
Don’t use the PA-#### or PB-#### power supply unit with TM-U220.
Using an incorrect power supply may cause fire or electrical shock.
CAUTION:
When connecting or disconnecting the power supply from the printer, make sure the
power supply is not plugged into an electrical outlet. Otherwise you may damage the
power supply or the printer.
3.3.3.1 Connecting procedure
1. Make sure the printer’s power switch is turned off and the power supply’s power cord is
unplugged from the electrical outlet.
2. Check the label on the power supply to make sure the voltage required by the power supply
matches that of your electrical outlet.
Rev. HSetup 3-13
3. Plug the power supply cord into the connector shown below.
DK
DC24V
FG
FG
Power supply connector
Note:
To remove the DC cable connector, make sure the power supply’s power cord is unplugged; then grasp the
connector and pull it straight out.
When you connect the power supply unit to the printer, we recommend to do a self test to
confirm the operation. See “Self Test” (page 3-39) for details.
3.4 Adjusting Various Settings
This printer is able to be adjusted for the items below:
❏ Memory switch (serial communication conditions, roll paper width,
cover open status handling, etc...)
❏ Roll paper width (76mm / 69.5mm / 59.5mm)
Adjusting the spacer & memory switch
❏ Position of roll paper near end detector
The current settings can be confirmed by a self test. (See “Self Test” (page 3-39).)
Note:
When you use serial interface model with 1200bps, 2400bps, or 19200bps, you have to adjust DIP switch
“Serial interface selection“ function and Memory switch “Serial communication condition“.
When you adjust the items, we recommend to confirm the new setting. The confirmation is performed by
running a self-test. See “Self Test Procedure” (page 3-39).
3.4.1 How to Confirm Current Settings
You can use a self-test to confirm the current settings. See “Self Test” on page 3-39.
3-14 SetupRev. H
TM-U220 Technical Reference Guide
Look at the numbers and letters in the area
indicated in the illustration. If the last
letters are “US”, use the “US” tables below.
If the last letters are “STD”, use the “STD”
tables.
CAUTION:
Be sure to put back the DIP switch
cover before using the printer.
ON
OFF
ON
OFF
3.4.2 Adjusting the DIP Switches
The printer has two sets of DIP switches. The function of the DIP switches is different for each
interface model.
If you need to change settings, follow the steps below to make your changes:
CAUTION:
Turn off the power while removing the DIP switch cover to prevent an electric short,
which can damage the printer.
Use a crosshead screwdriver to remove the screw holding the DIP switch cover.
Note:
The functions of the switches are shown in the following sections.
The DIP switch function of US is little different from the STD.
7Transmission speed 4800 bps9600 bps7Pin 6 reset signalUsedNot used
8BUSY conditionReceive
40 bytes4 KB2Reserved
(Auto cutter enable/
disable)
selection
8Pin 25 reset signalUsedNot used
buffer full
Receive
buffer full or
Offline
Type A, B
Fixed to On
Memory
switch
Type D
Fixed to Off
DIP switch
Rev. HSetup 3-15
Parallel / USB / Ethernet model (Except serial)
(DIP Switch 1)(DIP Switch 2)
SW FunctionOnOffSW FunctionOnOff
1Auto line feedEnabledDisabled1Print column selection 42/3540/33
2Receive buffer
capacity
3~7 Reserved-Fixed to Off3~7 Reserved-Fixed to Off
8BUSY conditionReceive
40 bytes4 KB2Reserved
(Auto cutter enable/
disable)
8Pin 31 reset signalUsedNot used
buffer full
Receive
buffer full or
Offline
Type A, B
Fixed to On
Type D
Fixed to Off
Note:
See the next page for “When the letters are US.”
See “Notes for DIP switch 2-1” (page 3-19) about the DIP SW 2-1 setting.
When you use serial interface model with 1200bps, 2400bps, or 19200bps, you have to adjust DIP switch
“Serial interface selection“ function and Memory switch “Serial communication condition“.
3-16 SetupRev. H
TM-U220 Technical Reference Guide
3.4.2.2 When the letters are US
Serial model
(DIP Switch 1)(DIP Switch 2)
SW FunctionOnOffSW FunctionOnOff
1Printing modeRight side up
2Receive buffer
capacity
3HandshakingXON/XOFFDTR/DSR3Pin 6 reset signalUsedNot used
4Word length7 bits8 bits4Pin 25 reset signalUsedNot used
5Parity checkYesNo5Reserved-Fixed to Off
6Parity selectionEvenOdd6Reserved-Fixed to Off
7Transmission speed 4800 bps9600 bps7Reserved-Fixed to Off
8BUSY conditionReceive
printing
mode
40 bytes4 KB2Reserved
buffer full
Normal
printing
mode
Receive
buffer full or
Offline
1Print column42/3540/33
(Auto cutter enable/
disable)
8Serial interface
selection
Type A, B
Fixed to On
Memory
switch
Type D
Fixed to Off
DIP switch
Note:
When the printer has a data receive error, the printer prints “?.”
Usually DIP switch 1-1 should be turned off. The right side up printing mode is a mode used for a printer
that is hanging on a wall. For detail, see “What is “Right side up printing“ ?” (page 5-10). Regardless
of the setting of DIP switch 1-1, if you want to perform right side up printing, DIP switch 1-2 must be
fixed to off.
Parallel / USB / Ethernet model (Except serial)
(DIP Switch 1)(DIP Switch 2)
SW FunctionOnOffSWFunctionOnOff
1Printing modeRight side up
2Receive buffer
capacity
3Reserved-Fixed to Off3Reserved-Fixed to Off
4~7 Reserved-Fixed to Off4Pin 31 reset signalUsed Not used
8BUSY conditionReceive
printing
mode
40 bytes4 KB2Reserved
buffer full
Normal
printing
mode
Receive
buffer full
or Offline
1Print column selection 42/3540/33
Type A, B
(Auto cutter enable/
disable)
5~8 Reserved-Fixed to Off
Fixed to On
Type D
Fixed to Off
Rev. HSetup 3-17
Note:
See the previous page for “When the letters are STD.”
See “Notes for DIP switch 2-1” (page 3-19) about the DIP SW 2-1 setting.
When you use serial interface model with 1200bps, 2400bps, or 19200bps, you have to adjust DIP switch
“Serial interface selection“ function and Memory switch “Serial communication condition“.
Usually DIP switch 1-1 should be turned off. The right side up printing mode is a mode used for a printer
that is hanging on a wall. For detail, see “What is “Right side up printing“ ?” (page 5-10). Regardless
of the setting of DIP switch 1-1, if you want to perform right side up printing, DIP switch 1-2 must be
fixed to off.
3-18 SetupRev. H
TM-U220 Technical Reference Guide
3.4.2.3 Notes for DIP switch 2-1
The DIP switch 2-1 defines the print columns as listed in the following table.
DIP switch 2-1 status
Paper widthCharacter font
76 mmFont A (9 x 9)3533
Font B (7 x 9)4240
69.5 mmFont A (9 x 9)3230
Font B (7 x 9)4036
57.5 mmFont A (9 x 9)2725
Font B (7 x 9)3330
Unit: cpl (Character per line)
ONOFF
Note:
The cpl of a Kanji character font is available to be changed by an ESC/POS command. (default: 22 cpl to
25cpl)
3.4.3 Memory Switches
This printer has “Memory switch“ set which is software switches. Memory switch set has “Msw
2,” “Msw 8,” “Customize value,” “Serial communication condition.”
“Memory switch setting utility” can change the Memory switch set to ON or OFF as shown in
the table below (default: all OFF):
Note:
The Memory switch is available to be changed by five methods:
Memory switch setting utility
Memory switch setup mode (there are limitations on what can be changed)
Control from setupPOS (OPOS only, and there are limitations on what can be changed)
Control from Windows driver (Advanced Printer Driver only, and
there are limitations on what can be changed)
Control from ESC/POS command
Some Memory switch settings can be changed by the “Memory switch setting mode.“See “Memory
Switch Setup Mode” on page 3-21.
Settings of the memory switch are stored in the NV memory; therefore, even if the printer is turned off, the
settings are maintained. Excessive use of this function may destroy the NV memory. As a guideline, do
not use this function more than 10 times a day.
When you use OPOS or APD, generally you don’t need to adjust memory switch because OPOS or APD
are able to set these items automatically.
When you replace a TM-U210 with a TM-U220, you should adjust the Msw 8-5 to OFF.
Rev. HSetup 3-19
Memory Switch 2
SWFunctionOnOff
1Reserved-Fixed to Off
2Reserved-Fixed to Off
3Selection of the character code system of
the Simplified Chinese
4 ~ 8 Reserved-Fixed to Off
GB2312GB18030
Note:
Msw 2-3:
The memory switch Msw 2-3 affects the Simplified Chinese model only.
Memory Switch 8
SWFunctionOnOff
1 ~ 4 Reserved-Fixed to Off
5Selection of the cover open statusCover openPaper end
6Reserved-Fixed to Off
7Condition to release the BUSY in the
receive buffer
8Printer cover open during operationErrors that can possibly
Remaining 138 bytesRemaining 256 bytes
Errors that automatically
recover
recover
Note:
Msw 8-5:
When Off is selected, a bit of the "roll paper end sensor" in each status that is transmitted from the printer
is changed every time the roll paper cover is open or closed. When On is selected, a bit of the "roll paper
cover open / close" in each status that is transmitted from the printer is changed every time the roll paper
cover is open or closed. When you replace a TM-U210 with a TM-U220, you should adjust the Msw 8-5
to Off.
Msw 8-8:
When Off is selected, a bit of the "automatic recoverable error" in each status that is transmitted from the
printer is changed every time the roll paper cover is open. When On is selected, a bit of the "mechanical
error" in each status that is transmitted from the printer is changed every time the roll paper cover is open.
The setting of Msw 8-5 and 8-8 can be set by “Memory switch setup mode.“ See “Memory Switch Setup
Mode” on page 3-21.
3-20 SetupRev. H
TM-U220 Technical Reference Guide
Customize value
FunctionSelectable value
Automatic Paper
Reduction
Roll paper width57.5 mm69.5 mm
Reduction of top marginDoes not reduce (default
Reduction of bottom marginDoes not reduce (default
Reduction of line spacingDoes not reduce (default
Reduction of line spacing
where extra line feeds are
included
value)
value)
value)
Reduces 50%Reduces 75%
Does not reduce (default
value)
Reduces 50%Reduces 75%
76 mm (default value)--
Reduces
Reduces
Reduces 25%
Reduces 25%
Note:
These setting can be set by “Memory switch setup mode.“ See “Memory Switch Setup Mode” on page 3-
21.
Automatic Paper Reduction setting is available with firmware version 5.10 EAI or later.
See “Adjusting Roll paper width” (page 3-27) also to adjust roll paper width.
Serial communication
FunctionSelectable value
baud rate1200 bps2400 bps
4800 bps9600 bps
19200 bps--
ParityNoneOdd
Even--
HandshakeDSR/DTRXON/XOFF
Data length7 bit8 bit
Note:
There are two methods, DIP switch and Memory switch, to adjust the serial communication conditions.
DIP SW2 selects which is effective, DIP switch or Memory switch.
To enable the “Serial communication“ setting, you have to adjust the “Serial interface selection“ function
of DIP switch 2 to “Memory switch.“
These settings can be set by “Memory switch setup mode.“ See “Memory Switch Setup Mode” on page 3-
21.
3.4.4 Memory Switch Setup Mode
The following items are specified in the memory switch setup mode:
❏ Basic Serial communication condition (Serial communication)
Rev. HSetup 3-21
•Transmission speed
•Parity
•Handshaking
•Data length
❏ Receive buffer full release condition (Msw 8-7)
❏ Automatic Paper Reduction (Customized value)
❏ Roll paper width (Customize value)
❏ Cover open status (Msw 8-5)
Note:
All new settings will be lost if the power supply is turned off in the memory switch setup mode. Be sure to
follow the proper procedure, and turn the power off at the correct time.
3.4.4.1 Starting the memory switch setup mode
Use the following procedure to start the memory switch setup mode.
1. Open the roll paper cover.
2. Turn the power on while pressing the paper FEED button.
3. Press the FEED button twice while POWER, ERROR, and PAPER OUT LEDs are lit.
4. Close the cover. The printer prints the enabled settings of the memory switches and
instructions.
5. Follow the instructions to process the switch setup.
Note:
In the memory switch setup, the paper out LED may be flashing. The flashing time indicates “The times of
FEED button is pressed before the roll paper cover is closed.“
3.4.4.2 Ending memory switch setting mode
Once the setting is performed, the contents of the setting are stored. Then the printer initializes.
When initialization is finished, the printer returns to normal operating mode.
3-22 SetupRev. H
3.4.4.3 Operating procedure
Entering Memory Switch Setting Mode
Selecting Items to Set
Selecting Individual Settings
Ending Memory Switch Setting Mode
❒ 3 times: Basic Serial Interface Settings
❒ 4 times: Receive buffer full release condition
❒ 6 times: Automatic Paper Reduction
❒ 7 times: Roll Paper Width
❒ 9 times: Cover open status
Open the paper roll cover.
Press the FEED button the number of times required to select the desired item (as shown below);
then close the paper roll cover.
Pressing the paper FEED button 0 times or 10or more times will terminate this procedure.
Open the paper roll cover.
Press the FEED button the number of times required to select the setting for each item; then
close the paper roll cover.
❒ 0, 1, 2, 5, 8 times: Unused
❒ 10 or more times: Unused
1. Open the paper roll cover and turn the power on while pressing the paper FEED button.
2. Press the paper FEED button twice while POWER, ERROR, and PAPER OUT LED are lighting.
3. Close the cover.
The printer prints the current settings and setting instructions.
The printer prints the new settings and saves the settings to non-volatility memory. Then, the
software resets and enters the normal printable status. Turn the power supply OFF.
Receive buffer
full release
condition
(page 3-25)
Cover open status
(page 3-26)
Baud Rate Setup
(page 3-24)
Data Length,
Handshake, or Parity
(page 3-24)
Roll Paper Width
(page 3-26)
Automatic Paper
Reduction
(page 3-25)
Basic Serial Interface
Setting
The procedures used for this process are described below.
TM-U220 Technical Reference Guide
Rev. HSetup 3-23
Selecting individual settings
❏ Basic serial interface setting
To select transmission conditions, first choose “Serial interface settings”; then select “Data
length, handshake, or parity.”
Press the FEED button the number of times required to select the desired “Serial interface
settings” used for transmission conditions.
Press FEED buttonSetting selected
0 ~ 3 times: No change
4 times: 19200 bps
5 times: 9600 bps
6 times: 4800 bps
7 times: 2400 bps
8 times: 1200 bps
9 or more times: No change
bps: Indicates the number of transmitted bits per second (bps).
❏ Data length, handshake, or parity
Press the FEED button the number of times required to select the desired “Data length,
handshake, or parity” setting used for transmission conditions.
Press FEED buttonSetting selected
Data LengthHandshake Parity
0 times: No change
1 time: 8 bitsDTR/DSR controlNo parity
2 times: Even
3 times: Odd
4 times: XON/XOFF controlNo parity
5 times: Even
6 times: Odd
7 times: 7 bitsDTR/DSR controlNo parity
8 times: Even
9 times: Odd
10 times: XON/XOFF controlNo parity
11 times: Even
12 times: Odd
13 or more times:No change
3-24 SetupRev. H
TM-U220 Technical Reference Guide
❏ Receive buffer full release condition
Press the FEED button the number of times required to select the desired receive buffer full
release condition setting.
Press FEED buttonReceive buffer full release condition
0 times: No change
1 time: 256 bytes remain (Msw 8-7: Off)
2 times: 138 bytes remain (Msw 8-7: On)
3 or more times: No change
❏ Automatic paper reduction setting
Press the FEED button the number of times required to select the desired automatic paper
reduction setting (Customize value.)
Press FEED buttonReduction of top margin/Reduction of bottom margin
0 times: No change
1 time: Does not reduce
2 times: Reduces
3 or more times: No change
Reduction of line spacing/Reduction of line spacing
Press FEED button
0 times: No change
1 time: Reduces 25%
2 times: Reduces 50%
3 times: Reduces 75%
4 times: Does not reduce
5 or more times: No change
where extra line feeds are included
Note:
Setting is available with firmware version 5.10 EAI or later.
Rev. HSetup 3-25
❏ Paper width setting
Press the FEED button the number of times required to select the desired roll paper width setting
(Customize value.)
Press FEED buttonSelecting paper width
0 times: No change
1 time: 76 mm
2 times: 69.5 mm
3 times:57.5 mm
4 or more times: No change
Note:
See “Adjusting Roll paper width” (page 3-27) also to adjust roll paper width.
❏ Cover open status
Press the FEED button the number of times required to select the desired the mapping of cover
open status setting.
Press FEED buttonSetting selected
0 times: No change
1 time: Paper out (Msw 8-8: OFF)
2 times: Cover open (Msw 8-8: ON)
3 or more times: No change
3-26 SetupRev. H
TM-U220 Technical Reference Guide
leading the wires
between the holder
and frame
Roll paper guide
Roll paper holder
B
C
A
Roll paper
guide
position of fixing
the screws (left
side)
position of fixing the
screws (right side)
A: paper width76 mm
B: paper width69.5mm
C:paper width57.5mm
3.4.5 Adjusting Roll paper width
The TM-U220 accommodates 76 mm {3"},69.5 mm {2.74"}, 57.5 mm {2.26"} wide paper rolls.
Note:
When you use a near-end detector equipped model, be sure not to pinch the lead wires of the near-end
detector between the roll paper guide and the roll paper holder, and to push the lead wires inside so that the
lead wire of the paper-end detector does not contact the motor gear.
When replacing the wires, be sure that the wires do not catch between the roll paper guide and the roll
paper holder.
1. Make sure the power supply is disconnected.
2. Open the roll paper cover.
3. Take off the roll paper guide from the printer by loosening the two screws.
4. Push the roll paper guide on the appropriate width. (See figure above.)
Rev. HSetup 3-27
5. Tighten the spacer with two screws included with the guide. (See figure above.)
Detector
adjustment screw
Knob
#2 setting
#1 setting
Detector lever
Seeing at outside for roll paper spacer
6. Set the memory switch (customize value) for the paper width. (See “Memory Switches”
(page 3-19))
3.4.6 Adjusting Position of Roll Paper Near End Detector
Below are two reasons for the roll paper to require an NE detector adjustment.
❏ To adjust the location of detection for the diameter of the roll paper core.
❏ To adjust the amount of remaining paper.
The procedure is as following.
1. Make sure the power supply is disconnected.
2. Open the roll paper cover, and remove the paper roll.
3. Loosen the detector adjustment screw with a coin or similar tool.
4. Adjust the detector by sliding the lever in the direction shown below.
The table below shows the point at which the near-end detector is triggered. Note that this
figure is a calculated value, and there may be some variations, depending on the printer.
Detection point of roll paper near-end
Detector position (attaching point of
the detector adjustment lever )Trigger point (included the thickness of paper roll core)
#1 settingApprox. 8 mm
#2 settingApprox. 5 mm
5. Tighten the detector adjustment screw.
6. Check to be sure that the detecting lever moves freely.
3-28 SetupRev. H
TM-U220 Technical Reference Guide
DK
DC24V
FG
FG
Interface connector
Power supply connector
Drawer kick connector
3.4.7 Connecting the Printer to the Host PC / POS Terminal
All cables are connected to the connector panel located on the lower rear side of the printer.
Connector panel
Note:
The figure above shows the connector panel for the serial interface model printer. The shape of the interface
connector varies according to the type of interface used.
Be sure to turn off the power supply for both the printer and the host computer unit before connecting the
various cables.
You need an appropriate serial, parallel, USB, or Ethernet interface cable to connect your computer to the
printer. For the serial model, it is important that you use a null modem cable, not any other serial cable,
and for the parallel model use an IEEE 1284 cable.
Rev. HSetup 3-29
3.4.7.1 Serial Interface model
Before connecting any of the cables, make sure that both the printer and the host PC are turned
off.
1. Plug the cable connector securely into the printer’s interface connector.
2. If the cable connector has screws on it, tighten the screws on both sides of the connector.
3. If your interface connector has a grounding wire, attach it to the printer using the screw
labeled FG, which is next to the interface connector.
4. Attach the other end of the cable to the host PC.
Note:
When using serial interface, you need to adjust serial communication using the DIP switches. See
“Adjusting the DIP Switches” (page 3-15) for details.
When using serial interface, see “Serial Connection” in Chapter 2 also.
3.4.7.2 Parallel Interface Models
1. Press the connector on the end of the interface cable firmly into the interface connector on
the connector panel.
2. Press down the clips on either side of the connector to lock it in place.
3. For interface cables equipped with a ground line, attach the ground line to the screw hole
marked "FG" on the printer.
4. Connect the other end of the interface cable to the host computer.
3.4.7.3 USB Interface Models
1. Attach the locking wire saddle at the location shown in the figure below.
2. Hook the USB cable through the locking wire saddle, as shown in the figure below.
3-30 SetupRev. H
TM-U220 Technical Reference Guide
USB upstream connector
Locking wire saddle
USB cable
DM connector
USB downstream connector
(Only for the USB HUB: UB-U01)
UB-BOARD
Note:
Hooking the USB cable through the locking wire saddle, as shown in the figure below, will prevent the
cable from coming unplugged.
Attaching locking wire saddle
3. Connect the USB cable from the host computer to the USB upstream connector.
4. For models that have the UB-U01II installed, a maximum of two USB devices can be
connected to the USB downstream connector.
Note:
The UB-U01 serves as a bus power-supply hub. Therefore, it is important to note that bus power
supply hubs (including the UB-U01II) and bus power supply functions with power dissipation of 100
mA or more cannot be connected directly to the printer. (A UB-U02II can be directly connected to a
UB-U01 hub.)
5. Install the UB-U01II/02II device driver on the host computer.
Note:
For information on how to obtain the required device drivers and their installation procedures, contact
the nearest EPSON service center.
Rev. HSetup 3-31
3.4.7.4 Ethernet interface
10BASE-T Ethernet
interface
connector
LED (green) LED (red)
Be sure not to push the
LEDs by accident
Switch
If you press and hold
this switch when the
printer is on, the
interface will be
reset to the factory
settings
The following view shows the part names of the UB-E01.
Before connecting any of the cables, make sure that both the printer and the host computer are
turned off.
1. Make sure both the printer and the host computer are turned off.
2. Plug the 10BASE-T cable connector securely into the UB-E01's 10BASE-T Ethernet connector
until you feel it click.
CAUTION:
Do not connect a telephone line , a display module cable, or a drawer kick cable to the
UB-E01’s 10BASE-T connector.
Note:
The display module connector on the TM printer cannot be used when the UB-E01 is installed.
3. Connect the power supply to the printer.
3-32 SetupRev. H
TM-U220 Technical Reference Guide
DK
DC24V
FG
FG
Drawer kick connector
3.4.7.5 Connecting a Drawer
CAUTION:
Be sure to connect a drawer that meets printer specifications. Connecting a drawer of
the wrong specifications may result in damage to both the drawer and the printer.
Never connect the telephone line to the drawer kick connector (labeled “DK”). Doing
so may result in damage to both the telephone line and the printer.
Never connect the drawer cable to the customer display connector (labeled “DM-D”).
Doing so may result in damage to both the drawer cable and the printer.
1. Connect the drawer cable to the drawer kick connector (labeled “DK”) on the connector
panel.
Connecting drawer
2. The connecting is finished.
3.5 Install a Printer Driver in the Host PC / POS Terminal
EPSON provides printer drivers for the TM-U220. The drivers are OPOS and Advanced Printer
Driver (APD). They are for the Windows environment.
3.5.1 OPOS
3.5.1.1 Install and Set up.
When you install and set up, please refer to the User's Manual, the file is automatically created at
the installation of OPOS ADK.
Rev. HSetup 3-33
Outline of install and Setup procedure is as follows.
START
1. Installation OPOS ADK
(Execute the Setup.exe in DISK1, and continue to installation by wizard)
Is installation completed?
2. Setup the OPOS & device setting by using SetupPOS utility
You can setup the OPOS and device setting by the SetupPOS utility.
2.1 Setup the OPOS & device setting
Completed
ERROR
For detail refer to
[ User Manual]
❏ Select the device and I/F setting
❏ Device specified setting
•Paper type & size setting
•Bitmap setting
3-34 SetupRev. H
TM-U220 Technical Reference Guide
2.2. Device communication test by executing the CheckHealth
ResultCode
SUCCESS
ERROR
Confirm the error condition by
referring to the [User's manual]
END
The OPOS and device settings are right.
&
The Install and Setup are completed.
(3. Confirmation by sample program)
4. Make a OPOS compliant program
1. Installation.
Execute the Setup.exe in DISK1. and continue to installation by wizard.
Rev. HSetup 3-35
2. Set up the device and environment.
1. Set the device setting by using SetupPOS utility.
•Select the device and I/F setting.
•Device specified setting. (set the specified setting of the device)
2. Execute the CheckHealth
Device communication test.
•If you get "SUCCESS", the setting of the device is right.
•If you get ResultCode (error), please re-check the device connection setting by
following the User's Manual.
After performing the above procedure, please use an OPOS compliant program in your system.
Note:
Please refer to the sample program when you make a program.
OPOS ADK provides a sample program for each device class. The sample programs are intended as
programs to serve as references for application developers. The ways to use the principal methods and
properties for each device are introduced in the form of Visual Basic, Visual C++ programs. In this
manual, it is introduced in the form of Visual Basic.
3.5.1.2 Package contents of EPSON OPOS ADK.
Package contents of EPSON OPOS ADK are same as that of the previous one.
❏ Installer
❏ SetupPOS Utility
❏ OPOS Controls
❏ Manual
•User’s Manual :Installation of the EPSON OPOS ADK, Configurations,and explanations
of the attached tools.
•ADG : Detailed information on the each device to support the development.
ADG for General :General information on the development.
ADG for Common Information :Common information to all the devices.
ADG for device class :General information on the device class.
ADG for model :Specific explanation on the device.
Sample program :Information on the Sample Programs.
❏ Sample Program
Sample program for VB and VC (for each device class)
3-36 SetupRev. H
TM-U220 Technical Reference Guide
When the printer is
Ethernet model on
Window 98 or 95
1. Install EPSON Advanced Printer Driver
Select the modules needed to install:
TM-U220, Status API (and USB device driver)
When the printer is
USB interface model
3. Install “EPSON
Net Direct print”
2. Install “USB driver”
4. Set up the printer port
5. Test print
When the printer is
Serial or Parallel
interface model
What interface model?
3.5.2 Advanced Printer Driver (APD)
3.5.2.1 Installing and Setting Up
When you install and set up the APD, please refer to the “EPSON Advanced Printer Driver
Install Manual.“ The Manual is a PDF file, which is provided with other manuals for the APD.
Outline of installation and setup procedure is as follows.
Rev. HSetup 3-37
1. Install EPSON Advanced Printer Driver
Execute the installer “ADT###e.exe,“ and select modules which you need. The
recommended modules are shown below. Refer to the installation manual for details.
EPSON TM-U220 Receipt
(76mm):
EPSON TM-U220 Receipt
(69.5mm):
EPSON TM-U220 Receipt:
(57.5mm)
Status API:
USB driver:
This module (printer driver) is required for printing on
76mm width receipt.
This module (printer driver) is required for printing on
69.5mm width receipt.
This module (printer driver) is required for printing on
57.5mm width receipt.
This module is required for monitoring the printer. This
module provides API to monitor the printer’s status.
This module (device driver) is required for the USB
interface model printer.
Note:
For the Manual, Sample program, and each utility, you have to download separately the
ADT###e.exe.
2. Install “USB driver”
When you use a USB interface model printer, you need to install the “USB driver.” The
procedure depends on the OS; therefore see the installation manual. If you aren’t using a
USB interface model printer, you don’t need to install this module.
3. Install “EPSON Net Direct print“
When you use the Ethernet interface model printer with Windows98/95, you need to install
“EPSON Net Direct print.” See the installation manual for details. If you aren’t using the
Ethernet interface model printer, or aren’t using Windows 98/95, you don’t need to install
this module.
4. Set up the printer port
After installing APD (and “USB driver” or “EPSON Net Direct print“) you need to adjust the
printer port setting for the printer interface model. See the Installation manual and the
User’s manual for details.
Note:
When you use the serial interface model printer, you need to adjust serial communication setting
between printer and printer driver. See “Adjusting the DIP Switches” (page 3-15) and “Memory
Switches” (page 3-19) for information on the settings.
5. Test print
Execute test print from the “property” of printer to confirm the setting. If the test print is not
correct, please see the “Notes” on the “User’s Manual” and “Status API Reference Manual”
to solve the your problem.
3-38 SetupRev. H
TM-U220 Technical Reference Guide
Note:
You can use the printer with sample program (written in Microsoft Visual Basic, Visual C++). The
sample program is provided separately.
3.6 Self Test
The self test lets you know if your printer is operating properly. It checks the control circuits,
printer mechanisms, print quality, control software version, and DIP switch settings.
This test is independent of any other equipment or software, so it is a good idea to run it when
you first set up the printer and if you have any trouble. If the self tests work correctly, the
problem is in the other equipment or the software, not the printer.
3.6.1 Self Test Procedure
1. Make sure the printer is turned off and the roll paper cover is closed properly.
2. While holding down the FEED button, turn on the printer using the switch on the front of the
printer. The self test prints the printer settings and then prints the following, cuts the paper,
and pauses. (The PAPER OUT light blinks.)
If you want to continue SELF-TEST printing, Please press the
FEED button.
3. Press the FEED button to continue printing. The printer prints a pattern using the built-in
character set.
4. The self test automatically ends and cuts the paper after printing the following:
*** completed ***
The printer is ready to receive data as soon as it completes the self test.
Note:
If you want to pause the self test manually, press the FEED button. Press the FEED button again to
continue the self test.
Rev. HSetup 3-39
3-40 SetupRev. H
TM-U220 Technical Reference Guide
160 ms
Chapter 4
Troubleshooting
This section describes general troubleshooting.
4.1 LED Blinking Pattern
4.1.1 Error Types
The printer stops all printer operations for the selected paper section, goes offline, and the
ERROR LED blinks when an error is detected.
4.1.1.1 Errors that automatically recover
ERROR LED Blinking Pattern
ERRORDescription
Roll paper cover
open error (when
recoverable error is
selected) (*1)
Print head
temperature error (*2)
The roll paper cover is
opened when printing.
The temperature of the
print head is extremely
high
Recovery
Recovers automatically
when the cover is
closed.
Recovers automatically
when the print head
cools
Note:
(*1) This conditions are selected by MSW 8-5, 8-8. When MSW 8-5 (mapping of the cover open status) is
off, the error hasn’t occurred but there is a “paper end error” instead. If MSW 8-8 is off, this error is
handled as an automatically recoverable error.
(* 2) Print head temperature error is not abnormal.
Rev. HTroubleshooting 4-1
4.1.1.2 Recoverable Errors
160 ms
160 ms
When a recoverable error occurs, after the cause of the error is removed, the printer
can recover from the error by receiving an error recovery command without turning off
the power:
ERROR LED Blinking Pattern
ERRORDescription
Paper roll cover open
error (*1)
Autocutter error
(Type A, B only)
Home position
detection error
(This is “Mechanical
error“)
The roll paper cover is
opend when printing.
The autocutter does not
work correctly
The home position cannot
be detected due to a
paper jam
Recovery
Recovers by error recovery
command with the cover
closed
Recovers by error recovery
command. (See “Autocutter
Jam” (page 4-3))
Recovers by error recovery
command
Note:
(*1) These conditions are selected by MSW 8-5 and 8-8. When MSW 8-5 (mapping of the cover open
status) is OFF, the error does not occur and a “paper end error” occurs instead. If MSW 8-8 is ON, this
error is handled as a recoverable error.
4.1.1.3 Errors that are impossible to recover:
ERROR LED Blinking Pattern
ERRORDescription
R/W error in memory
or gate array
High voltage errorThe power supply voltage
After R/W checking, the
printer does not work
correctly.
Writing to, reading out, or
erasing the NV memory for
image scanning results
does not work correctly.
is extremely high
Recovery
Impossible to recover
Impossible to recover
Low voltage errorThe power supply voltage
CPU execution error The CPU executes an
Print head
temperature
detection circuit error
is extremely low
incorrect address or I/F
board is not connected
There is an abnormality in
the print head
temperature
Impossible to recover
Impossible to recover
Impossible to recover
4-2 TroubleshootingRev. H
TM-U220 Technical Reference Guide
Roll paper cover
Tab
lever
2. (only type A) open the unit
1. open the roll paper cover
4.2 Removing a Paper Jam
CAUTION:
Be sure not to touch the manual cutter. Otherwise your finger might be injured.
1. Turn the power off.
2. Open the roll paper cover by using the tab, as shown in the below illustration.
3. If you have a Type A printer, remove the take-up spool and open the unit by using the unit
open lever, as shown in the illustration.
4. Remove the jammed paper.
Note:
When you turn the power off by mistake during the printing operation, the cutter blade may stop in the
paper feed line. So the paper may not be fed in the first operation normally when you turn the power on. If
the phenomenon happens again after removing the jammed paper, try the solution “Autocutter Jam”
(page 4-3).
4.3 Autocutter Jam
If a foreign object such as a push pin or paper clip drops in the autocutter and causes the auto
cutter to lock up, the printer enters an error state and begins the recovery operation
automatically.
If the problem is not serious, the autocutter returns to its normal position without any
intervention by the user.
If the autocutter does not return to its normal position by itself, follow the steps below to fix the
problem:
1. Open the roll paper cover, and remove the jammed object if there is one.
Rev. HTroubleshooting 4-3
2. Turn off the printer, and close the roll paper cover, and turn it back on. Then the cutter blade
Cutter cover
Autocutter unit
Lever
Hole
Knob
returns to the normal position. If you would like not to turn off the printer, send an error
recovery command and initialize printer command instead.
3. If the cutter blade doesn’t return to the normal position, return the cutter blade to the normal
position by rotating the autocutter knob in the direction of the arrow. When it is returned to
the normal position, a lever comes into the center of hole in the autocutter frame.
4.4 Printer Stops Printing / Printer Repeats Printing on a Line
4. Close the roll paper cover.
When you connect the wrong power supply unit, printer will notperform correctly. See below
to determine which power supply unit should be connected to the printer.
TM-U220 Alphanumeric model (Type A,B, D) TM-U220 Multilingual model (Type A,B, D)
AC Adapter,C, AC Adapter,C1, or PS-180 (option)PS-180 or AC Adapter,C1
4-4 TroubleshootingRev. H
TM-U220 Technical Reference Guide
Note:
*Multilingual means the printer model that can print any one of the following: Japanese Kanji, Simplified
Chinese, Traditional Chinese, Thai characters, or Korean characters.
Use the self test to confirm what model of printer you have, and then use the correct power supply. (See
“Self Test Procedure” (page 3-39) for how to run the self test.)
Rev. HTroubleshooting 4-5
SELF-TEST
Resident Character
Alphanumeric
Alphanumeric model
...
Japanese model
...
SELF-TEST
Resident Character
Alphanumeric
Japanese
The following models are called Multilingual
SELF-TEST
Resident Character
Alphanumeric
Thai 3 pass
Thai model
...
...
SELF-TEST
Resident Character
Alphanumeric
Korean
SELF-TEST
Resident Character
Alphanumeric
Traditional Chinese
Simplified Chinese modelTraditional Chinese model
...
...
SELF-TEST
Resident Character
Alphanumeric
Chinese GB18030
Korean model
4-6 TroubleshootingRev. H
Result of SELF-TEST and printer model
TM-U220 Technical Reference Guide
4.5 Printer prints “?“ or Incorrect Data With Serial Interface
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
Note:
For other errors, we recommend confirming the transmission setting of DIP switch 1-3: Handshaking.
4.6 Print Speed is Slow When Using Windows Printer Driver
When the printer prints a Windows font using the EPSON Advanced Printer Driver, the print
speed is slow. To improve the print speed, use a printer font.
4.7 Printer doesn’t cut roll paper with the autocutter
TM-U220 Type D does not have an autocutter unit. If you use the type D model, you can’t use
the autocutter function. Use the manual cutter.
4.8 Hexadecimal Dump mode
This feature allows experienced users to see exactly what data is coming to the printer. This can
be useful in finding software problems. When you turn on the hex dump function, the printer
prints all commands and other data in hexadecimal format, along with a guide section to help
you find specific commands.
To use the hex dump feature, follow these steps:
1. After you make sure the printer is off, open the paper roll cover.
2. While you hold down the FEED button, turn on the printer.
3. Close the cover.
Rev. HTroubleshooting 4-7
4. Run any software program that sends data to the printer. The printer prints “Hexadecimal
Dump” and then all the codes it receives in a two-column format. The first column contains
the hexadecimal codes and the second column gives the ASCII characters that correspond to
the codes. Part of a hexadecimal dump is shown below:
Hexadecimal Dump
To terminate hexadecimal dump,
press FEED button three times.
1B 21 00 1B 26 02 40 40 . ! . . & . @ @
1B 25 01 1B 63 34 00 1B . % . . c 4 . .
41 42 43 44 45 46 47 48 A B C D E F G H
• A period (.) is printed for each code that has no ASCII equivalent.
•In hex dump mode all commands except real time ESC/POS commands are disabled.
5. Open the cover to set the printer offline so that it will print the last line.
6. Close the cover and turn off the printer, press the FEED button three times, or reset the
printer to turn off the hex dump mode.
Note:
The hexadecimal dump mode can’t be used with OPOS or the APD.
4-8 TroubleshootingRev. H
TM-U220 Technical Reference Guide
Chapter 5
Application Development Information
This section contains usable information to develop POS systems that use this printer.
5.1 Various Status Categories
This printer is able to send various status reports to the host PC. This section describes about the
kind of statuses and handling.
Status CategoriesDescription
Drawer kick connector pin
status
Roll Paper cover statusRoll paper cover is open or closed
Paper feeding button statusPaper feed button is pressed or not
Error statusVarious error information (Off-line / On-line), (detail of the error;
It provides status of paper remaining amount (Near-end or Paper
end)
Note
Near-end status (paper remain status) is supported only by printers equipped with a near-end
detector. The near-end detector is a factory option.
This printer has an Automatic status back (ASB) function that automatically transmits changes in
printer status. It is available in any control method (APD, OPOS, ESC/POS command.)
The status format depends on each control method. Refer to each manual for detail.
The statuses are useful for the following situations.
❏ When an error status is sent to the host PC, the host PC can display an error message or
solution message for operator.
❏ When “Paper near end” or “Paper end“ status is sent to the host PC, the host PC can display
a warning message for operator to replace roll paper.
5.1.1 Printer Status on APD
When you use APD to get printer’s status, you have to install “Status API“ and use it. Refer to
“Status API User’s Manual“ and the sample program of Status API for details.
Rev. HApplication Development Information 5-1
5.1.2 OPOS
If OPOSPOSPrinter1.CoverOpen = True Then
MsgBox “Cover is open!”
End If
[Event management]
Private Sub OPOSPOSPrinter1_StatusUpdateEvent(ByVal Data As Long)
If Data = PTR_SUE_COVER_OPEN Then
MsgBox “Cover is open!”
End If
End Sub
Note
This section describes the summary of status handling. Refer to “OPOS ADK Application Development
Guide General Functions” for details.
5.1.2.1 Checking the printer state
The state of the printer can be checked through properties supported by the printer. For
example, if the user wants to check if the printer cover is open, the CoverOpen property can be
used.
This and many other events can also be checked by firing a StatusUpdateEvent.
StatusUpdateEvent can return information on the following items.
STATUS INFORMATION
PTR_SUE_COVER_OPENCover is open.
PTR_SUE_COVER_OKCover is closed.
PTR_SUE_REC_EMPTYReceipt paper is out.
PTR_SUE_REC_NEAREMPTYReceipt paper is near the end. (The near end detector is
factory option. When the printer does not have one, the status
does not occur.)
PTR_SUE_REC_PAPEROKReceipt paper is OK.
PTR_SUE_IDLEPrinter State is idle.
When the FlagWhenIdle property is set to TRUE, PTR_SUE_IDLE is sent to inform the
application that the printer is idle. Other than when data is being sent, the printer is in an idle
state, so if FlagWhenIdle is TRUE, an event will be fired when printing is finished. After the
event is fired, FlagWhenIdle will be set to FALSE. By using this value, the information below can
be found out.
*Finding out when multiple asynchronous print jobs have finished printing. When multiple
asynchronous print jobs have been sent to the printer, it is possible to know when they have
finished printing. After setting the AsyncMode property to TRUE and running the PrintNormal
5-2 Application Development InformationRev. H
TM-U220 Technical Reference Guide
method, change the FlagWhenIdle property to TRUE. When all data has finished printing, the
printer becomes idle and a StatusUpdateEvent is fired to the application with the value of
PTR_SUE_IDLE.
5.1.2.2 Printer Errors and Status
A change in printer status when asynchronous data is being sent is made available to the
program by the firing of an ErrorEvent and StatusUpdateEvent. When the printer changes status
while nothing is happening, the change is told to the program by a StatusUpdateEvent only.
As an example, assume that the printer cover becomes open. Usually, when data is not being
sent to the printer and the cover is opened, a StatusUpdateEvent is fired to the application. After
the AsyncMode property is set to TRUE and a method is used to print data, if the cover is
opened while the data is being sent, the program is notified by an ErrorEvent. ErrorEvents are
fired when the error has interrupted the data that is being sent. Only StatusUpdateEvent will
fire when the error does not effect the data and the data will continue being sent as normal.
Reasons for the ErrorEvent being fired and the corresponding error names are listed below.
ResultCode/ ResultCodeExtended Reason
OPOS_E_ILLEGALThere is an abnormality with the device. (Includes the
following 1 error)
OPOS_E_EXTENDEDError determined by the device’s SO (Includes the
following 4 errors)
OPOS_EPTR_COVER_OPENCover is open.
OPOS_EPTR_REC_EMPTYReceipt paper is empty.
OPOS_E_FAILUREHard error (Includes the following 6 errors).
OPOS_EPTR_UNRECOVERABLEError that cannot be recovered from.
OPOS_EPTR_CUTTERError with the auto cutter.
OPOS_EPTR_MECHANICALMechanical error.
OPOS_EPTR_OVERHEATHead overheat error.
OPOS_EX_DEVBUSYDevice busy error.
OPOS_EPTR_REC_CARTRIDGE_REMOVEDReceipt cartridge is removed.
OPOS_EPTR_REC_CARTRIDGE_EMPTYReceipt cartridge is empty.
OPOS_EPTR_REC_HEAD_CLEANINGReceipt head starts cleaning.
After an error occurs, more detailed information about the error can be obtained from the
ErrorLevel, ErrorStation, and ErrorString properties.
5.1.2.3 ESC/POS commands
When you use ESC/POS commands to control the printer, you can get the status by using
“status command” including Auto Status Back command (ASB.) Please refer to “ESC/POS
APG.”
Rev. HApplication Development Information 5-3
5.2 Cash Drawer Control
'Execute open cash drawer1.
Printer.Font.Name = "control"
Printer.Print "A" ’This”A” means “open the drawer1 with 50msec pulse.“
'call api to open the drawer1
rtn = BiOpenDrawer(m_hApi, EPS_BI_DRAWER_1, EPS_BI_PULSE_100)
’This calling means “open the drawer1 with 100msec pulse.“
Note: Program needs to call “BiOpenMonPrinter“ before calling “BiOpenDraewer.“
5.2.1 Advanced Printer Driver
5.2.1.1 Drawer Open
When you control a drawer which is connected to this printer using APD, you have 2 methods
to open the drawer. The first method is using “Control font,” second is using “Status API.“
Below is as example of a program (Visual Basic) to open a cash drawer using Control font.
Below is as example of a program (Visual Basic) to open a cash drawer using Status API.
5-4 Application Development InformationRev. H
TM-U220 Technical Reference Guide
'get the current printer status
rtn = BiGetStatus(m_hApi, getstatus)
If rtn < 0 Then
ErrMsg (rtn) ’Error handling
Exit Sub
End If
If (getstatus And ASB_DRAWER_KICK) = ASB_DRAWER_KICK Then
You can get drawer status by using Status API. Below is examples of program which checks the
drawer status.
There are the other checking method (Bi BiSetStatusBackFunction, BiSetStatusBackWnd) in
Status API. Refer to the Status API User’s Manual and the sample programs for detail.
5.2.2 OPOS
Programming examples of how to use API function relating to a Cash Drawer are shown below.
5.2.2.1 Drawer Open/Close
Using the OpenDrawer method opens the cash drawer. The DrawerOpened property can be
used to check the current state of the drawer. To pause the program until the drawer is closed,
the WaitForDrawerClose method is used.
Below is as example of a program to open and close a cash drawer.
5.2.2.2 Checking Drawer Status
There are methods other than explained in section 5.2.2.1 that can be used to check drawer
status. A StatusUpdateEvent is fired whenever the drawer is opened or closed.
Rev. HApplication Development Information 5-5
Below are examples of programs that use events to check if the drawer has been opened or
[Main Program]
Global DrawerFlag As Boolean
If Not OPOSCashdrawer1.DrawerOpened Then
DrawerFlag = True
OPOSCashdrawer1.OpenDrawer
While (DrawerFlag = True)
’This part uses timer management to check the status of DrawerFlag.
DoEvents
Wend
End If
[Event Management]
Private Sub OPOSCashdrawer1_StatusUpdateEvent(ByVal As Long)
If Data = False Then
DrawerFlag = False
End If
End Sub
closed.
5.2.3 ESC/POS
When you drive a cash drawer which is connected to this printer, please refer to “FAQ about
ESC/POS command.“ About “FAQ about ESC/POS command,“ please contact your dealer or
EPSON.
5.3 NV memory
This printer has NV memory (Non-volatile). The data of NV memory remains after you turn off
the power. The NV memory is available in two ways.
1. NV Bit-image
Please refer “NV Bit-image Printing” (page 5-8) for detail of the function.
5-6 Application Development InformationRev. H
TM-U220 Technical Reference Guide
2. User NV memory
There is free area in the NV memory that the user can use. You can use this free area for
notations, to write other character information, or for many other purposes. The data
remains after you turn off the power. Use ESC/POS commands to read and write this data.
The following are examples of purposes.
•Date of the printer for maintenance
•ID definition for developer or POS system
Note
When you use User NV memory area by using OPOS or APD, you have to use “Direct I/O method”
or “Control A font.” Please contact EPSON or your dealer for details.
Note the following when writing to and erasing NV memory.
❏ The following restrictions apply when performing NV memory operations (including data
storage and deletion).
•The paper FEED button must not be used to feed paper.
•The real-time command must not be executed.
•The ASB status will not be sent, even when the ASB function is set to enabled.
❏ The printer sometimes enters the Busy state while data is written to NV memory. It is
important not to send data from the host computer while the printer is in the Busy state, as it
will be incapable of processing any received data.
❏ Frequent use of the functions for defining data to and deleting data from NV memory can
damage the memory. As a rule in using the various commands, avoid writing to NV
memory more than a 10 times per day.
Rev. HApplication Development Information 5-7
5.4 NV Bit-image Printing
This printer has “NV Bit-image“ Function. This function provides printing bit-image (e.g. a shop
logo.) This function is available for any control method (APD, OPOS, ESC/POS command.)
EPSON provides a tool, “TMFLogo” that enables registration of a bitmap image in the NV
memory of an EPSON TM series printer. The bitmap image in the NV memory can be printed
with the printer by using each control method.
Printable SizePrinting method
NV
Bit-image
<width>
Less than paper width.
<height>
There is a limitation Height length
= NV memory Size / width length
Note
The available NV memory size for the TM-U220 is 128KB.
Example: The NV memory can store 20 graphics data when the file size of a graphic is 6 KB.
Store
Store bitmap to NVRAM by TMFLogo utility in device specific
settings on the SetupPOS utility. If you store the bitmap in a
NVRAM, it is not necessary to restore unless the NV memory is
deleted.
Print
Depends on each control method.
5.4.1 Advanced Printer Driver
5.4.1.1 How to print “NV Bit-image“
APD prints a stored “NV Bit-image“ by using “Control font.“ See the User’s Manual of
Advanced Printer Driver for detail.
5.4.1.2 Printable bitmap format in APD
The printable bitmap formats are formats that meet all the following condition.
❏ When using “NV Bit-image“
•Depends on the TM Flogo utility. (.BMP format)
5.4.2 OPOS
EPSON OPOS ADK provides a tool, “TMFLogo” that enables registration of a bitmap image in
the NVRAM of an EPSON TM series printer. The tool can be used from the device specific
settings of the SetupPOS utility. The bitmap image in the NVRAM can be printed with a printer
by using the DirectIO method. Concerning the available NVRAM size for the TM-U220, refer to
the ADG for TM-U220 in the OPOS ADK.
5.4.2.1 Printing method
Print stored bitmap by DirectIO method.
•*Command : PTR_DI_PRINT_FLASH_BITMAP
5-8 Application Development InformationRev. H
TM-U220 Technical Reference Guide
The available NVRAM size for the TM-U220 is 128KB.
5.4.2.2 LetterQuality
It is possible to change the speed and quality of a bitmap by using the XXXLetterQuality
property.
RecLetterQuality = TRUE ‘print Receipt’s bitmap in quality mode.
RecLetterQuality = FALSE ‘print Receipt’s bitmap in speed mode.
5.4.2.3 Setting of printing position by escape sequence
POS Printers support escape sequences that can be treated as printing data. The following
commands are the escape sequence command for setting of printing position.
NameDataRemarks
CenterESC |cAAligns following text in the center.
Right justifyESC |rAAligns following text at the right.
NormalESC |NRestores printer characteristics to
normal condition.
Note1: manner of ”ESC |cA” and “ESC |rA”
Characteristics are reset at the end of each print method or by a “Normal” sequence, so these escape
sequences cannot be used in the following manner.
The “123” characters will be printed in the center, but not under “456”. When using a new method to
print characters, it is necessary to add the desired escape sequence again.
Note2 : limitation of ”ESC |cA” and “ESC |rA”
*During rotated printing mode (Left90, right90), these escape sequences will not work.
*These will not work if they are not the first character of a line.
*It is not possible to use these on PrintBitmap method.
5.4.2.4 Printable bitmap format in OPOS
The printable bitmap formats are formats that meet all the following conditions.
❏ BMP files
❏ Monochrome, 16-color (4 bit), 256-color (8 bit)
❏ Uncompressed
5.4.3 ESC/POS command
See “ESC/POS Application Programming Guide“ about the method.
Rev. HApplication Development Information 5-9
5.5 Printing for journal used
ABCDEFG...
1234567890...
ABCDEFG...
1234567890...
Normal printing mode
Right side up printing mode
This printer can print on carbon paper (original + 1 copy.) This is available to use for journal.
When you use this printer “Type A” model, you can take up the copied paper with Auto take-up
unit. If you use this printer “Type B“ model, you can cut each a receipt and the copy at same
time.
A special control isn’t required to use carbon paper; you can treat it as same as normal paper.
However, when you use the Type A model with Auto take-up unit, you have to install carbon
paper with Auto take-up unit. Please refer “Installing the Roll Paper for Type A” (page 3-9).
5.6 What is “Right side up printing“ ?
“Right side up printing“ is a printing mode used for printers installed on a wall.
However, the right side up printing mode has some limitations, some of which are listed below.
If you want to use the right side up mode, please contact us and get the manual “Guide for
TM-U220 right side up printing.“
•The right side up printing mode isn’t supported any driver (OPOS and Advanced
printer driver [APD]) or utility software. You have to control the printer directly by
ESC/POS commands.
•When you install the right side up mode printer into your system (application program),
you may need to modify the program.
•The right side up printing mode requires DIP switch 1-2 (receive buffer: 4KB) to be
turned off.
•The right side up printing mode isn’t provided for the Type A model and multilingual
model.
5-10 Application Development InformationRev. H
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.