The words on the left side of this screen are bookmarks for all the
topics in this guide.
Use the scroll bar next to the bookmarks to find any topic you
want. Click a bookmark to instantly jump to its topic. (If you wish,
you can increase the size of the bookmark area by dragging the
dividing bar to the right.)
Use the scroll bar on the right side of this screen to move through
the text.
Use the zoom tools to magnify or reduce the page display.
Click the Find button if you want to search for a particular term.
(However, using the bookmarks is usually quicker.)
Complete online documentation for Acrobat Reader is located in the Help directory for Acrobat Reader.
Return to main menu
TM-U295/U295P
Operator’s Manual
400483605
Printer parts
(1) Upper case
(2) Printer cover
(3) Operation panel
(4) Document table
(5) POWER switch
(6) Interface connector
(7) FG
(8) Drawer kick-out connector
(9) Power connector
(10) DIP switches
(1)
(2)
(5)
(3)
(4)
(10)
(6)
TM-U295
(7) (8) (9)
(10)
(6)
(7) (8) (9)
TM-U295P
All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted in any form or by any means, mechanical,
photocopying, recording, or otherwise, without the prior written permission of Seiko
Epson Corporation. No patent liability is assumed with respect to the use of the
information contained herein. While every precaution has been taken in the
preparation of this book, 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
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.
EPSON and ESC/POS are registered trademarks of Seiko Epson Corporation.
NOTICE: The contents of this manual are subject to change without notice.
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 interf erence 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 instructio n manua l , may cause har mful
interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference, in which ca se t he user will be required to
correct the interference at his own expense.
WARNING
The connection of a non-shielded pri nter interface c able to this p rinter will invalidate
the FCC Verification of this device and may cause interference levels which exceed
the limits established by the FCC for this equipment.
You are cautioned that changes or modifications not expressly approved by the
party responsible for compliance could void your authority to operate the
equipment.
FOR CANADIAN USERS
This Class A digital apparatus meets all requirements of the Canadian InterferenceCausing Equipment Regulations.
Cet appareil numérique de la classe A respecte toutes les exigenves du Règlement
sur le matériel brouileur du Canada.
GEREÄUSCHPEGEL
Gemäß der Dritten Verordrung zum Gerätesicherheitsgecsetz
(Maschinenlärminformations- Verordnung-3. GSGV) ist der arbeitsplatzbezogene
Geräusch-Emissionswert kleiner als 70 dB(A) (ba sierend auf ISO 7779).
ii
DECLARATION of CONFORMITY for CE MARKING
Product Name:Printer
Type Name: M66SA
The printer conforms to the following Directives and Norms
Directive 89/336/EEC
EN 55022 (1986 and 1994) class B
EN 50082-1 (1992)
IEC 801-2 (1991)
IEC 801-3 (1984)
IEC 801-4 (1991)
Directive 90/384/EEC
EN45501: (1992)
iii
DECLARATION of CONFORMITY for CE MARKING
Product Name:Printer
Type Name: M117A
The printer conforms to the following Directives and Norms
Directive 89/336/EEC
EN 55022 (1986 and 1994) class B
EN 50082-1 (1992)
IEC 801-2 (1991)
IEC 801-3 (1984)
IEC 801-4 (1991)
Directive 90/384/EEC
EN45501: (1992)
iv
Introduction
The TM-U295 and TM-U295P are terminal slip printers w hi ch us e a 7-pin s huttl e dot
printing method, and provide the different modes, standard and page*.
The main features of the TM-U295 and TM-U295P printers are the following:
❏Programmable page length
❏Programmable print starting position
❏Multiple character sizes (standard, double-width, double-height, and
quadruple)
❏Character directions: 4
❏International character set selection
❏Forward and backward paper feeding
❏Command protocol based on ESC/POS
❏Programmable paper feed amount
❏Paper eject function
❏Top Of Form (TOF) and Bottom Of Form (BOF) sensors
❏Data reception during printing (improved throughput and less waiting time for
the host computer)
®
, a widely used standard
❏512 byte printer buffer memory
❏Compact, space efficient design
❏Drawer kick-out function
❏Automatic Status Back (ASB) function to automatically send printer status
changes.
*In page mode, the print data for each page is stored in a specified printing
area in memory. After all the data for a page has been stored, it is printed.
❏Bidirectional parallel interface in accordance with the IEEE 1284 Nibble/Byte
Modes
Please be sure to read the instructions in this manual carefully before using your new
EPSON printer.
v
About This Manual
Setting Up and Using
❏Chapter 1 contains inform at ion on setti n g the prin ter up and set tin g the DIP
switches.
❏Chapter 2 contains informati on on using the printer.
❏Chapter 3 conta i ns troubleshooti ng i nformation.
Reference
Chapter 4 contains specifications
❏
Notes, Cautions, and Warnings
Note:
Notes have important information and useful tips on the operation of your printer.
CAUTION:
Cautions must be observed to avoid minor injury to yourself or
damage to your equipment.
WARNING:
Warnings must be followed carefully to avoid serious bodily
injury.
When you unpack the TM-U295 or TM-U295P printer, make sure
you have these items.
If any item is missing or damage d, p lease cont act your dealer for
assistance.
Damper
Hexagonal lock screws (2 pcs)
(only for the TM-U295)
Note:
See the Note on page 1-3 for information about the screws.
Ribbon cassette
Installation 1-1
Removing the Transportation Damper
The printer i s protected d uring shipping by a transportation
damper that must be removed before you turn on th e pri nter.
1.Pull the damper out and remove the strip of tape from the top
of the printer, as shown below.
Note:
If you ever ship or store your printer, prepare it by performing these
steps: turn on the printer, press the RELEASE button, press the FORWARD button, turn off the printer, and put the transportation
damper back where it was when you received the printer.
Connecting the Printer to the Computer
You need an appropriate interface cable to connect your computer
to the printe r.
1-2 Installation
TM-U295
You need an a ppropriate serial inte rface cable to connect yo ur
computer to the printer.
1.Make sure that the printer and the computer are turned off.
Then plug the cable into the connector on the back of the
printer, as shown.
Note:
Your printer comes with inch-type hexagonal lock screws installed.
If you plan to use an interface cable that requires millimeter-type
lock screws, replace the inch-type screws with the enclosed
millimeter-type screws by using a hex screwdriver (5 mm). To
distinguish the two types of screws, see the illustration below; the
screw on the right is the millimeter type.
TM-T85 / U/G / fig.2-0795/03/06
Notch (one or more lines)
Crestec
Installation 1-3
2.Connect the other end of the ca ble to the co nnector on your
computer.
TM-U295P
You need an appropriate parallel interface cable to connect your
computer to the printer.
1.Make sure that the printer and the computer are turned off.
Then plug the cable into the connector on the back of the
printer, as shown.
Note:
Squeeze the wire clips on the printer together until they lock in place
on both sides of the connector.
2.Connect the other end of the ca ble to the co nnector on your
computer.
1-4 Installation
Connecting the Printer to the Drawer
Plug the drawer cable into the drawer kick-out connector on the
back of th e p rinter next to the computer interface con ne ctor.
TM-U295
TM-U295P
CAUTION:
Do not connect a telephone line to the drawer kick out
connector.
Installation 1-5
Den Drucker an die Lade anschließen
Das Kabel der Lade an die Schnappsteckerbuchse (neben der
Schnittstellenbuchse) an der Hinterseite des Druckers anschließen.
TM-U295
TM-U295P
CAUTION:
Kein Telefonkabel an die Schnappsteckerbuchse
anschließen.
1-6 Installation
Grounding the Printer
You need an appropriate ground wire to ground your printer.
Recommended wire is described below.
Thickness of wire:AWG 18 or equivalent
Diameter of terminal to be attached: 3.2
1.Make sure that the printer is turned off.
2.Connect the ground wire to the printer using the FG scre w on
the back of the printer, as shown.
TM-U295
TM-U295P
Installation 1-7
Connecting the Power Supply
This printer requires an external power supply. The EPSON Power
Supply PS-150 is recommended.
CAUTION:
Using an incorrect power supply can cause serious damage
to the printer.
1.Make sure that the powe r supply is turned off.
2.Plug the power suppl y’s cable into the printer’s connector as
shown b e lo w. Note that the flat side of the connector faces up.
TM-U295
TM-U295P
1-8 Installation
3.Plug the power cord into an outlet.
Installing the Ribbon
Be sure to use a ribbon cassette that meets the printer’s
specifications. The EPSON ERC-27 is recommended.
Note:
For instructions on replacing a used ribbon, see Chapter 2.
1.Turn the printer on using the power switch on its left side.
2.Press the RELEASE button to turn the light on. This puts the
printer in the paper release mo de.
3.Turn the printer off.
Installation 1-9
CAUTION:
Be sure to perform the steps above because it is necessary to
make sure that the printer is in the paper release mode
before you install the ribbon cassette.
4.Open the printer cover by slightly pressing the ridges on the
top left and pulling the co ver forward , as shown in the
illustration below.
5.Check to see that the ribbon in the cassette is not creased or
twisted. Then turn the feed kno b in the direc tion of the a rrow
on the ribbo n cassette to take up a ny slack in the ribbon.
1-10 Installation
6.Careful ly insert the ribbon cassette in the printer as shown in
the illustration be low. Notice exa ctly wher e the ribb on must go.
7.Then push firmly on the right side and then the left side of the
ribbon cartridge until each side clicks int o place.
Installation 1-11
8.To put the cover back on the printer, first a lign the left and
insert the tab on the top; then press the bottom unti l it clicks
into place, as shown below.
Inserting Paper
Note:
Do not use wrinkled or curled paper. For full information and
specifications on the paper you can use, see Chapter 4.
To insert paper, follow these steps:
1.Make sure that a ribbon cassette is install e d in the prin ter.
2.Turn on the printer . The POWER light comes on.
3.Press the RELEASE button. The RELEASE light comes on, which
indicates that the printer is in the pa pe r release mo de. In this
mode, the printer can accept paper and paper can be removed
from it.
1-12 Installation
4.Insert the paper f rom eithe r the front or the sid e, as shown in
the illustration below. Insert the paper into the printer until it is
stopped by the form stopper. The markings on the side of the
printer can also be used to judge how far to insert paper.
5.Check the PAPER OUT light. When you insert the paper
correctly, the PAPER OUT light goes out. If the PAPER OUT light
is still on, remove the paper and re-insert it.
Running the Self Test
Any time that you want to check the performance of your printer
you ca n ru n t he s e lf test described below. Th i s sh o w s w het h e r yo ur
printer is working correctly. It is independent of any other
equipment or software.
The self te st checks the control circuits, printer mecha nisms, pr int
quality, RAM, ROM version, and DIP switch settings.
To perfor m the self test, follow the steps be low:
1.Insert a sheet of paper following the instructions on page 1-12.
2.Turn off the printer.
Installation 1-13
3.While holding down the RELEASE button, turn the printer back
on.
4.Remove your finger from the RELEASE button. The printer
prints the current printer settings and then eject th e paper.
5.Press the RELEASE button to eject the pa per completely and
insert new paper to begin the se cond part o f the test.
After the p rinter prints a pattern, it prints the following message:
***completed***
The printer e je cts the paper; then ente rs the normal mode.
Setting the DIP Switches
You can cha nge several interfa ce settings by changing the DIP
switch settings. If you need to c ha nge any of thes e settings, follow
the steps below:
1.Make sure that the printer is off.
1-14 Installation
2.Turn the printer over and lo cate the DIP switches, as sho wn
below.
3.Notice that ON is marked on the set of switches. Use tweezers
or another narrow tool to move the switches.
4.Use the following tabl es to set the DI P switches .
Installation 1-15
TM-U295
SwitchFunctionONOFF
1Data reception errorIgnoredPrints”?”
2Receive buffer capacity35 bytes512 bytes
3HandshakingXON/XOFFDTR/DSR
4Word length7 bits8 bits
5Parity checkYesNo
6Parity selectionEvenOdd
7
8
9Pin 6 reset signalUsedNot used
10Pin 25 reset signalUsed Not used
Transmission Speeds
Speed in Bits per SecondSW 7SW 8
1200ONON
2400OFFON
4800ONOFF
9600OFFOFF
See Transmission Speeds table below.
1-16 Installation
TM-U295P
SwitchFunctionONOFF
1Auto-line feed
2Receive buffer capacity35 bytes512 bytes
3Undefined
4Undefined
5Undefined
6Undefined
7Undefined
8Undefined
9Undefined
10
Note:
If you change any DIP switch settings while the printer is turned
on, the new settings will not take effect until you turn the printer off
and back on or reset it.
Reserved. Setting must
not be changed
Normally
enabled
Normally
disabled
Installation 1-17
Chapter 2
Using the Printer
The contro l panel has three buttons and three lights.
Buttons
All three of these buttons can be disable d or enabled by the ESC c 5
command.
RELEASE
Pressing thi s button mo ve s the roll e r s so t hat pape r c a n b e inserted
or removed.
REVERSE
Feeds the paper backward based on the line feed amount set by
ESC 2 and ESC 3.
FORWARD
Feeds the paper forward based on the line feed amount set by
ESC 2 and ESC 3.
You can also us e the
See Chapter 1 for details.
RELEASE
button to start a self test.
Indicator Lights
POWER
This light is on whenever power is supplied to the printer.
Using the Printer 2-1
RELEASE
This light is on when the printer is in the pa per release mode and it
is off when the printer is i n the clamp mode. Paper can be inse rted
only when the printer is in the paper release mode.
This light blinks to indicate an error condition in the following
cases:
❏Paper jam
❏Home position error
❏Timing error
❏Drive circuit error
❏Power suppl y voltage erro r
If this light blinks, turn of f the printer, make sure that no paper is
jammed in it, and then turn it back on. If the light is still blinking,
contact a qualified service person.
PAPER OUT
This light is on when paper is not inserted or is not inserted
correctly.
Replacing a Used Ribbon
When your printing is no t dark enough, it is time to replace the
ribbon.
First follow steps 1 through 4 in the “Installing the Ribbon” in
Chapter 1.
2-2 Using the Printer
Then remove the used ribbon by grasping the handle and pulling
straight out, as shown by the arrow in the illustration below.
Then follow the rest of the steps in “Installing the Ribbon” in
Chapter 1.
Using the Printer 2-3
Chapter 3
Troubleshooting
This chapter gives the solutions to some pri nter prob lems.
Power problems
The POWER light does not come on.
Make sure that the power supply cables are correctly plugged into
the printer, the power unit, and to the power outlet.
Make sure that power i s supplied to the power outlet. If the outlet
is controlled by a switch or timer, use another outlet.
Printing problems
The PAPER OUT light is on and nothing is printed.
If the PAPER OUT light is on, th e paper is not inserted or is not
inserte d correctly.
The RELEASE light is flashing and nothing is printed.
This indicates an error condition. Turn off the printer, make sure
that no paper is jammed in it, and then turn it back on. If the
RELEASE light is still flashing, contact a qualified service person.
Troubleshooting 3-1
Chapter 4
Reference Information
Printing Specifications
Printing Method:Impact dot matr ix
Head Wires7-pin shuttl e type
Printing Direction:Unidirectional
Lines per second5 x 7 font: 1.9 to 2.3
7 x 7 font: 1.9 to 2.3
Characters per line5 x 7 font: 35
7 x 7 font : 42
Characters per inch:5 x 7 font: ANK: 0.63
Graphics: 0.315
7 x 7 font: ANK: 0.63
Graphics: 0.315
Paper feed speed:Approximately 12.5 lines (52.5 mm
(2.10”))/second
(When the ESC d and FF commands are
used.)
Character Specifications
Number of
characters
Alphanumeric characters: 95
Extended graphics: 128 x 3
International ch aracters: 3 2
Reference Information 4-1
Character structure:5 x 7 with 1-dot spacing (normal dot)
7 x 7 with 3-dot spacing (half dot)
Character size:5 x 7 font:
ANK: 1.6 mm (.063”) x 2.9 mm (.114”)
Graphics: 1.9 mm (.075”) x 2.9 mm
(.114”)
7 x 7 font:
ANK: 1.3 mm (.051”) x 2.9 mm (.114”)
Graphics: 1.6 mm (.063”) x 2.9 mm
(.114”)
4-2 Reference Information
Paper Specifications
Paper type: Normal (high quality), pressure
sensitive, and carbon copy papers
Total thickness: Single-play paper: 0.09 to 0.25 mm
(.0035 to .0098”)
Copy paper: 0.09 to 0.35 mm (.0035
to .0138”)
Paper size:80 mm (W) × 69 mm (L) to 182 mm
(W) × 257 mm (L) (3.15” × 2.72” to
7.17” × 10.12”) Up to the European
B5 size .
Copy capability and
paper thickness:
No copies
(singleply):
Combination of
normal
paper and
pressure
sensitive
paper:
0.09 to 0.25 mm
(.0035 to .0098”)
(135 kg paper or
equivalent)
3 sheets
maximum (1
original and 2
copies) (0.09 to
0.35 mm (.0035 to
.0138”))
Backing paper:
0.07 to 0.20 mm
(.0028 to .0079”)
Copy and original
paper:
0.04 to 0.07 mm
(.0016 to .0028”)
Carbon copy
paper:
Approximately
0.035 mm (.0014”)
Reference Information 4-3
Copy capability and
ambient
temperature for
printing:
Copying capability is i nfl uenc ed by
the ambient temperature. Printing
must be performed under the
conditions, described in a Table
below:
Relationship between ambient temperature and
number of copies
Number of copiesAmbient temperature (print mode)
Original + 1 to 2 copies5° to 40°C (41° to 104°F)
Notes on slip paper
❏Slip paper should be flat, without curls, wrinkles, or camber,
especially at the paper edges. Otherwise, the paper may
become ink stained.
❏When usin g multiply-ply c arbo n copy paper, it shoul d be flat
and the glue area should be as small as possible.
❏Glue area should be located at the top or left edge of the slip
paper.
❏Since TOF and BOF sensors are optical sensors, paper having
holes at the sensor p osi ti ons or tr anslu cent paper sh ould n ot be
used normallly. When using these papers, be sure to disable the
paper sensors by ESC c 4.
❏When using slip paper of 80 mm (3.15”) long or less, load the
paper so that it is fed straight.
❏Use thinner pa pe r (N30 or equ ivalent) betwe en the top an d
bottom sh e ets of multi-ply paper. I f thick paper i s used, the
copy capability is lowered.
4-4 Reference Information
Printing position
Adjustable
Reverse paper feed
Forward paper feed
Paper feed roller
NOTE 1. Mechanical form stopper
NOTE 2. TOF sensor (fixed)
Printing position at minimum top margin
65.84 (2.59")
First printing position
Last printing position
NOTE 2. BOF sensor (fixed)
12.5 (.49")
2.3 (.09")
5 (.20")
NOTE 4. 13.8 (.54")
12.5 (.49")
Notes
1.The mechanical form stopper is adjustable in the range 26.5 to
36.5 mm (1.04 to 1.44”).
2.The TOF and BOF sensors are fixed and cannot be adjusted.
10 (.39")26.5 (1.04")
NOTE 3. 5.3 (.21")
27.3 (1.07")
NOTE 5. 15.5 (.61")
3.After sli p paper is set at the mechanical fo rm stopper, the top
margin can be shortened up to 21.2 mm (.83”) by feeding the
paper backwards (ejection feeding).
4.When ejec tion feeding is not pe rformed aft e r printing, printing
can be performed up to the positio n a t which the paper edge is
no longer held by the paper f eed r oller (13.8 mm (.54”) f r om th e
paper edge).
5.When ejection feedi ng is performed after printing, the paper
can be fed forward up to 11.8 mm (.46”) (28 dots) after the
bottom edg e is detected.
Reference Information 4-5
Electrical Specifications
Supply voltage: +24 VDC ± 10%
Current consumption:Operating
(except for
drawer kick out):
Mean - approx.
600 mA at 24
VDC (full-colu mn
printing and data
transmission of
ANK characters)
Peak - approx.
5.5 A at 24 VDC
(full-column
printing and data
transmission of
ANK characters)
Standby: approx.
100 mA (at 24
VDC, 25°C (77°F)
4-6 Reference Information
EMI and Safety Standards
EMI standards
(measured when
using the printer with
the Epson PS-150):
Safety standards: UL1950-2TH-D3 (Recognized
FCC:Class A
CE marking:
component)
CSA950-D3 (Recognized component)
EN60950 (IEC950 2TH)
Reliability
Life:3,000,000 lines
❑ End of Life is defined as the point
at which th e printer reaches the
beginning of the Wearout Period.
MTBF:180,000 hours
❑ Failure is defined as Random
Failur e occurring at the time of the
Random Fa ilure Peri od.
MCBF:7,000,000 lines
❑ This is an average failure interval
based on failur es relating to
wearout and random failur es u p to
the life of 3 million lines.
The interface is a factory installed option. One of the interfaces
(serial or parallel) is already installed.
Note:
Refer to the EPSON TM-U295/U295P Specification for details.
4-8 Reference Information
Chapter 5
Commands
Command Notation
[Name]The name of the command.
[Format]The code sequence.
ASCII indicates the ASCII equivalents.
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
[ ]k indicates the contents of the [ ] should be repeated k times.
[Range]Gives the allowable ranges for the arguments.
[Description] Describes the function of the command.
[Notes]Provides impo rtant information on setting and usi ng the printer
[Default]Gives the default values, if any, for the command parameters.
[Reference]Lists related commands.
[Example]Provides examples using the command.
The numbers denoted by < >H are hexadecimal.
The numbers denoted by < >B are binary.
The numbers denoted by < > are decimal.
command, if necessary.
NOTE:The phrase "beginning of a line" in command descriptions assumes
that the following co ndition has been me t:
• Print data, including spaces skipped by HT, is not in the current
print buffer.
Commands 5-1
Control Commands
HT
[Name]Horizontal tab
[Format]ASCIIHT
Hex09
Decimal9
[Description] Moves the print position to the next horizontal tab position.
[Notes]• Horizontal tab positions are set with
[Reference]
• Ignored unless the next horizontal tab position has been set.
• The default tab positions are at intervals of 8 characters in the
5 x 7 font 9th column, 17th column, 25th column,. . . ).
ESC D
LF
[Name]Print and line feed
[Format]ASCIILF
Hex0A
Decimal10
[Description] Prints the data in the print buffer and feeds one line based on the
current line spacing.
[Note]This command sets the print position to the beginning of the line.
[Reference]
ESC 2, ESC 3
FF
ESC D
.
[Name]➀Print and eject sheet (in standard mode)
➁Print and return to standard mode (in page mode)
[Format]ASCIIFF
Hex0C
Decimal12
This command functions differently depending on the printer mode selected.
➀When standard mode is selected:
[Description] Prints the data in print buffer and ejects the sheet.
[Notes]• When the eject length has been set by
[Reference]
➁When page mode is selected:
sheet based on the current eject length. Otherwise, the printer
ejects the sheet completely. If a paper out is detected during
ejection, the printer stops ejecting the sheet even if the specified
amount of paper has not been ejected.
• The ejecting direction is specified by
ESC F, ESC C
, the printer ejects the
ESC C
.
ESC F
5-2 Commands
[Description] Prints the data in the print buffer and returns to standard mode.
[Notes]• The buffer data is deleted after being printed.
• The printer does not execute paper ejection.
• This command sets the print position to the beginning of the line.
[Reference]ESC L
CR
[Name]Print and carriage return
[Format]ASCIICR
Hex0D
Decimal13
[Description] Wh en auto-line feed is enabled, this command functions in the same
[Notes]• This command sets the print position to the beginning of the line.
way as LF. W hen auto-line feed is disable d, this command is ignor ed.
• This command is available only with a parallel interface and is
ignored with a serial interface.
DLE EOT
[Name]Real-time status transmission
[Format]ASCIIDLEEOT
[Range]1≤ n ≤ 3, n = 5
[Description] Tra nsmits the selected printer status specified by n in real time,
[Notes]• The printer executes this command upon receiving it.
n
n
Hex1004
Decimal164
according to the following parameters:
n
= 1: Transmit printer status
n
= 2: Transmit o ff-line status
n
= 3: Transmit error status
n
= 5: Transmit slip paper status
• When transmitting status, the printer transmits only 1 byte
without co nfirming the condition of the DSR signal.
• With the serial interface model, this command is executed even in
off-line or receive buffer-full state. However, with the parallel
interface model, this command is not executed in off-line or
receive buffer-full state because the printer is busy and unable to
receive this command from the host.
• The status is transmitted whenever the data sequence of
<10>H<04>H<n> (1 ≤ n ≤ 3, n = 5) is received even if it appears as
part of another command. For example,
In ESC ✻
d3=<1>H
m n L n
H [d] n L+256
n
n
H, d1=<10>H, d2=<04>H,
✕
n
Commands 5-3
• This command should not be used within the data sequence of
another command that consists of 2 or more bytes. For example,
If you attempt to transmit ESC 3 n to the printer, but DTR (DSR
for the host computer) goes to MARK before n is transmitted
and then DLE EOT 3 interrupts before n is received, the code
<10>H for DLE EOT 3 is processed as the code for ESC 3
<10>H.
• When Auto Status Back (ASB) is enabled using the GS a
command, the stat us tran s mit te d by the DLE EOT command and
the ASB status must be differentiated.
•If the n is out of the specified range, the printer ignores this
command.
n
= 1: Printer status
Bit Off/On Hex Decimal Function
0Off000Not used. Fixed to Off.
1 On022Not used. Fixed to On.
Off000Drawer kick-out signal is LOW (connector pin 3)
2
On044Drawer kick-out signal is HIGH (connector pin 3)
Off000On-line.
3
On088Off-line.
4 On1016Not used. Fixed to On.
Off000Undefined.
5
On2032Undefined.
Off000Undefined.
6
On4064Undefined.
7 Off000Not used. Fixed to Off.
n
= 2: Off-line status
Bit Off/OnHexDecimalFunction
0Off 00 0Not used. Fixed to Off.
1On 02 2Not used. Fixed to On.
Off000Undefined.
2
On04 4Undefined.
5-4 Commands
Bit Off/OnHexDecimalFunction
Off000
3
On088Paper is being fed by the paper feed button.
4On1016Not used. Fixed to On.
Off 00 0No paper-end stop.
5
On2032Printing stops due to paper end.
Off00 0No error.
6
On40 64Error occurs.
7Off000Not used. Fixed to Off.
Paper is not being fed by using the paper feed
button.
Bit 5:On (printing stops due to paper-end) indicates printing stops as a
result of the paper state and TOF or BOF sensor selected by ESC c 4.
n
= 3: Error status
Bit Off/On Hex Decimal Function
0Off000Not used. Fixed to Off.
1On022Not used.Fixed to On.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On 088Undefined.
4On 1016Not used. Fixed to On.
Off 000No unrecoverable error.
5
On2032Unrecoverable error occurred.
Off000Undefined.
6
On4064Undefined.
7Off000Not used. Fixed to Off.
Commands 5-5
n = 5: Sl i p paper status
Bit Off/OnHex DecimalFunction
0Off000Not used. Fixed to Off.
1On022Not used. Fixed to Off.
2Off000Slip paper selected.
Off000Does not wait for slip paper insertion.
3
On088Waits for slip paper insertion.
4On1016Not used. Fixed to On.
Off000Slip is detected by the BOF sensor.
5
On 2032Slip is not detected by the BOF sensor.
Off000Slip is not detected by the TOF sensor.
6
On4064Slip is detected by the TOF sensor.
7Off000Not used. Fixed to Off.
Bit 3: Be comes Off (not wait i ng) just bef o re actual sl ip sele ction takes place
after slip paper is detected
Bit 5 and 6:Transmits the current status of the TOF and BOF sensors.
[Reference]ESC u, ESC v, GS a
CAN
[Name]Cancel print data in page mode
[Format]ASCIICAN
Hex18
Decimal24
[Description] In page mode, deletes all the print data in the current printable area.
[Notes]• This command is enabled only in page mode.
[Reference]ESC W
ESC SP
[Name]Set right-side character spacing
[Format]ASCIIESCSP
[Range]0 ≤ n ≤ 32
• If data that existed in the previously specified printable area also
exists in the currently specified printable area, it is deleted.
n
n
Hex1B20
Decimal2732
n
n
5-6 Commands
[Description] Sets the character spacing for the right side of the character.
[Notes]• The right-side character spacing for double-width mode is twice
the normal value.
• The ch aracter spa cing is se t in increment of half dot .
• In page mode, the actual dot positions shift by half dot.
• This command sets values independently in standard mode and
in page mode.
[Default]n = 0
n
ESC !
[Name]Select print mode(s)
[Format]ASCIIESC!
Hex1B21
Decimal2733
n
n
n
[Range]0 ≤ n ≤ 255
[Description] Selects print mode(s) using n as follows:
Bit Off/On Hex DecimalFunction
Off 000Character font 5
0
On 011Character font 7
Off000Undefined.
1
On022Undefined.
Off000Undefined
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
Off000Double-height mode not selected.
4
On1016Double-height mode selected.
Off000Double-width mode not selected.
5
On2032Double-width mode selected.
Off000Undefined.
6
On4064Undefined.
Off000Underline mode not selected.
7
On80128Underline mode selected.
✕ 7 selected.
✕ 7 selected.
Commands 5-7
[Notes]• The printer can underline all characters (including the right-side
character spacing), but cannot underline the space set by an HT.
• When both double-height and double-width modes are selected,
quadruple size characters are printed.
• Only setting of underline mode specification have effect in page
mode.
• Only setting of 7 × 7 font specification have effect in page mode.
[Default]
n
= 0
ESC %
[Name]Select/cancel user-defined character set
[Format]ASCIIESC%
[Range]0 ≤ n ≤ 255
[Description] Selects or cancels the user-defined character set.
[Notes]• When the user-defined character set is cancelled, the internal
y c1 c2 [x [d] y
y c1 c2 [x [d] y
y c1 c2 [x [d] y
x] c2
✕
- c1 + 1
x] c2
✕
- c1 + 1
x] c2
✕
- c1 + 1
Hex1B25
Decimal2737
When the Least Significant Bit (LSB) is 0, the user-defined character
set is c ancelled.
When the LSB is 1, the user-defined character set is selected.
character set is auto matically selecte d.
n
= 0
]
y c1 c2 [X [d] y
Hex1B26
Decimal2738
y
= 1
32 ≤ c1 ≤
0 ≤ x ≤ 6 (5
0 ≤ x ≤ 10 (7
0 ≤
•The y specifies the number of bytes in the vertical direction.
•
• The allowab le ch ar ac ter co de r an ge is from decimal code 32 to 126.
•x specifies the number of dots in the horizontal direction.
c2
d1 ... dy
c1
specifies the beginning character code for the definition, and c2
specifies the final code. When only one character is desired, use
= c2.
x
✕
≤ 126
✕ 7 font)
✕ 7 font)
x
✕
≤ 255
c2-c1
c1
5-8 Commands
•d is the dot data for the characters. The dot pattern is in the
horizontal direction from the left side. Any remaining dots on
right side are blank.
• The data to define a user-defined character is (y × x) bytes.
• Set a corresponding bit to 1 to print a dot or to 0 to not print a dot.
• It is possible to define multiple characters for consecutive
character codes.
[Notes]• After user-defined characters are defined, they are available until
another definition is made; ESC @ is executed; the printer is reset;
or the power is turned off.
• If the values of y, c1, c2, or x are out of the specified range, the
printer ignores the command and processes the following data as
normal data.
•In 7 × 7 font, horizontally adjacent dots cannot be printed. Define
the character so that it does not include horizontally adjacent dots.
[Default]The internal character set
[Reference]ESC %
[Example]
•5 × 7 font when the dot pattern for code 32 (20H) is defined as shown below:
p1 p2 p3 p4 p5 p6
MSB
LSB
ASCII code ESC &
Hex code 1B 26 01 20 20 05 3E 48 88 48 3E
y c1 c2 x p1 p2 p3 p4 p5
Commands 5-9
•7 × 7 font when the dot pattern for code 32 (20H) is defined as shown below:
p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
MSB
LSB
ASCII code ESC &
y c1 c2 x p1 p2 p3 p4 p5 p6 p7
Hex code 1B 25 01 20 20 07 1E 20 48 80 48 20 1E
5-10 Commands
ESC ✽
[Name]Select bit-image mode
[Format]ASCIIE SC
[Range]
[Description] Selects a bit-image mode using m for the number of dots specified by
m
08-dot single-density860 DPI80 DPI210
18-dot double-density860 DPI160 DPI 420
[Notes]• The nL and nH indicate the number of dots of the bit image in the
m nL n H [d]k
Hex1B2A
Decimal2742
m
= 0, 1
0 ≤ nL ≤ 255
0 ≤ nH ≤ 3
0 ≤ d ≤ 255
k
= nL + nH x 255
nL
and nH, as follows:
Mode
The number of dots in the horizontal direction depends on the
printi ng area and the p r in ti ng direction s p e ci fied by
.
T
horizontal direction. The number of dots is calculated by nL +
✕
• If the bit-image data input exceeds the number of dots to be
printed on a line, the excess data is ignored.
•d indicates the bit-image data. Se t a corresponding bit to 1 to print
a dot or to 0 to not print a dot.
• If the values of m and nH are out of the specified range, the
following data is proce ssed as nor mal data.
• After printing a bit image, the printer returns to normal data
processing mode.
• In page mode, double density bit image data is not available.
• The relationship between the image data and the dots to be
printed is shown on the next page.
256.
✽
Vertical directionHorizontal direction
The number
of dots
nL nH [d]k
nL nH [d]k
nL nH [d]k
Dot
density
Dot
density
Maximum
number of dots
and
ESC W
ESC
nH
Commands 5-11
• The relationship between the image data and the dots to be printed is as follows:
0
12
3
Print data
Top
Bottom
Bit image data
4
5
6
7
ESC 2
[Name]Select 1/6-inch line spacing
[Format]ASCIIESC2
Hex1B32
Decimal2750
[Description] Selects 1/6-inch line spacing.
[Note]The line spacing can be set independently in standard mode and in
page mode.
[Reference]
ESC 3
ESC 3
[Name]Set line spacing
[Format]ASCIIESC3
[Range]0 ≤ n ≤ 255
[Description] Sets the line spacing to n/60 inches.
[Notes]• This command sets values independently in standard mode and
[Default]
[Reference]
ESC =
[Name]Set device
[Format]ASCIIESC=
n
Hex1B33
Decimal2751
in page mode.
n
= 10 (1/6 inch)
ESC 2
n
n
n
n
n
5-12 Commands
Hex1B3D
Decimal2761
n
n
[Range]0 ≤ n ≤ 3
[Description] Selects device to which host computer sends data, using n as follows:
BitOff/OnHexDecimalFunction
0
1
2
3
4
5
6
7
Off000 Printer disabled.
On011Printer enabled.
Off000Undefined.
On022Undefined.
Off000Undefined.
On044Undefined.
Off000Undefined.
On088Undefined.
Off000Undefined.
On1016Undefined.
Off000Undefined.
On2032Undefined.
Off000Undefined.
On4064Undefined.
Off000Undefined.
On80128Undefined.
[Notes]• When the printer is not selected, the printer ignores all received
data until it is selected by this command.
• Even if the printer is disabled, it may go off-line due to printer
operation.
[Default]
n
= 1
ESC @
[Name]Initialize printer
[Format]ASCIIESC@
Hex1B40
Decimal2764
[Description] Clears the data in the print buffer and resets the printer mode to the
mode that was in effect when the power was turned on.
Commands 5-13
[Notes]• The DIP switch settings are not checked again.
• The data in the receive buffer is not cleared.
• The macro definition is not cleared.
ESC C
[Name]Set cut sheet eject length
[Format]ASCIIESC C
[Range]0 ≤ n ≤ 127
[Description] Sets the eject length for a cut sheet to n lines.
[Notes]• When n = 0, no eject length is set.
[Default]n = 0
[Reference]
n
n
Hex1B43
Decimal2767
• The previously specified eject length does not change, even if the
line s pacing changes .
• This command is available only whe n FF is executed.
FF
n
n
ESC D [n] k NUL
[Name]Set horizontal tab positions
[Format]ASCIIESCD[n] k NUL
Hex1B44[n] k 00
Decimal2768[
[Range]1 ≤ n ≤ 255
0 ≤ k ≤ 32
[Description] Sets horizontal tab positions.
•n specifies the column number for setting a horizontal t ab position
from the beginning of the line.
• This command cancels the previous horizontal tab settings.
•n = column number to be set - 1. When setting n = 8, the print
position is moved to colu m n 9 by sending HT.
•k indicates the total number of horizontal tab positions to be set.
• The horizontal tab position is stored as an absolute value of
n
✕
[charac ter widt h
character width includes the right-side character spacing, and
double-width characters are set with twice the wid th of normal
characters. Also, when character is enlarged in the horizontal
direction in page mode, the horizontal position is set as the same
way as in standard mode.
•Transmit [n]k in ascending order and place a NUL code 0 at the
end.
•
ESC D NUL
after clearing tabs is ignored.
] measured from the beginning of the line. The
cancels all horizontal tab positions. An HT received
n
] k 0
5-14 Commands
[Notes]• Up to 32 tab positions (k = 32) can be set. Data exceeding 32 tab
positions is processed as normal data.
•When [n]k is less than or equal to the preceding value [n]k-1, tab
setting is finished and the following data is processed as normal
data.
•When [n]k exceeds the number of characters printable on one line,
the tab position set is equal to the maximum printable column
plus 1.
• The previously specified ho rizontal tab positions do not change,
even if the character width changes.
• The right-side spacing is set independently in standard and page
modes. The horizontal tab setting is set by using amount of the
right-side spacing of the mode used.
[Default]The default tab positions are at intervals of 8 characters (columns 9,
[Range]0 ≤ n ≤ 255
[Description] Sets or cancels the cut sheet reverse eject specified by FF.
[Note]When n cancels reverse eject, this command sets forward ejection
[Default]
[Reference]
ESC J
[Name]Print and feed paper
[Format]ASCIIESC J
[Range]0 ≤ n ≤ 255
[Description] Prints the data in the print buffer and feeds the paper by n/60
[Note]Sets the print position to the beginning of the line.
n
n
Hex1B46
Decimal2770
• When the LSB of n is 0, reverse eject is canceled and forwqrd eject
is set.
• When the LSB of n is 1, reverse eject is set.
automatically.
n
= 0
FF
n
n
n
n
Hex1B4A
Decimal2774
inches.
n
n
ESC K
[Name]print and revers feed
n
Commands 5-15
[Format]ASCIIESC K
Hex 1B4B
Decimal 2775
[Range]0 ≤ n ≤ 255
[Description] Prints the data in the print buffer and feeds the paper by n/60 inches
in the reverse direction.
[Notes]• This command is a v ailable on ly in standa rd m ode.
• The setting values do not remain.
• After printing is completed, this command sets the print position
to the beginning of the line.
n
n
n
ESC L
[Name]Select page mode
[Format]ASCIIESCL
Hex1B4C
Decimal2776
[Description] Switches from standard mode to page mode.
[Notes]• This command is enabled on ly when inp u t a t the beginning of a
line.
• This command is available only in standard mode.
• After printing by FF is completed, the printer returns to standard
mode.
• This command sets the position where data is buffered to the
position specified by
.
ESC W
• In page mode, the printer buffer receives data in the p rintable ar ea
specified by
of FF command. The print and line feed commands, such as LF,
ESC J, ESC K, ESC d,
position from which subsequent data is buffered and do not
perform actual printing.
• In page mode, the printer porcesses data referring to normal dot.
Therefore, be careful when using half dot in standard mode.
• Only character fonts with normal dot configuration are available.
• This command switches the settings for the following commands
(in which the values can be set independently in standard mode
and page mode) to those for page mode:
Set character spacing:
Selec t 1/6-inch line spac in g:
Set line spacing:
In page mode, the following commands are ignored.
•
Print and reverse feed n lines:
Print and reverse feed:
and prints the data collectively upon receipt
ESC W
ESC 3
within the printable area defined by
ESC T
and
ESC SP
, only move the print start
ESC e
ESC 2
ESC e
ESC K
5-16 Commands
Double-density bit image: ESC ✻
Paper release: ESC q
• The following commands are settable but do not have any effect
in page mode.
Upside-down character mode: ESC {
7 × 7 font and underline mode specification and cancel: ESC !
• Th is comman d is effective only in standard mode.
•ESC @ com ma nd returns the printer to standard mode without
printi ng any data.
[Defaul t]Standard mode
[Reference]FF
ESC R
[Name]Select an interna tional character set
[Format]ASCIIESCR
[Range]0 ≤ n ≤ 10
[Description] Selects an international character set n from the fo llowing ta ble:
n
0 U.S.A.
1France
2 Germany
3U.K.
4Denmark I
5Sweden
6Italy
7Spain
8Japan
9Norway
10Denmark II
n
Hex1B52
Decimal2782
Character set
n
n
n
[Note]If the value of n is out of specified range, printer ignores the
[Default]
[Reference]
command.
n
= 0
Character Code Tables
Commands 5-17
ESC T
[Name]Select print direction in page mode
[Format]ASCIIESCT
[Range]0 ≤ n ≤ 3
[Description] Selects the print direction and starting position in page mode.
n
Hex1B54
Decimal2784
48 ≤ n ≤ 51
n
specifies the print direction and starting position as follows:
n
Print DirectionStarting Position
0, 48Left to right
1, 49Bottom to top
2, 50Right to left
3, 51Top to bottom
Upper left
(A in the figure)
Lower left
(B in the figure)
Lower right
(C in the figure)
Upper right
(D in the figure)
n
n
n
A
D
Printing area
B
C
Paper feed direction
[Notes]• When the prin ti ng directi on is c han ge d, the printing direction and
[Default]
ESC W
[Name]Set printing area in page mode
[Format]ASC IIESCW
[Range]0 ≤ xL≤
[Description] Sets the position and the size of the printing area.
print starting position for th e data following ar e t hose specifi ed by
n
.
• Only setting of this command is effective in standard mode.
•If n is out of the specified range, this command is ignored.
The printable area is set as shown in the figure below.
(0, 0)
Printable area of the paper
(x0, y0)dx
dyPrinting area
(x0+dx-1,
y0+dy-1)
(209 dots, 479
dots)
[Notes]• The maximum printable area in the horizontal direction (x
direction) is 210 dots.
• The maximum printable area in the vertical direction (y direction)
is 480 dots.
• If the setting values exceed the printing area, it set to the
maximum printing area automatically, depending on the values
from xL to
dyH
.
• If (hor izontal print starting pos ition + horizontal len gth) or
(vertical print starting position + vertical length) is outside the
printable area, the maximum printing area is set to the printable
area.
• When the print data is buffered in the specified printing area, the
length of the printing area in both the horizontal and vertical
direction should be 8 dots or more.
• The printing area should accommodate to the size of the print
sheet.
• Whe n the starti ng point (x0, y0) exceeds the printing area, this
comma nd is ignored .
• In standard mode, only setting of this command is effective.
[Default]
xL
= xH = yL = yH = 0
dxL
= 210,
dxH
= 0,
dyL
= 224,
dyH
= 1
[Reference]CAN, ESC L, ESC T
ESC c 3
n
[Name]Select paper sensor(s) to output pape r e nd signals
[Format]ASCIIESCc3
n
Commands 5-19
Hex1B6333
Decimal279951
n
n
[Range]0 ≤ n ≤ 255
[Description] Selects paper sensor(s) to output paper end signals, using n as
follows:
BitOff/OnHex DecimalFunction
0
1
2
3
4
5
6
7
Off000Undefined.
On011Undefined.
Off000Undefined.
On022Undefined.
Off000Undefined.
On044Undefined.
Off000Undefined.
On088Undefined
Off000TOF sensor disabled.
On1016TOF sensor enabled.
Off000BOF sensor disabled.
On2032BOF sensor enabled.
Off000Undefined.
On4064Undefined.
Off000Undefined.
On80128Undefined.
[Notes]• It is possible to select multiple sensors to output signals. Then, if
any of the sensors detects a paper-end, the paper end signal is
output.
• This co m m and is ava ilable only with a paralle l interface and is
ignored with a serial interface.
[Default]
ESC c 4
n
= 0
n
[Name]Select paper sensor(s) to stop printing
[Format]ASCIIESCc4
Hex1B6334
Decimal279952
n
n
n
5-20 Commands
[Range]0 ≤ n ≤ 255
[Description] Selects the paper sensor(s) used to stop printing when a paper-end is
detected, using n as follows :
BitOff/OnHex DecimalFunction
Off000Undefined.
0
On011Undefined.
Off 000Undefined.
1
On 022Undefined.
Off 000Undefined.
2
On 044Undefined.
Off 000Undefined.
3
On 088Undefined.
Off000TOF sensor disabled.
4
On1016TOF sensor enabled.
Off000BOF sensor disabled.
5
On2032BOF sensor enabled.
Off000Undefined.
6
On4064Undefined.
Off 000Undefined.
7
On 80128Undefined.
[Notes]• It is possible to select multiple sensors to stop printing. Then, if
any of the selected sensors detects a paper-end, the printer stops
printing.
• When a paper-end is detected, printing stops after printing and
feeding the current line. In this time, if the panel buttons are
disabled, the printer release the paper and waits the next paper
automatically.
[Range]0 ≤ n ≤ 255
[Description] Enables or disables the panel buttons.
• When the LSB of n is 0, the panel buttons are enabled.
• When the LSB of n is 1, the panel buttons are disabled.
[Notes]• When the panel buttons are disabled, none of them are usable
[Default]
when the printer cover is closed.
n
= 0
n
ESC d
[Name]Print and feed n lines
[Format]ASCIIESCd
[Range]0 ≤ n ≤ 255
[Description] Prints the data in the print buffer and feeds n lines.
[Notes]• This command sets the print starting position to the beginning of
[Reference]
ESC e
[Name]Print and reverse feed n lines
[Format]ASCIIESC e
[Range]0 ≤ n ≤ 255
[Description] Prints the data in the print buffer and feeds n lines in the reverse
[Notes]• The command is available only in standard mode.
n
n
Hex1B64
Decimal27100
the line.
• This command does not affect the line spacing set by
.
ESC 3
ESC 2, ESC 3
n
n
n
n
Hex 1B 65
Decimal 27101
direction.
• This command sets the print position to the beginning of the line.
• The setting values do not remain.
n
n
ESC 2
or
f
t1 t2
ESC
[Name]Set cut sheet wait time
[Format]ASCIIESCf
Hex1B66
Decimal27102
[Range]
t1
= 0
0 ≤ t2 ≤ 64
5-22 Commands
t1t2
t1t2
t1t2
[Description] Sets the time that the printer waits for slip paper to be inserted and
the time from insertion of the sheet to the start of printing.
•t1 specifies the wait time for a cut sheet to be inserted. There is no
limitation for the wait time and the printer waits until slip paper is
inserted.
•t2 specifies the time from insertion of the sheet to the start of
printing.
• The printer starts operation [t2 × 0.1] seconds after detecting slip
paper.
[Note]When either t1 or t2 is out of the specified range, this command does
[Default]
not change the previously set wait time.
t1
= 0, t2 = 10
ESC p
[Name]Generate pulse
[Format]ASCIIESCp
[Range]
[Description] Outputs the pulse specified by
m
0, 48Drawer kick-out connector pin 2
1, 49Drawer kick-out connector pin 5
[Notes]• The pulse ON time is [t1
m t1 t2
m t1 t2
Hex1B70
Decimal271 12
m
= 0, 1, 48, 49
0 ≤ t1 ≤ 255
0 ≤ t2 ≤ 255
follows:
Connector pin
•If m is outside the specified range, the printer ignores this
command and the following data is processed as normal data.
m t1 t2
m t1 t2
t1
and t2 to connector pin m as
✕ 2 ms] and the OFF time is [
ESC q
[Name]Paper release
[Format]ASCIIESCq
Hex1B71
Decimal27113
[Description] Releases the paper
[Notes]• This command is available only in standard mode.
• When the panel button is disabled and the specified paper sensor
detects a paper-end, the printer releases the paper, regardless of
this command.
t2
✕ 2 ms].
Commands 5-23
[Reference]ESC c 4, ESC c5
ESC t
[Name]Select character code table
[Format]ASCIIESCt
[Range]0 ≤ n ≤ 2
[Description] Selects a page n from the character code table.
[Note]If n is outside the specified range, the printer ignores this command.
[Default]
ESC u
[Name]Transmit peripheral device status
[Format]ASCIIESCu
[Range]
[Description] Tra nsmits the status of connector pin n upon receiving this
n
n
Hex1B74
Decimal27116
n
00(PC437 [U.S.A., Standard Europe])
11(Katakana)
22(PC850 [Multilingual])
n
Page
= 0
n
n
n
n
Hex1B75
Decimal27117
n
= 0, 48
command, using n as follows:
n
n
n
0, 48Drawer kick-out connector pin 3
[Notes]• When the connector is not used, the value of bit 0 is always 1.
• When DTR/DSR control is selected, the printer transmits only 1
• This command is executed when the data is processed in the
Connector pin
byte after confirming that the host is ready to receive data (DSR
signal is SPACE). If the host computer is not ready to re c eive da ta
(DSR signal is MARK), the printer keeps waiting until the host is
ready. When XON/XO FF control is selected, the printer transmits
only 1 byte without checking the DSR signal.
receive buffer. Therefore, there may be a time lag between
receivi ng the command and tr an smi t ti ng the stat us, depending on
the receive buffer status.
5-24 Commands
• When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by ESC u and the ASB status must be differentiated.
•If n is out of the specified ra nge, the printer ignores this c o mma n d.
• The status to be transmitted is shown in the table below.
BitOff/On Hex DecimalFunction
Off000Level of pin 3 is Low.
0
On011Level of pin 3 is High.
Off000Undefined.
1
On022Undefined.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
4Off000Not used. Fixed to Off.
Off000Undefined.
5
On2032Undefined.
Off000Undefined.
6
On4064Undefined.
7Off 000Not defined. Fixed to Off.
[Reference]DLE EOT, GS a
ESC v
[Name]Transmit paper sensor status
[Format]ASCIIESCV
Hex1B76
Decimal27118
[Description] Tra nsmits the current paper sensor status upon receiving this
command.
[Notes]• When DTR/DSR control is selected, the printer transmits only 1
byte after confirming that the host is ready to receive data (DSR
signal is SPACE).
If the host computer is not ready to receive data (DSR signal is
MARK), the printer waits until the host is ready. When XON/
XOFF control is selected, the printer transmits only 1 byte without
checking the DSR signal.
Commands 5-25
• Th e 1 byte status data is tr ansmi tted after printing and p aper f eed
operation completely stop (transmit timing differs from ESC u, GS I).
• This command is executed when the data is processed in the
receive buffer. Therefore, there may be a time lag between
receivi ng the command and tr an smi t ti ng the stat us, depending on
the receive buffer status.
• When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by ESC v and the ASB status must be differentiated.
• The status to be transmitted is shown in the table below.
[Description] Turns upside-down printing m ode on or off.
• When the LSB of n is 0, upside-down printing mode is turned off.
• When the LSB of n is 1, upside-down printing mode is turned on.
[Notes]• In upside-down printing mode, the printer rotates the line to be
printed by 180° and then prints it.
• In page mode, only setting is effective.
• This co m m and is ena ble d only when input at the beginning of a
line.
[Default]
n
= 0
[Example]
Upside - d own pri nt i ng mode is t urned of f:
Upside-dow n printing mode is turned on:
ABCDE FG
01 2 3456
Paper feed direction
n
GS I
[Name]Transmit printer ID
[Format]ASCIIGSI
Hex1D49
Decimal2973
n
n
n
[Range]1 ≤ n ≤ 3, 49 ≤ n ≤ 51
[Function]Transmits the printer ID specified by n as follows :
n
1, 49Printer model IDTM-29502H
2, 50Type IDSee table below.
3, 51ROM version IDDepends on ROM version
n
= 2, Type ID
Bit Off/On Hex DecimalFunction
0Off000Not used. Fixed to Off.
1Off000Not used. Fixed to Off.
2
Printer IDSpecificationID (hexadecimal)
Off000Undefined.
On044Undefined.
ABCDE F G
0123456
Commands 5-27
Bit Off/On Hex DecimalFunction
Off000Undefined.
3
On088Undefined.
4Off000Not used. Fixed to Off.
Off000Undefined.
5
On2032Undefined.
Off000Undefined.
6
On4064Undefined.
7Off000Not used. Fixed to Off.
[Notes]• When DTR/DSR control is selected, the printer transmits only 1
byte after confirming that the host is ready to receive data (DSR
signal is SPACE). If the host computer is not ready to re c eive da ta
(DSR signal is MARK), the printer waits until the host is ready.
When XON/XOFF control is selected, the printer transmits only 1
byte without confirming the condition of the DSR signal.
• The ROM version may be changed.
• When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by GS I and the ASB status must be differentiated.
•When n is out of the specified range, this command is ignored.
GS a
n
[Name]Enable/Disable Automatic Status Back
[Format]ASCIIGSa
Hex1D61
Decimal2997
n
n
n
[Range]0 ≤ n ≤ 255
[Description] Enables or disables ASB and specifies the status items to include,
using n as follows :
Bit Off/On Hex Decimal Status for ASB
Off000
0
On0 1
5-28 Commands
Drawer kick-out connector pin 3 status
disabled.
Drawer kick-out connector pin 3 status
enabled.
Bit Off/On Hex Decimal Status for ASB
Off000On-line/Off-line status disabled.
1
On022On-line/Off-line status enabled.
Off000Error status disabled.
2
On044Error status enabled.
Off000Undefined.
3
On088Undefined.
Off000Undefined.
4
On1016Undefined.
Off000Slip sensor status disabled.
5
On2032Slip sensor status enabled.
Off000Undefined.
6
On4064Undefined.
Off000Undefined.
7
On80128Undefined.
[Notes]• If n = 0, ASB is disabled.
• ASB is enabled if only one status is selected. The printer
automatically transmits a status of four bytes whenever the status
changes.
• If ASB is enabled while processing this command, the current
status is transmitted with no regulations.
• When transmitting a status, the printer transmits only four bytes
without co nfirming the condition of the DSR signal.
• Four bytes of status data must be consecutive, except for XOFF
code.
• This command is executed when the data in the receive buffer is
developed. Therefore, there may be a time lag between receiving
this command and transmitting the status, depending on the
receive buffer status.
• When the printer is disabled by ESC =, this command is disabled
but ASB is not disabled.
•When using ESC u, ESC v, GS I or DLE EOT, the status
transmitted by this command, th e A SB information, and the s ta tu s
transmitted by another commands must be differentiated.
• The status to be transmitted are as follows:
Commands 5-29
First byte (printer information)
BitOff/On Hex Decimal Status for ASB
0Off 00 0 Not used. Fixed to Off.
1Off 00 0 Not used. Fixed to Off.
Off 00 0 Drawer kick-out connector pin 3 is LOW
2
On 04 4 Drawer kick-out connector pin 3 is HIGH.
Off 00 0 On-line.
3
On 08 8 Off-line.
4On 10 16 Not used. Fixed to On.
5Off000Not used. Fixed to Off.
Off 00 0 Paper feed button is not used.
6
On 40 64 Paper feed button is used.
7Off 00 0 Not used. Fixed to Off.
Second byte (erro r information)
BitOff/OnHexDecimal Status for ASB
Off 00 0Undefined.
0
On 011Undefined.
Off 00 0 Undefined.
1
On 022Undefined.
Off 00 0Undefined.
2
On 044Undefined.
Off 000Undefined.
3
On 088Undefined.
4Off000Not used. Fixed to Off.
Off000No unrecoverable error.
5
On2032Unrecoverable error.
Off 000Undefined.
6
On 4064Undefined.
7Off 000Not used. Fixed to Off.
5-30 Commands
Third b yte (paper s ensor i nform ation)
BitOff/OnHexDecimalStatus for ASB
Off000Undefined.
0
On011Undefined.
Off000Undefined.
1
On022Undefined.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
4Off000Not used. Fixed to Off.
Off000Slip is detected by BOF sensor.
5
On2032Slip is not detected by BOF sensor.
Off000Slip is detected by TOF sensor.
6
On40 64Slip is not detected by TOF sensor.
7Off 000Not used. Fixed to Off.
Forth byte (paper sensor information)
BitOff/OnHexDecimalStatus for ASB
0Off000Slip paper selected.
Off000Slip printing possible.
1
On022Slip printing not possible.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
4Off000Not used. Fixed to Off.
Off000Undefined.
5
On2032Undefined.
Commands 5-31
BitOff/OnHexDecimalStatus for ASB
Off000Undefined.
6
On4064Undefined.
7Off000Not used. Fixed to Off.
Bit 1:• Becomes On (slip printing possible) when slip paper is detected
[Default]
[Reference]DLE EOT, ESC u, ESC v
GS r
n
[Name]Transmit status
[Format]ASCIIGSr
[Range]1 ≤ n ≤ 2, 49 ≤ n ≤ 50
[Description] Tra nsmits the status specified by n as, follows:
n
1, 49Transmits paper sensor status (same as ESC v)
2, 50Transmits drawer kick-out connector status (same as ESC u 0)
and becomes Off (slip printing is not possible) when slip
ejection starts or time-out.
• When the printer goes to the slip wait status, bit 5 and 6 of the
third byte are On (no paper) and bit 1 of the forth byte is On
(slip printing is not possible).
• When paper-end stop is disabled by ESC c 4, bit 1 does not
become On (slip printing is not possible) even if no printing
area remains.
• When the release button is pressed during slip printing, bit 1
become s On (slip printing is no t possible).
n
= 0
n
Hex1D72
Decimal29114
Function
n
n
[Notes]• When DTR/DSR control is selected, the printer transmits only 1
byte after confirming the host is ready to receive data (DSR signal
is SPACE). If the host computer is not ready to receive data (DSR
signal is MARK), the printer waits until the host is ready. When
XON/XOFF control is selected, the printer transmits only 1 byte
without co nfirming the condition of the DSR signal.
• This command is executed when the data in the receive buffer is
developed. Therefore, there may be a time lag between receiving
this command and transmitting the status, depending on the
receive buffer status.
5-32 Commands
• When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by GS r and the ASB status must be differentiated.
• If the value of n is out of the specified range, the printer ignores
this command.
• The status types to be transmitted are shown below:
Paper sensor status (n = 1, 49):
Bit Off/On Hex Decimal Status for ASB
Off000Slip is detected by BOF sensor.
0
On011Slip is not detected by BOF sensor.
Off000Slip is detected by TOF sensor
1
On022Slip is not detected by TOF sensor.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
4Off000Not used. Fixed to Off.
Off000Undefined.
5
On2032Undefined.
Off000Undefined.
6
On4064Undefined.
7Off000Not used. Fixed to Off.
Drawer kick-out connector status (n = 2, 50):
Bit Off/On Hex Decimal Status for ASB
Off000Drawer kick-out connector pin 3 is LOW.
0
On011Drawer kick-out connector pin 3 is HIGH.
Off000Undefined.
1
On022Undefined.
Off000Undefined.
2
On044Undefined.
Off000Undefined.
3
On088Undefined.
Commands 5-33
Bit Off/On Hex Decimal Status for ASB
4Off000Not used. Fixed to Off.
Off000Undefined.
5
On2032Undefined.
Off000Undefined.
6
On4064Undefined.
7Off000Not used. Fixed to Off.
[Reference]DLE EOT, ESC u, ESC v, GS a
5-34 Commands
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.