❏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® and ESC/POS® are registered trademarks of Seiko Epson Corporation.
Microsoft
®
Windows® and Windows NT® are registered trademarks of Microsoft Corporation.
General Notice: Other product and company names used herein are for identification purposes only and may be
trademarks of their respective companies.
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.
Revision Information
RevisionPageAltered Items and Contents
Rev. Aall pagesNewly authorized
Rev. Ball pagesRevising about the wall hanging unit and miscellaneous.
Rev. C1-6, C-21, C-22Correcting and deleting the notes.
Rev. Dall pages
Add wall hanging unit and miscellaneous.
Rev. Di
Page 4
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.
iiRev. D
Page 5
TM-U220 Technical Reference Guide
Related Software and Documents
Related software and documents
Software/document nameDescription
TM-U220 User’s Manual/This 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
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)
Rev. Diii
Page 6
iv Rev. D
Page 7
TM-U220 Technical Reference Guide
Safety Precautions
EMC and Safety Standards Applied
Product Name: TM-U220A / TM-U220B / TM-U220D
Model Name: M188A / M188B/ M188D
The following standards are applied only to the printers that are so labeled. (EMC is tested using the EPSON’s power
supply.)
Europe:
CE marking
Safety: TÜV (EN 60950)
North America:
EMI: FCC/ICES-003 Class A
Safety: UL60950/CSA C22.2
No. 60950
Japan:
EMI: VCCI Class A
Oceania:
EMC: AS/NZS 3548 Class B
WARNING
The connection of a non-shielded printer interface cable to this printer will invalidate the EMC standards of this
device.
You are cautioned that changes or modifications not expressly approved by Seiko Epson could void your authority to
operate the equipment.
CE Marking
The printer conforms to the following Directives and Norms
M147C is a Class A product. In a domestic environment these products may cause radio interference in which case the
user may be required to take adequate measures.
Rev. Dv
Page 8
FCC Compliance Statement For American Users
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the
equipment is operated in a commercial environment.
This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance
with the instruction manual, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user will be
required to correct the interference at his own expense.
For Canadian Users
This Class A digital apparatus complies with Canadian ICES-003.
GEREÄUSCHPEGEL
Gemäß der Dritten Verordnung zum Gerätesicherheitsgesetz (Maschinenlärminformations- Verordnung-3. GSGV) ist
der arbeitsplatzbezogene Geräusch-Emissionswert kleiner als 70 dB(A) (basierend auf ISO 7779).
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.
viRev. D
Page 9
TM-U220 Technical Reference Guide
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.
Rev. Dvii
Page 10
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 kickout 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. DGeneral Information 1-1
Page 18
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 is not able to use 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. D
Page 19
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
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
power supply.
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-17) for details.
printing “NV bitmap.”
Please contact your dealer to get these.
Note:
When you are using the TM-U220 with the “AC Adapter C“ power unit, which is packed in the carton
box of Alphanumeric model, the DM-D series can’t get power from the TM-U220. If you want to provide
power from the TM-U220 to a DM-D, you have to use “PS-180.“
Rev. DGeneral Information 1-3
Page 20
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 or PS-180 ((option))
Multilingual model: PS-180
Operating:Mean: Alphanumeric model: Approximately 31W
Multilingual* model: Approximately 38W
Standby: Mean: Approximately 2.2W
restrictions; refer to “Environmental Conditions” (page 1-15)
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.
*1 This printer adjusts print speed when it prints graphic data, etc.
1-6 General InformationRev. D
Page 23
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 configuration
Horiz. x
Vert.
7 x 9
(Font B)
(default)
9 x 9
(Font A)
16 x 16
(Kanji
font)
7 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)
Character
dimensions
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
W x H
1.2 x 9.52 half dots42403317.8
Dot spacing
between
characters
(default) *
0 *2522189.5
3 half dots40363016
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)
9 x 27
(Thai
font)
ONThai
OFF
(default)
character
1.6 x 9.52 half dots35322714.5
3 half dots33302513.3
*: The dot spacing between Kanji character is selected by an ESC/POS command.
Rev. DGeneral Information 1-7
Page 24
1.5.1 Autocutter (for Type A / B)
Cutting method: By separated-blade scissors
Cutting type:
See “Select Autocutter action” (page 3-26) for changing cut 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 cutting type (partial cut or full cut) must be selected before the printer is first used. If the cutting type
is changed from partial cut to full cut after the printer has been used, the printer may not be reliable
because the wear-out level of the cutter blade differs.
❏ Partial cut (one point left uncut) (default)
❏ Full cut (completely cut off)
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-8 General InformationRev. D
Page 25
TM-U220 Technical Reference Guide
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-25).
Rev. DGeneral Information 1-9
Page 26
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]
0.5 mm (3" ± 0.02") / 69.5 ± 0.5 mm (2.74" ± 0.02")
Roll paper width:76
±
/ 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:
Carbon 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)
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"},
Safety Standards: Electrical Appliance and Material Control
Law of Japan.
This unit meets EMI and EMC Standards, whether or not it is connected to an EPSON product.
1-14 General InformationRev. D
Page 31
TM-U220 Technical Reference Guide
1.6.2 Reliability
Life:Mechanism: 7,500,000 lines
MTBF:180,000 hours
Failure is defined as a Random Failure occurring at the time
of the Random Failure Period.
MCBF:18,000,000 lines
This is an average failure interval based on failures relating to
Wearout and Random Failures up to the life of 7.5 million
lines.
Print head life:150 million characters (using an average of 2 dots/wire per
character). (The printing pattern is EPSON test pattern).
Autocutter life:800,000 cuts
End of life is defined as the point at which the printer reaches
the beginning of the wearout period.
1.6.3 Environmental Conditions
Temperature:During operation: 0 °C to 50 °C {41°F to 122 °F}.
(At 34 °C {93°F} 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
Rev. DGeneral Information 1-15
Page 32
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.
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.
2
{2 G}
1.6.4 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-out 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) . (The schedule is TBD.)
1-16 General InformationRev. D
Page 33
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. DGeneral Information 1-17
Page 34
1.7.1.2 Overview (Type B)
1-18 General InformationRev. D
Page 35
1.7.1.3 Overview (Type D)
TM-U220 Technical Reference Guide
Rev. DGeneral Information 1-19
Page 36
1-20 General InformationRev. D
Page 37
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:
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. DSystem Planning 2-1
Page 38
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: Epson has confirmed performance with the following:
•Windows 95 English Version Standard OSR2.5
•Windows 98 English Version Second Edition
•Windows NT Ver 4.0 English Version SP5, SP6
•Windows 2000 English Version
•Windows XP English Version
❏Supported Development Languages
•Visual Basic
•VisualC++
2-2 System PlanningRev. D
Page 39
TM-U220 Technical Reference Guide
❏Supported devices
(For detailed information on which devices can be used, see the release note for the driver.)
•EPSON receipt printer
•EPSON customer display
•EPSON cash drawer
Note:
The USB specification printer needs the USB driver and the
setting utility in addition.
For detailed information, please contact your dealer or EPSON.
Ethernet
specification printer needs the IP
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
Rev. DSystem Planning 2-3
Page 40
❏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)
•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. D
Page 41
TM-U220 Technical Reference Guide
2.1.2.3 EPSON OPOS ADK Supported Environment
❏Supported interfaces
• Serial, Parallel, USB, Ethernet
❏Supported Operating Systems: Epson has confirmed performance with the following:
•Windows 95 English Version Standard OSR2.5
•Windows 98 English Version Second Edition
•Windows NT Ver 4.0 English Version SP5, SP6
•Windows 2000 English Version
•Windows XP English Version
❏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
setting utility in addition.
For detailed information, see item 4.1.4 Driver Information and Download Site in this Chapter.
Ethernet
specification printer needs the IP
2.1.4 How to Get a Driver
Please contact EPSON or your dealer about OPOS, APD, and ESC/POS.
Rev. DSystem Planning 2-5
Page 42
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. D
Page 43
TM-U220 Technical Reference Guide
2.3.1 Stand alone
Both TM printer and customer display (DM-D) are connected to the host PC via serial port.
2
1
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
(*) When RTS/CTS control is used between the TM and DM.
XON/XOFF
(except OPOS)
Note:
When you would like to provide power from TM-U220 to a DM-D, you have to use “PS-180.“ The “AC
Adapter C” can’t provide power to a DM-D.
You need to use the UB-S09 interface when you use a modular connector.
DTR/DSR
(DOS, OPOS, Visual C)
RTS/CTS
(DOS, Windows driver, Visual C,
Visual Basic, MSComm)
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. DSystem Planning 2-7
Page 44
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.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.)
2-8 System PlanningRev. D
Page 45
Modular
TM-U220 Technical Reference Guide
(with UB-U02II)
(with UB-U01II)
Self-powered USB HUB
(with UB-U01II)
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.
When you would like to provide power from TM-U220 to a DM-D, you have to use “PS-180.“ The “AC
Adapter C” can’t 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.
2.6 Ethernet connection
Rev. DSystem Planning 2-9
Page 46
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. D
Page 47
Chapter 3
Setup
3.1 Part Name and Basic Operation
3.1.1 Part name
roll paper cover
TM-U220 Technical Reference Guide
unit (Type A only)
ribbon casette cover
manual cutter
power switch
control panel
This figure is Type A.
3.1.1.1 Connectors
WARNING:
Do not connect a telephone line to the drawer kick-out connector or the display module connector;
otherwise the printer and the telephone line may be damaged.
Rev. DSetup 3-1
Page 48
You can connect up to four cables to the printer. They all connect to the connector panel (on the
DK
DC24V
FG
FG
bottom rear of the printer), which is shown below.
interface
connector
drawer kick-out
connector
power supply
connector
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. D
Page 49
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-25) 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-38).)
Note:
The FEED button can be disabled by using an ESC/POS command. Refer to “ESC/POS Application
Programming Guide” for details.
Rev. DSetup 3-3
Page 50
3.2 Setup Flow
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.
1. Printer set up
❏ Install Ribbon Cassette
❏ Install Paper Roll
❏ Connect the Printer to the Power Supply
(See “Printer setup,” page 3-6)
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-
3. Connect the Printer to the host PC/POS terminal
(See “Install a Printer Driver in the Host PC / POS Terminal” (page 3-32))
When you select
Direct control
method (ESC/
POS command,)
you don’t need
to install any
drivers.
4. Driver setup
❏ OPOS
❏ APD
(See “Install a Printer Driver in the Host PC /
POS Terminal,” page 3-32)
5. Complete set up
3-4 SetupRev. D
Page 51
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” on page 2-1 and “Install a Printer Driver in the Host PC / POS Terminal”
(page 3-32).
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-
17) 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-17))
The Memory switches set serial communication conditions,
roll paper width, cover open status handling, etc...
• Paper width (“Adjusting Roll paper width” (page 3-24))
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-25))
• Auto cutter method (“Select Autocutter action” (page 3-26))
The Autocutter setting is selectable “Partial cut“ or “Full cut.“
3.Connect the Pritner to the Host PC/POS Terminal (and Cash Drawer)
(“Connecting the Printer to the Host PC / POS Terminal” (page 3-28))
4.Driver set up (If you use driver)
(“Install a Printer Driver in the Host PC / POS Terminal” (page 3-32))
5.Complete the setup
Rev. DSetup 3-5
Page 52
3.3 Printer setup
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.
Knob
2.Open the ribbon cassette cover of the
printer, using the tabs on each side of
the cover.
Tab
3.Remove the old ribbon, if there is
4.Insert the new ribbon cassette as
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.
one.
shown and push the ribbon cassette
down until it clicks.
Note:
3-6 SetupRev. D
Page 53
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. DSetup 3-7
Page 54
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. D
Page 55
3.3.2.2 Installing the Roll Paper for Type A
Tab
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.
lever
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. DSetup 3-9
Page 56
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. D
Page 57
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. DSetup 3-11
Page 58
Note:
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.
Tab
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. D
Page 59
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 (which is packed with ANK model)
or PS-180 (Which is provided as option)
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" with the multilingual* model. If the “AC adapter, C,”
packed with the alphanumeric model, is connected to the multilingual* model by mistake, the printer
might not operate correctly. For example, printing might stop before all the lines are printed or the printer
might 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.
PS-180 (which is packed with Multilingual model)
WARNING:
Make sure you use the AC Adapter C or EPSON PS-180 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. DSetup 3-13
Page 60
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-38) for details.
3.4 Adjusting Various Settings
This printer is able to be adjusted for the items below:
❏DIP switch (communication condition, busy condition, print column,
receive buffer capacity, etc...)
❏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-38).)
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-38).
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-38.
3-14 SetupRev. D
Page 61
TM-U220 Technical Reference Guide
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.
Look at the numbers and letters in the area
indicated in the illustration.If the last
ON
letters are “STD”, use the “STD” tables.
OFF
ON
CAUTION:
Be sure to put back the DIP switch
OFF
cover before using the printer.
Note:
The functions of the switches are shown in the following sections.
3HandshakingXON/XOFFDTR/DSR3Reserved-Fixed to Off
4Word length7 bits8 bits4Serial interface
5Parity checkYesNo5Reserved-Fixed to Off
6Parity selectionEvenOdd6Reserved-Fixed to Off
7Transmission speed 4800 bps9600 bps7Pin 6 reset signalUsedNot used
8BUSY conditionReceive
40 bytes4 KB2Reserved
buffer full
Receive
buffer full or
Offline
(Auto cutter enable/
disable)
selection
8Pin 25 reset signalUsedNot used
Type A, B
Fixed to On
Memory
switch
Type D
Fixed to Off
DIP switch
Rev. DSetup 3-15
Page 62
Parallel / USB / Ethernet model (Except serial)
(DIP Switch 1)(DIP Switch 2)
SWFunctionOnOffSW FunctionOnOff
1Auto line feedEnabledDisabled1Print column selection42/3540/33
2Receive buffer
capacity
3~7 Reserved-Fixed to Off3~7 Reserved-Fixed to Off
8BUSY conditionReceive
40 bytes4 KB2Reserved
buffer full
Receive
buffer full or
Offline
(Auto cutter enable/
disable)
8Pin 31 reset signalUsedNot used
Type A, B
Fixed to On
Type D
Fixed to Off
Note:
See “Notes for DIP switch 2-1” (page 3-17) 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. D
Page 63
TM-U220 Technical Reference Guide
3.4.2.2 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-19.
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. DSetup 3-17
Page 64
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
recover
Errors that automatically
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-19.
Customize value
FunctionSelectable value
Roll paper width57.5 mm69.5 mm
76 mm (default value)--
3-18 SetupRev. D
Page 65
TM-U220 Technical Reference Guide
Note:
These setting can be set by “Memory switch setup mode.“ See “Memory Switch Setup Mode” on page 3-
19.
See “Adjusting Roll paper width” (page 3-24) 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-
19.
3.4.4 Memory Switch Setup Mode
The following items are specified in the memory switch setup mode:
❏Basic Serial communication condition (Serial communication)
•Transmission speed
•Parity
•Handshaking
•Data length
❏Receive buffer full release condition (Msw 8-7)
❏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.
Rev. DSetup 3-19
Page 66
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-20 SetupRev. D
Page 67
3.4.4.3 Operating procedure
The procedures used for this process are described below.
Entering Memory Switch Setting Mode
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.
Selecting Items to Set
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.
❒ 3 times:Basic Serial Interface Settings
❒ 4 times: Receive buffer full release condition
❒ 7 times: Roll Paper Width
❒ 9 times: Cover open status
TM-U220 Technical Reference Guide
❒ 0, 1, 2, 5, 6, 8 times: Unused
❒ 10 or more times: Unused
Selecting Individual Settings
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.
Basic Serial Interface
Setting
Baud Rate Setup
(page 3-22)
Data Length,
Handshake, or Parity
(page 3-22)
Receive buffer
full release
condition
(page 3-23)
Roll Paper Width
(page 3-23)
Cover open status
(page 3-23)
Ending Memory Switch Setting Mode
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.
Rev. DSetup 3-21
Page 68
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-22 SetupRev. D
Page 69
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
❏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:58.5 mm
4 or more times: No change
Note:
See “Adjusting Roll paper width” (page 3-24) 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
Rev. DSetup 3-23
Page 70
3.4.5 Adjusting Roll paper width
m
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.
leading the wires
between the holder
and frame
Roll paper guide
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.
Roll paper
guide
A
B
position of fixing
the screws (left
side)
C
A: paper width76 mm
B: paper width69.5mm
C:paper width57.5m
position of fixing the
screws (right side)
4.Push the roll paper guide on the appropriate width (See figure above.)
3-24 SetupRev. D
Page 71
TM-U220 Technical Reference Guide
5.Tighten the spacer with two screws included with the guide. (See figure above.)
6.Set the memory switch (customize value) for the paper width. (See “Memory Switches”
(page 3-17))
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.
Knob
Detector
adjustment screw
Detector lever
Seeing at outside for roll paper spacer
#1 setting
#2 setting
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.
Rev. DSetup 3-25
Page 72
3.4.7 Select Autocutter action
The autocutter action on the TM-U220 can be either “partial cut“ or “full cut.“ The procedure to
change from one to the other is described below.
Note:
It is recommended to feed approximately 2.116 mm or more in advance of printing to prevent dot
displacement after cutting.
The cutting type (partial cut or full cut) must be selected before the printer is first used. If the cutting type
is changed from partial cut to full cut after the printer has been used, the printer may not be reliable
because the wear-out level of the cutter blade differs.
1.Make sure the power supply is disconnected.
2.Open the roll paper cover.
3.Push and take out the shaft from the inside of the Frame, and release the three hooks.
Roll paper cover
Frame
Hook
Shaft
3-26 SetupRev. D
Page 73
4.Loosen the screw as indicated in following figure.
w
TM-U220 Technical Reference Guide
Loosen the screw
Emergency cutter
5.Lift the top of the cutter unit upward towards you and remove from the dowel.
Remove the scre
dowel
Cutter unit
Rev. DSetup 3-27
Page 74
6.When you select partial cut (default), you have to adjust the dowel to the right, as shown.
DK
DC24V
FG
FG
When you select full cut, you have to adjust the dowel to left as shown.
Partial cut
Full cut
7.Tighten the two screws.
8.Set again the roll paper cover, and set the shaft which is taken out in step 3.
9.Install roll paper
10. Execute the self test to confirm the cutter action. (See “Self Test Procedure” (page 3-38))
3.4.8 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.
Drawer kick connector
Interface connector
Power supply connector
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.
3-28 SetupRev. D
Page 75
TM-U220 Technical Reference Guide
3.4.8.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.8.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.8.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.
Rev. DSetup 3-29
Page 76
Note:
Hooking the USB cable through the locking wire saddle, as shown in the figure below, will prevent the
cable from coming unplugged.
USB upstream connector
UB-BOARD
Locking wire saddle
USB downstream connector
(Only for the USB HUB: UB-U01)
DM connector
USB cable
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.
3-30 SetupRev. D
Page 77
3.4.8.4 Ethernet interface
The following view shows the part names of the UB-E01.
TM-U220 Technical Reference Guide
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
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-out 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.
Rev. DSetup 3-31
Page 78
3.4.8.5 Connecting a Drawer
DK
DC24V
FG
FG
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 out 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 out connector (labeled “DK”) on the connector
panel.
Drawer kick connector
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.
3-32 SetupRev. D
Page 79
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)
TM-U220 Technical Reference Guide
Is installation completed?
ERROR
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
❏Select the device and I/F setting
For detail refer to
[ User Manual]
❏Device specified setting
•Paper type & size setting
•Bitmap setting
Rev. DSetup 3-33
Page 80
2.2. Device communication test by executing the CheckHealth
ResultCode
SUCCESS
The OPOS and device settings are right.
&
The Install and Setup are completed.
(3. Confirmation by sample program)
ERROR
Confirm the error condition by
referring to the [User's manual]
4. Make a OPOS compliant program
END
1.Installation.
Execute the Setup.exe in DISK1. and continue to installation by wizard.
3-34 SetupRev. D
Page 81
TM-U220 Technical Reference Guide
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.
•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)
Rev. DSetup 3-35
Page 82
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.
1. Install EPSON Advanced Printer Driver
Select the modules needed to install:
TM-U220, Status API (and USB device driver)
What interface model?
When the printer is
USB interface model
2. Install “USB driver”
When the printer is
Serial or Parallel
interface model
4. Set up the printer port
5. Test print
When the printer is
Ethernet model on
Window 98 or 95
3. Install “EPSON
Net Direct print”
3-36 SetupRev. D
Page 83
TM-U220 Technical Reference Guide
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-17) 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.
Rev. DSetup 3-37
Page 84
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
continue the self test.
FEED
button. Press the
FEED
button again to
3-38 SetupRev. D
Page 85
TM-U220 Technical Reference Guide
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
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
ERROR LED Blinking Pattern
160 ms
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. DTroubleshooting 4-1
Page 86
4.1.1.2 Recoverable Errors
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
160 ms
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:
ERRORDescription
R/W error in memory
or gate array
High voltage errorThe power supply voltage
Low voltage errorThe power supply voltage
CPU execution error The CPU executes an
Print head
temperature
detection circuit error
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
is extremely low
incorrect address or I/F
board is not connected
There is an abnormality in
the print head
temperature
ERROR LED Blinking Pattern
160 ms
Recovery
Impossible to recover
Impossible to recover
Impossible to recover
Impossible to recover
Impossible to recover
4-2 TroubleshootingRev. D
Page 87
TM-U220 Technical Reference Guide
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.
Roll paper cover
Tab
lever
1. open the roll paper cover
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).
2. (only type A) open the unit
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. DTroubleshooting 4-3
Page 88
2.Turn off the printer, and close the roll paper cover, and turn it back on. Then the cutter blade
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.
Hole
Cutter cover
Autocutter unit
4.Close the roll paper cover.
Lever
Knob
4.4 Printer Stops Printing / Printer Repeats Printing on a Line
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 (which is packed with ANK model)
or PS-180 (Which is provided as an option)
4-4 TroubleshootingRev. D
PS-180 (which is packed with the Multilingual model)
Page 89
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-38) for how to run the self test.)
Rev. DTroubleshooting 4-5
Page 90
Alphanumeric model
SELF-TEST
Resident Character
Alphanumeric
The following mo de ls are called Multilingual
...
SELF-TEST
...
Resident Charac te r
Alphanumeric
Chinese GB18030
Simplified Chinese modelTraditional Chinese model
SELF-TEST
...
Resident Character
Alphanumeric
Korean
Korean model
SELF-TEST
...
Resident Charac te r
Alphanumeric
Japanese
SELF-TEST
...
Resident Character
Alphanumeric
Traditional Chines e
SELF-TEST
...
Resident Character
Alphanumeric
Thai 3 pass
Thai model
Japanese model
Result of SELF-TEST and printer model
4-6 TroubleshootingRev. D
Page 91
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. DTroubleshooting 4-7
Page 92
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 butto n th ree 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. D
Page 93
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. DApplication Development Information 5-1
Page 94
5.1.2 OPOS
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.
If OPOSPOSPrinter1.CoverOpen = True Then
MsgBox ìCover is open!î
End If
This and many other events can also be checked by firing a StatusUpdateEvent.
[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
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
PTR_SUE_REC_PAPEROKReceipt paper is OK.
PTR_SUE_IDLEPrinter State is idle.
factory option. When the printer does not have one, the status
does not occur.)
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. D
Page 95
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. DApplication Development Information 5-3
Page 96
5.2 Cash Drawer Control
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.
'Execute open cash drawer1.
Printer.Font.Name = "control"
Printer.Print "A" íThisîAî means ìopen the drawer1 with 50msec pulse.ì
Below is as example of a program (Visual Basic) to open a cash drawer using Status API.
'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-4 Application Development InformationRev. D
Page 97
TM-U220 Technical Reference Guide
5.2.1.2 Checking Drawer Status
You can get drawer status by using Status API. Below is examples of program which checks the
drawer status.
'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
MsgBox("Drawer is opened") íPin No.3 is high
Else
MsgBox("Drawer is closed")
End If
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.
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. DApplication Development Information 5-5
Page 98
Below are examples of programs that use events to check if the drawer has been opened or
closed.
[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
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. D
Page 99
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. DApplication Development Information 5-7
Page 100
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
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.
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.
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. D
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.