Thermal: Line Printer
Thermal: Line Printer
Thermal: Line Printer
TM-L60
Operator’s Manual
400179501
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 purchase
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 a:
Original Epson Products or Epson Approved Products by Seiko Epson Corporation.
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 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.
WARNING
This digital apparatus does not exceed the Class A limits for radio noise
emissions from digital apparatus as set out in the radio interference regula-
tions of the Canadian Department of Communications.
l The interface cable, drawer control cable, and power cable can be routed in any
of four directions: both sides, underneath, and out the back of the case.
l The power switch is on a panel in front of the printer body, providing easy
l Since label paper can be ejected by label eject command, it is not necessary to
Please be sure to read the instructions in this manual carefully before using
your new Epson printer.
* Chapter 1 contains information on unpacking the printer, choosing the place for
the printer, and names and functions of parts.
* Chapter 2 and Chapter 3 contain information on connecting and setting up the
printer.
* Chapter 4 contains information on testing the printer.
APPENDIX
Appendixes contain information on general specifications, character code
tables and a list of commands.
CONTENTS
III
Downloaded from www.Manualslib.com manuals search engine
Chapter 4 The Self Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
iv
Downloaded from www.Manualslib.com manuals search engine
1. SETTING UP
• Roll paper
• Printer
• Operator’s Manual
2
Downloaded from www.Manualslib.com manuals search engine
1-2 Choosing a Place for the Printer
n Avoid locations that are subject to direct sunlight or excessive heat (near
heaters).
n Avoid using or storing the printer in places subject to excessive temperatures
or moisture.
n Do not use or store the printer in a dusty or dirty location.
n When setting up the printer, choose a stable, horizontal location.
Intense vibration or shock may damage the printer.
n Ensure the printer has enough space to be used easily.
Protective Material
Head-open Lever
3
Downloaded from www.Manualslib.com manuals search engine
1-4 Names and Functions of Parts
n Part names
À Roll-paper cover
Á Operation panel
 Power connector à Interface connector
Ä Drawer kick-out connector
Å DIP switches (* 1)
 à Ä
* 1: The DIP switches are located behind the small cover on the bottom of the
printer.
Panel switches
POWER
Press the POWER button to turn the printer ON and OFF. When the button is
pushed down, the power is on. When pressed again, the button returns to its
original position, turning the power off.
Do not turn the power off during printing.
l
PAPER FEED
Press the PAPER FEED button to feed roll paper.
lPressing the PAPER FEED button recovers from waiting state of label
ejection command (GS FF) execution or from self-test printing standby state.
lYou cannot feed paper when the printer cover is open.
5
Downloaded from www.Manualslib.com manuals search engine
Chapter 2 Before Setting Up
2-1 Connecting the Power Supply to the Printer
n Plugging in AC adapter
The printer must be connected to an external power supply.
Be sure to use a power supply unit that matches the specifications.
CAUTIONS:
lBefore connecting the printer to the power supply, make sure that the
voltage (24 VDC) and power specifications match the printer’s require-
ments.
l Using an incorrect power supply can cause serious damage to the printer.
pulling out.
7
Downloaded from www.Manualslib.com manuals search engine
Chapter 3 Installing the Parts
3-1 Installing the Roll Paper
n Installing the roll paper
Be sure to use roll paper that matches the printer’s specifications.
Using scissors, cut the leading edge of the roll paper perpendicular to the paper
feed direction.
Open the roll-paper cover and raise the release lever toward you.
Make sure to pull the release lever out until the paper slot of the printer
mechanism will be faced up.
Paper Slot
Load the roll paper while lightly pressing the right roll paper holder outward.
Release the holder after fitting the paper core onto the holder. Make sure the
roll paper turns freely.
l When loading roll paper, make sure to insert so that it rotates in the correct
direction.
Correct
Incorrect
8
Downloaded from www.Manualslib.com manuals search engine
Insert the edge of the roll paper into the paper slot and feed the paper 5 cm
beyond the tear-off edge.
Tear-off -Edge
Paper Slot
Unroll the paper a little and pull lightly from the roll paper side to eliminate twist
or misalignment.
Retighten the roll paper to remove any slack. Both edges of the paper should
be aligned parallel to the paper roll.
Push down the release lever. Tear off any extra paper at the tear-off edge by
pulling the paper toward you.
10
Downloaded from www.Manualslib.com manuals search engine
Loosen the adjusting screw that holds the paper-end detector. Then set the top
of the positioning plate to the appropriate adjustment position, and tighten the
adjusting screw.
NOTES:
lThe T dimensions corresponding to the adjustment values in the table are
calculated from standard measurements; some variations in the actual
mechanism.
lAfter adjusting, ensure that the detector operates smoothly.
11
Downloaded from www.Manualslib.com manuals search engine
3-3 Setting the DIP Switches
n Locating the DIP switches
On the underside of your printer are a number of DIP switches that can be set to
perform a number of different functions.
lYou can change the function of your printer by turning DIP switches on or off.
lCurrent DIP-switch settings are printed out during the self test.
lThe switches numbered from left to right are SW1 -1 through SW1 -10 (See figure
below).
lEach switch functions as described in the lists on the following page.
NOTE:
lChanges made with the power on have no effect until the power supply
is turned off and then on again.
12
Downloaded from www.Manualslib.com manuals search engine
n DIP-Switch Functions
Table 3-3. Baud Rate Selection Table 3-4. Print Density Selection
Baud Rate SW 1-6 SW 1-7 Print Density SW 1-8 SW 1-9 Level
1200 bps ON ON LIGHT ON ON 1
4800 OFF O N I OFF OFF 2
I
9600 ON OFF ON OFF 3
I
19200 OFF OFF DARK OFF ON 4
13
Downloaded from www.Manualslib.com manuals search engine
Chapter 4 The Self Test
4-1 Checking Operation with the Self Test
n The purpose of the self test
The self test checks whether the printer has any problems.
When the printer does not function properly, please contact the dealer.
n The self test checks the following
l Control circuit functions l Control ROM version
l Printer mechanism l DIP-switch settings
l Print quality
n Running the self test
Run the self test only when thermal roll paper or label paper is loaded the printer.
Make sure the roll-paper cover is closed and the roll paper is installed correctly.
Turn on the power while holding down the FEED switch. The self test begins.
The following contents are printed for printer current status printing first.
lControl ROM version
lDIP-switch settings
lInterface settings
lPrint density
After printing the printer
current status, the printer
blinks the ERROR LED and
enters the test printing
standby state.
Press the FEED switch to
restart test printing.
After the printer completes
a certain number of lines, it
prints” *** completed **
* ", and stops printing au-
tomatically.
* The printer goes off-tine
during and after self-test
printing. Turn the power off
and on again to put the
printer on-line before
transmitting data from the
host computer. Label paper (44%) Thermal paper (44%)
Self test Printing Samples
14
Downloaded from www.Manualslib.com manuals search engine
II. REFERENCE
l When label paper is used, the printer automatically sets the la-
bel at the starting position for printing just after turning the power
switch on. When label paper is selected, the printer automati-
cally detects label paper position and performs paper feeding.
(Paper feed amount varies by the type of label paper.)
(2) Paper-feed switch
[Function] If this switch is pressed, paper is fed one line based on the cur-
rently specified line spacing. If this switch is held for 200 ms or
more, paper is fed as long as the switch is pressed, and stops
when the switch is released. If line spacing is set to 0, paper is
fed while the switch is pressed.
l The defined macro is executed when the switch is pressed in
Label paper
NOTE: Do not use anything other than label rolls with the dimensions shown
above. Do not mix labels with different length in one label.
17
Downloaded from www.Manualslib.com manuals search engine
5-3 Miscellaneous Notes
n Notes on printing and paper feeding
(1) Because the TM-L60 is a line printer, it automatically feeds paper after printing
the data.
When the line spacing is set to a small value, the paper may be fed more than
the set amount to print the data.
For example, when the line spacing is set to 10 dots (10/180 inch), the printer
feeds just 10 dots for a carriage return; but 24 dots is fed when printing normal
characters using Font A. (Refer to Table 5-l.)
When all the characters on one line are rotated, refer to Table 5-2 for paper
feeding.
Double-width 2 4 32
Quadruple 48 53
Double-height 34 37
Double-width 17 24
Quadruple 34 37
Bit image 24
19
Downloaded from www.Manualslib.com manuals search engine
d) If thermal paper touches anything which includes phthalic acid ester
plasticizer for a long period, it can reduce the image formation ability of the
paper and can cause the printed image to fade. When storing thermal
paper in a card case or sample notebook, be sure to use only products
made from polyethylene, polypropylene, or polyester.
e) If thermal paper touches diazo copy paper immediately after copying, the
printed surface may discolor.
f) Thermal paper must not be stored with the printed surfaces against each
other because the printing may be transferred between the surfaces.
g) If the surface of thermal paper is scratched with a nail or other hard metal
object, it may discolor.
On: If this LED lights when the near-end LED is off, it means the printer cover is
not closed.
If this LED lights the near-end LED is on, it means the printer went OFF-LINE
after detecting a paper near-end.
Off: Normal mode.
20
Downloaded from www.Manualslib.com manuals search engine
Table 5-3. Error Display
Error ON/OFF Timing Pattern Recovery
OFF
150 ms
Transistor error Impossible to recover.
150 ms 1800 ms
O N
OFF
300 ms 150 ms
Power supply, high 1500 ms
impossible to recover.
150 ms
voltage error ON (Power supply should
be inspected.)
OFF
150 ms 300 ms 150 ms
OFF
150 ms 300 ms 150 ms
OFF
150 ms 300 ms 150 ms
Internal data Recovered by turning
150 ms the power off and on.
processing error ON
OFF
150 ms 1950 ms
Print head paper Recovered by closing
150 ms the cover after
out error ON
inserting paper.
OFF
150 ms 1650 ms
21
Downloaded from www.Manualslib.com manuals search engine
Error ON/OFF Timing Pattern Recovery
Print head overheating 150 ms Recovers automati-
error ON cally when the print
head temperature
drops back down.
OFF
150 ms 1350 ms
( * 1): The printer automatically detects label paper position and performs paper
feeding.
( * 2): See 6-3 Commands for the macro command and the label ejection com-
mand.
( * 3): See 4-l Checking Operation with the Self Test for self test printing standby
state.
CAUTION:
lDo not clean the head immediately after printing; the head may be hot.
Open the roll-paper cover, raise the auto-cutter and the head-open lever. If roll
paper is loaded, remove it from the head area.
Clean the heating element of the head with a cotton swab containing an alcohol
solvent (ethanol, methanol, or IPA).
l Clean the cutter also with an alcohol solvent.
CAUTION:
lNever touch the head; oils on your skin can damage the head.
Push the head-open lever down. Reload roll paper and close the roll-paper
cover. See 3-l.
23
Downloaded from www.Manualslib.com manuals search engine
5-6 The Cover-open Detector
n The cover-open detector
This unit has an cover-open detector located inside the roll-paper cover.
Data is not printed when the printer cover is open.
l
Opening the cover sets the printer OFF-LINE; data cannot be received when the
l
printer is OFF-LINE.
Paper cannot be fed with the paper-feed switch when the roll-paper cover is
l
open.
Closing the cover sets the printer ON-LINE automatically.
l
NOTE:
The roll-paper cover cannot be closed unless the head-release lever and the
head-open lever are down.
CAUTION:
lThe print head is very hot immediately after printing.
Always remove jammed paper after the print head has cooled.
Or remove the screw and take the paper entrance away, instead of step .
Push the head-open lever down. Reload roll paper and close the roll-paper
cover. See 3-1 to .
24
Downloaded from www.Manualslib.com manuals search engine
Chapter 6 Software Control
6-1 Printer Control
n Controlling the printer with commands
The printer is controlled by “commands” that can change the size of the charac-
ters, and perform other functions.
LF
l Print and line feed
Several-byte commands
l ESC SP Set character right-side spacing
l ESC 3 n Set line spacing using minimum units
Hexadecimal
Binary
I I
25
Downloaded from www.Manualslib.com manuals search engine
6-2 Command Descriptions
n Command descriptions
XXX Command
6-3 Commands
HT
[Name] Horizontal tab
[Format] <09> H
[Description] Moves the print position to the next horizontal tab position.
lThis command is ignored unless the next horizontal tab position
has been set.
[Notes] lHorizontal tab positions are set using ESC D.
lThe default horizontal tab positions are at intervals of 8 char-
acters (9th column, 17th, 25th ...) for Font A.
[Reference] ESC D
26
Downloaded from www.Manualslib.com manuals search engine
LF
[Name] Print and line feed
[Format] <OA> H
[Description] Prints the data in the print buffer and performs 1 line feed based
on the current line spacing.
l Sets the print starting position to the beginning of the line.
FF
[Name] Print and position label to start printing
[Format] <OC> H
[Description] Prints the data in the print buffer and positions the next label for
printing.
[Notes] l This command is effective only when label printing mode is se-
lected.
l This command will not work correctly after a label has been
moved manually using the paper feed knob. Position the label
using the paper feed switch or issue GS <.
l A FF or GS FF command must be sent after transmitting print
ESC SP n
[Name] Set character right-side spacing
[Format] <1B> H <20> H <n>
[Range] 0 n 32
[Description] Sets the character right-side spacing in dot units (1/180 inch units).
[Notes] l The character right-side spacing for double-width mode is twice
ESC ! n
[Name] Set print mode
[Format] <1B> H <21> H <n>
[Range] 0 n 255
[Description] Sets a print mode.
27
Downloaded from www.Manualslib.com manuals search engine
l Each bit of n is used as follows:
Value
Bit Function 0 1
[Note] l When both double-height mode and double-width mode are set,
quadruple characters are printed.
l Underlines can be printed for all characters, but not for the
space skipped by an HT.
l Underlines cannot be printed for 90° rotated characters.
l The thickness of an underline is set by ESC - (default value =
1.)
[Default] n=0
[Reference] ESC E, ESC F, ESC -
ESC $ n1 n2
[Name] Set absolute position
[Format] <1B> H <24> H <n1> <n2>
[Range] 0 n1 255
0 n2 1
[Description] Sets the print starting position to the specified number of dots
(1/180 inch units) from the beginning of the line.
l Divide the number of dots by 256. The integer answer is n2 and
the remainder is n1. Therefore, the print starting position be-
comes n1 + n2 X 256 from the beginning of the line.
[Notes] l Any specification that exceeds the printable area is ignored.
[Default] Not defined
[Reference] ESC ¥
28
Downloaded from www.Manualslib.com manuals search engine
ESC % n
[Name] Select/cancels user-defined character set.
[Format] <1B> H <25> H <n>
[Range] 0 n 255
[Description] Selects or cancels the user-defined character set.
lOnly the lowest bit of n is valid.
When n = < ******* 1>B, the user-defined character set
is selected.
When n = < ******* 0>B, the user-defined character set
is canceled (and the internal character set is selected.)
[Notes] lThe user-defined characters and a down-loaded bit image can
not be defined at the same time.
[Default] n=0
[Reference] ESC &
29
Downloaded from www.Manualslib.com manuals search engine
[Default] The same as the internal character set.
[Reference] ESC %
[Example] lFont A is selected:
l Font B is selected.
ESC * m n1 n2 [d] k
[Name] Set bit image mode
[Format] <1B>H<2A>H<m><n1><n2>[<d>]k
[Range] m = 0, 1, 32, 33
O n1 255
O n2 3
O d 255
k=n1+256Xn2(m=0,1)
k=(n7+256Xn2)X3(m=32,33)
30
Downloaded from www.Manualslib.com manuals search engine
[Description] Sets the bit-image mode using m and the number of dots using
n1 and n2.
l Divide the number of dots to be printed by 256. The integer an-
[Notes] .If m is out of range, n1 and the data following will be processed
as normal data.
l After printing a bit image, the printer returns to normal data pro-
cessing mode.
l The relationship between the image data and the dots to be
printed is as follows:
Single-density Double-density
31
Downloaded from www.Manualslib.com manuals search engine
l 24-dot bit image
ESC 2
[Name] Set 1/6 inch line spacing
[Format] <1B>H<32>H
[Description] Sets the line spacing to 1/6 of an inch.
ESC 3 n
[Name] Set line spacing using minimum units
[Format] <1B>H<33>H<n>
[Range] 0 n 255
[Description] Sets the line spacing to n/360 of an inch.
[Default] n = 60 (1/6 inch)
[Reference] 5-3 Miscellaneous Notes
ESC = n
[Name] Select device
[Format] <1B>H<3D>H<n>
[Range] 0 n 255
[Description] Selects a device to receive data from the host computer.
l If the printer is not selected, the TM-L60 ignores all received
data (the data is lost) until it is selected by this command.
32
Downloaded from www.Manualslib.com manuals search engine
l Each bit of n is used as follows:
Value
Bit Device 0 1
0 Printer Invalid Valid
1 Undefined
2 Undefined
3 Undefined
4 Undefined
5 Undefined
6 Undefined
7 Undefined
[Notes] lEven when the printer is not selected, it may enter the BUSY
state due to printer operation.
[Default] n=1
ESC @
[Name] Initialize printer
[Format] <1B>H<40>H
[Description] Clears the data in the print buffer and resets the printer mode (to
the same state as when the power is turned on).
[Note] l The DIP switches are not read again.
ESC D [n]kNUL
[Name] Set horizontal tab positions
[Format] <1B>H<44>H[<n>]k<00>H
[Range] 1 n 255
0 k 32
[Description] Sets horizontal tab positions.
l "n” specifies the column number from beginning of the line for
Set.
33
Downloaded from www.Manualslib.com manuals search engine
A horizontal tab position is stored as the absolute value of
l
the end.
ESC D NUL clears all tabs. Any HT commands received after
l
ESC E n
[Name] Select/cancel emphasized mode
[Format] <1B>H<45>H<n>
[Range] 0 n 255
[Description] Prints or cancels the emphasized characters.
lThis command is available for all character types.
lWhen emphasized mode is selected, one dot is added to the
right side of the dots in normal mode.
lOnly the lowest bit of n is valid.
When n = < * * * * * * * 1>B, the emphasized characters are
selected.
When n = <* * * * * * * 0>B, the emphasized characters are
canceled.
[Reference] ESC !
34
Downloaded from www.Manualslib.com manuals search engine
[Example]
ESC G n
[Name] Select/cancel double-strike mode
[Format] <1B>H<47>H<n>
[Range] 0 n 255
[Description] Selects or cancels double-strike mode.
lThis command is available for all character types.
lOnly the lowest bit of n is valid.
When n = < * * * * * * * 1>B, the double-strike mode is s e -
lected.
When n =<* * * * * * * 0>B, the double-strike mode is can-
celed.
[Notes] In this printer, double-strike mode has the same function as
l
emphasized mode.
[Reference] ESC E, ESC H
ESC J n
[Name] Print and feed paper using minimum units
[Format] <1B>H<4A>H<n>
[Range] 0 n 255
[Description] Prints the data in the print buffer and feeds the paper n/360
inches.
l The predetermined line spacing remains unchanged.
l Sets the print starting position to the beginning of the line.
l When the paper-feed amount which specifies over a range of
the label paper length is set, the paper is fed to the beginning
print position of the next label paper.
[Default] l Not defined.
[Reference] 5-3 Miscellaneous Notes
35
Downloaded from www.Manualslib.com manuals search engine
ESC R n
[Name] Select international character set
[Format] <1B>H<52>H<n>
[Range] 0 n 10
[Description] n selects an international character set from the following table.
n Character Set
0 U.S.A.
1 France
2 Germany
3 U.K.
4 Denmark I
5 Sweden
6 Italy
7 Spain
8 Japan
9 Norway
10 Denmark II
[Default] n=0
[Reference] APPENDIX D Character Code Tables
ESC V n
[Name] Set/cancel 90° cw rotated characters
[Format] <1B>H<56>H<n>
[Range] 0 n 1
[Description] Sets or cancels the 90° cw rotation of characters.
l When n = 1, 90° cw rotated characters are set.
[Default] n=0
36
Downloaded from www.Manualslib.com manuals search engine
ESC ¥ n1 n2
[Name] Set relative position
[Format] <1B>H<5C>H<nl><n2>
[Range] 0 n1 255
0 n2 255
[Description] Moves the print starting position to the specified number of dots
(1/180 inch units) from the current position.
l A positive number specifies movement to the right, and a
negative number specifies movement to the left.
l Negative numbers are specified using the supplement of N:
-N = 65536 - N
l Divide the number of dots by 256. The integer answer is n2 and
the remainder is nl.
[Notes] lAny specification exceeding the printable area will be ignored.
[Default] Not defined
[Reference] ESC $
ESC - n
[Name Turn underline mode on/off
[Format] <1B>H<2D>H<n>
[Range] O n 2
[Description] Turns underline mode on/off.
. When n = 0, underline mode is turned off.
l When n = 1, underline mode (1 -dot line thickness) is selected.
l When n = 2, underline mode (2-dot line thickness) is selected.
[Notes] l Underlines can be printed for all characters, but not for the
space skipped by an HT.
l Underlines cannot be printed for 90° cw rotated characters.
[Default] ESC !
ESC a n
[Name] Align positions
[Format] <1B>H<61>H<n>
[Range]
[Description] Aligns all the data in one line to the specified position.
37
Downloaded from www.Manualslib.com manuals search engine
l n specifies the alignment as follows:
n Position
0 Align left
1 Align center
2 Align right
ESC c 4 n
[Name] Select paper detectors to stop printing
[Format] <1B>H<63>H<34>H<n>
[Range]
[Description] Selects the paper detectors used to stop printing.
lEach bit of n is used as follows:
Value
Bit Function 0 1
38
Downloaded from www.Manualslib.com manuals search engine
l In the TM-L60, only the journal near-end detector can be se-
lected and only the lowest bit of n is valid.
[Notes] l When a paper-end is detected by the journal detector, the
printer goes OFF-LINE after printing stops.
l If a paper-end is detected by paper detectors when thermal label
ESC c 5 n
[Name] Enable/disable panel switches
[Format] <1B>H<63>H<35>H<n>
[Range]
[Description] Enables or disables the paper-feed switch.
l Only the lowest bit of n is valid.
ESC d n
[Name] Print and feed paper n lines
[Format] <1B>H<64>H<n>
[Range]
[Description] Prints the data in the print buffer and performs n lines feeds.
l Sets the print starting position to the beginning of the line.
ESC p m n1 n2
[Name] Generate pulse
[Format] <1B>H<70>H<m><n1><n2>
[Range] m=O,1
39
Downloaded from www.Manualslib.com manuals search engine
[Description] The pulse defined by nl and n2 is output on connector pin m.
lm is specified as follows:
m Connector pin
0 Drawer kick-out connector pin 2
1 Drawer kick-out connector pin 5
output a pulse.
[Default] Neither m, n1, nor n2 is defined.
ESC t n
[Name] Select character code table
[Format] <1B>H<74>H<n>
[Range]
[Description] Selects page n from the character code table.
[Default] n=0
[Reference] APPENDIX D Character Code Tables
ESC u n
[Name] Transmit printer status
[Format] <1B>H<75>H<n>
[Range] n=0
[Description] Transmit the current status of connector pin.
n is specified as follows:
l
n Connector pin
0 Drawer kick-out connector pin 3
40
Downloaded from www.Manualslib.com manuals search engine
[Notes] l The transmitted status is only one byte and the data is as shown
in the following table.
l If nothing is connected with Drawer kick-out connector, bit 0 of n
is always “1".
l When DTR/DSR control is selected, one byte is transmitted af-
ter confirming that the host computer is ready to receive data
(DSR is SPACE).
l When XON/XOFF control is selected, one byte is transmitted
without checking the DSR signal.
l When DTR/DSR control is selected, if the host computer is not
ready to receive data (DSR is MARK), the printer waits until it
becomes ready.
Value
Bit Function 0 1
0 Pin 3 level "LOW" "HIGH"
1 Undefined
2 Undefined
3 Undefined
4 Unused Fixed to 0
5 Undefined
6 Undefined
7 Undefined
ESC v
[Name] Transmit printer status
[Format] <1B>H<76>H
[Description] The current printer status is transmitted to the host computer.
[Notes] lThe transmitted status is only one byte and the data is as shown
in the following table.
lWhen DTR/DSR control is selected, one byte is transmitted af-
ter confirming that the host computer is ready to receive data
(DSR is SPACE).
When XON/XOFF control is selected, one byte is transmitted
l
41
Downloaded from www.Manualslib.com manuals search engine
Value
B i t Function 0 1
7 Undefined
ESC {n
[Name] Set/cancel upside-down character printing
[Format] <1B>H<7B>H<n>
[Range]
[Description] Sets or cancels upside-down character printing.
l Only the lowest bit of n is valid.
[Default] n = O
A B C D E F G
0 1 2 3 4 5 6
Paper-feed direction
42
Downloaded from www.Manualslib.com manuals search engine
GS FF
[Name] Print and eject label
[Format] <1D>H<OC>H
[Description] Prints the data in the print buffer on the label and ejects it.
l Ejects the label until it can be peeled off by fingers.
l After ejection, an error LED is lit and waits until the paper feed
switch is pressed.
l When the paper feed switch is pressed, it is assumed that the
label has been peeled off, and then paper feeding is performed
in the reverse direction to set the next label at the starting posi-
tion for printing.
[Notes] l After checking the error LED is lit, remove the label and then
GS*n1n2[d]n1xn2x8
[Name] Define down-loaded bit image
[Format] <1D>H<2A>H<n1><n2>[<d]n1Xn2X8
[Range]
[Description] Defines a down-loaded bit image with the number of dots speci-
fied by nl and n2.
l
43
Downloaded from www.Manualslib.com manuals search engine
GS/m
[Name] Print down-loaded bit image
[Format] <1D>H<2F>H<m>
[Range]
[Description] Prints a down-loaded bit image using the mode specified by m.
l m selects the print mode from the following table.
[Notes] l If any data is present in the print buffer, this command is ig-
nored.
l If a down-loaded bit image has not been defined, this command
is ignored.
l If the down-loaded bit image data exceeds one line, the ex-
ceeds image data will not be printed.
l The user-defined characters and a down-loaded bit image can-
not be defined at the same time.
l If the down-loaded bit image data exceeds label paper, it is
printed on the next label.
defined.
l Even if the ESC @0 command (initialize the printer) is performed,
GS <
[Name] Initialize printer mechanism
[Format] <1D>H<3C>H
[Description] Positions the label for printing.
[Notes] l This command takes effect on the third and following labels.
GS A m n
[Name] Adjust label paper position to start printing
[Format] <1D>H<41>H<m><n>
[Range] 0 ≤ m ≤ 255
0 ≤ n ≤ 255
[Description] Sets the label position in terms of adjustment amount against
default position.
45
Downloaded from www.Manualslib.com manuals search engine
“m indicates adjusting direction.
u
l
GS C 0 m n
[Name] Select counter print mode
[Format] <1D>H<43>H<30>H<m><n>
[Range] 0 ≤ m≤ 5
0≤ n≤ 2
[Description] Selects print mode for the serial number counter.
l "m" indicates the number of digits to be printed.
46
Downloaded from www.Manualslib.com manuals search engine
m = 1 to 5: The maximum number of digits to be printed. When
the numerical value of the counter value is larger
than that specified by this command, prints lower
“m” digits of the counter value.
l “n” specifies the printing position within the entire range of
printed digits.
n = O: Prints with right adjusted. The empty specified
digits will be filled with spaces.
n =1 : Prints with right adjusted. The empty specified
digits will be filled with is.
n = 2: Prints with left adjusted. The empty specified digits
will be filled with spaces.
[Example] m=3, n=O m=3, n = 1 m=3, n=2
∆ indicates space
[Notes] lIf “m” or “n” is set outside of the defined range, that setting has
no effect.
[Default] m = 0
[Reference] GS Cl, GS C2, GS c, GS C;
GS C1 n1 n2 n3 n4 n5 n6
[Name] Select count mode (A)
[Format] <1D>H<43>H<31>H<n1><n2><n3><n4><n5><n6><
[Range] 0 ≤ n1 ≤ 2 5 5
O ≤ n2 ≤ 2 5 5
O ≤ n3 ≤ 2 5 5
0 ≤ n4 ≤ 255,
O ≤ n5 ≤ 2 5 5
O ≤ n6 ≤ 2 5 5
[Description] Selects count mode for the serial number counter.
With count-up
l Counts up if n1 + n2x 256 < n3 + n4 x 256, n5 ≠ 0, and n6 ≠ 0.
ln1 + n2 x 256 means the minimum counter value and n3 + n4 x
256 the maximum counter value.
GS C2 n1 n2
[Name] Set counter
[Format] <1D>H<43>H<32>H<n1><n2>
[Range] 0 ≤ n1 ≤ 2 5 5
0 ≤ n2 ≤ 2 5 5
[Description] Sets the value of the serial number counter.
l n1 + n2 x 256 is the counter value.
[Notes] l When this command is issued, the inner counter that counts
repetition number with the counter value fixed will be cleared.
With counting up
l If the counter value set by this command goes out of the counter
operation range set by GS Cl or GS C;, it will be forced to
convert to the minimum value by GS c.
With counting down
l If the counter value set by this command goes out of the counter
operation range set by GS Cl or GS C;, it will be forced to
convert to the maximum value by GS c.
48
Downloaded from www.Manualslib.com manuals search engine
[Default] n1 + n2 x 256 = 1
[Reference] GS CO, GS Cl, GS c, GS C;
49
Downloaded from www.Manualslib.com manuals search engine
lIf the counter value set by N5 goes out of the counter operation
range, it will be forced to convert to the minimum by GS c.
With counting down
lIf the counting down reaches the value less than the minimum,
it will be resumed with the maximum.
lIf the counter value set by N5 goes out of the counter operation
range, it will be forced to convert to the maximum by G3 c.
[Default] N1 = 1, N2 = 65535, N3 = 1, N5 =1
[Reference] GS CO, GS Cl, GS C2, GS c
GS H n
[Name] Select printing position of HRI characters
[Format] <1D>H<48>H<n>
[Range] O≤n≤3
[Description] Selects the printing position of HRI characters when printing a bar
code.
ln selects the printing position from the following table.
n Printing position
0 Not printed
1 Above the bar code
2 Below the bar code
GS c
[Name] Print counter
[Format] <1D>H<63>H
[Description] Prints the serial counter.
lSets the current counter value in the print buffer as a print data
(character string) and then counts up or down the counter based
on the count mode set.
50
Downloaded from www.Manualslib.com manuals search engine
[Notes] lThe syntax to be used when setting data in the print buffer
should be based upon GS CO.
lFor count mode, see GS Cl or GS C;.
With counting up
lIf the counter value set by this command goes out of the counter
operation range set by GS Cl or GS C;, it will be forced to
convert to the minimum by GS c.
With counting down
lIf the counter value set by this command goes out of the counter
operation range set by GS C1 or GS C;, it will be forced to
convert to the maximum by GS c.
GS f n
[Name] Select font for HRI characters.
[Format] <1D>H<66>H<n>
[Range] n = 0, 1
[Description] Selects a font for the HRI characters used when printing a bar
code.
ln selects the font from the following table.
n Font
0 Font A
1 Font B
GS h n
[Name] Select height of bar code
[Format] <1D>H<68>H<n>
[Range] 1 ≤ n ≤ 255
[Description] Selects the height of the bar code.
ln specifies the number of dots in the vertical direction.
[Default] n= 162
51
Downloaded from www.Manualslib.com manuals search engine
GS k n [d] k NUL
[Name] Print bar code
[Format] <1D>H<6B>H<n> [<d>]k<00>H
[Range] 0≤n≤6
[Description] Selects a bar code system and prints the bar code.
l Sets the print starting position to the beginning of the line.
[Notes] l When data is present in the print buffer, this command is ig-
nored.
l Performs the paper feeding required for printing the bar code,
printed, the printer prints the processed data and the following
data is treated as normal data.
l When a bar code system with a fixed number of printing charac-
printed.
l If data exceeds label paper, it is printed on the next label.
[Default] n=0
GS w n
[Name] Select horizontal size (magnification) of bar code.
[Code] <1D>H<77>H<n>
[Range] 2≤n≤4
[Description] Selects the horizontal size of the bar code.
[Default] n=3
52
Downloaded from www.Manualslib.com manuals search engine
GS ^ n1 n2 n3
[Name] Execute macro
[Format] <1D>H<5E>H<n1><n2><n3>
[Range] 0 ≤ n1 ≤ 255
0 ≤ n2 ≤ 255
0 ≤ n3 ≤ l
[Description] Executes a macro.
n1: Specifies the number of times to execute the macro.
n2: Specifies the waiting time for executing the macro.
n2 x 100 msec waiting time is required for one execution.
n3: Specifies the macro executing mode.
n3 = 0 Continuous macro execution.
l
Paper cannot be fed with the paper feed switch while executing
l
53
Downloaded from www.Manualslib.com manuals search engine
6-4 Program Descriptions
1. Introduction
The TM-L60 is connected to the host computer by an RS-232C Interface.
The TM-L60 is easily controlled by sending data and commands from the host
computer. The following examples use the main commands from MS-DOS
BASIC.
2. Before printing
À Connect TM-L60 to the host computer, power supply, and the drawer while
referring to Chapter 2.
Á Check that the RS-232C cable is connected properly, and the host computer
DIP-switches are set properly.
 Check the TM-L60 DIP-switches using the self test. To print on roll paper, set
the DIP SW-10 to the OFF position. To label paper, set the DIP SW-10 to ON
position.
à Connect the RS-232C cable to the host computer while referring to the
computer’s manual.
“PRINT #1", is the order that sends data and commands through the device.
This device is opened in step À .
“CHR$ (27)” is the ESC code.
In order to execute ESC @ (Initialize the printer) send “@” following the ESC
code. Always write “," at the end of the commands or BASIC will send a CR
and LF code.
54
Downloaded from www.Manualslib.com manuals search engine
 Send Print Data
120 PRINT #1, “ABCDEF”; CHR$( 10);
Always send a LF code (CHR$ (10)) after print data. To execute printing, send
a LF code or ensure the line is filled.
The number code that follows “!" alters the font, and also the mode for
character size. Therefore, the example above sets character Font B in lines
130 and 140; the style of “ABCDEF” is changed to the style of Font B.
Font code size code size code size code size
A CHR$(0) Normal CHR$(16) Double- CHR$(32) Double- CHR$(48) Quad-
height width ruple
B CHR$(1) Normal CHR$(17) Double- CHR$(33) Double- CHR$(49) Quad-
height width ruple
Font B and the size are selected until CHR$ (27); “!“; CHR$ (X); is executed
again or initialized.
170 sets Font A to Normal. 180 sets the characters for printing.
55
Downloaded from www.Manualslib.com manuals search engine
Æ Selecting the character code table.
190 FOR I = 240 TO 255
200 PRINT #l, CHR$(I);
210 NEXT I
220 ’
230 PRINT #l , CHR$(27); “t”; CHR$( 1);
240 ’
250 FOR I = 240 TO 255
260 PRINT #l, CHR$(I);
270 NEXT I
In order to print the bar code, you must send the GS code. (Refer to GS code.)
CHR$ (29)” is the GS code.
320 prints HRI (Human Readable Interpretation) as bar codes. Refer to
GS H n.
330 sets the print starting position to the specified number of dots (40).
Refer to ESC $ n1 n2.
340 prints the bar code; “K" executes printing. (Refer to GS k n [d] k NUL.)
“CHR$ (2)” selects the JAN 13 Bar code system.
56
Downloaded from www.Manualslib.com manuals search engine
The 12 characters, “012345678901” are print data.
A check-digital is added by the printer because 12 characters are sent, and
“012345678901” is printed.
“CHR$ (0)” must always be used as the last command (representing end of
data.)
The “u” command in line 360 transmits the status of the drawer kick-out to
printer. Refer to ESC u n.
370 receives the data from the printer through RS-232C.
380 and 390 display the status of the drawer kick-out on the CRT.
Close RS-232C
400 CLOSE #l
57
Downloaded from www.Manualslib.com manuals search engine
g Sample Program onto thermal paper
100 OPEN “COMl : N81 NN” AS #1
110 PRINT #l , CHR$(27); “@ ";
120 PRINT #1, “ABCDEF”; CHR$( 10);
130 PRINT #l, CHR$(27); “!"; CHR$( 1);
140 PRINT #l, “ABCDEF”; CHR$( 10);
150 PRINT #l, CHRS(27), “!“; CHR$(48);
160 PRINT #l, “ABCDEFGHIJK”; CHR$( 10);
170 PRINT #l, CHR$(27); “!“; CHR$(0);
180 PRINT #l, “ABCDEFGHIJK”; CHR$( 10);
190 FOR I = 240 TO 255
200 PRINT #l, CHR$( I);
210 NEXT I
220 ’
230 PRINT #l, CHR$(27); “t”; CHR$( 1);
240 ’
250 FOR I 240 TO 255
260 PRINT # 1, CHR$( I);
270 NEXT I
280 PRINT #l, CHR$(91); CHR$(92); CHR$(93); CHR$(94); CHR$( 10);
290 PRINT #l, CHR$(27); “R”; CHR$( 1);
300 PRINT #l, CHR$(91); CHR$(92); CHR$(93); CHR$(94); CHR$( 10);
310 PRINT #l, CHR$(27); “@“;
320 PRINT #l, CHR$(29); “H”; CHR$(2);
330 PRINT #l, CHR$(27); “$“; CHR$(40); CHRS(0);
340 PRINT #l, CHR$(29); “k”; CHR$(2); “01234567890 1”; CHR$(0);
350 PRINT #l, CHR$(27); “p”; CHR$(0); CHR$( 10); CHR$( 100);
360 PRINT #1, CHR$(27); “u”; CHR$(0);
370 PRINT A$ = INPUT$( 1, #l)
380 If A$ = CHR$(0) THEN PRINT “DRW: L”
380 If A$ = CHR$( 1) THEN PRINT “DRW: H”
400 CLOSE #l
58
Downloaded from www.Manualslib.com manuals search engine
3-2. Printing on label paper
À Open device RS-232C.
100 OPEN “COM 1: N81NN” AS #l
130 positions the next label printing. To position label to start printing, send
a FF code or GS <.
In lines 140 to 160, it selects the print mode for the serial number counter.
140 selects print format for the serial number counter. CHR$(3) (value of m)
indicates the number of digits to be printed. CHR$(0) (value of n) specifies
the printing position within the entire range of printed digits. In case n = 0, it
prints with right adjusted.
150 selects counter operation range for the serial number counter. In this
case, it counts up from 1 to 10 by 1.
160 sets the initial value of the counter. It indicates 1.
In line 170 to 190, it executes the serial number counting and to position label
to start printing.
Always send a FF code after print data.
59
Downloaded from www.Manualslib.com manuals search engine
Å Print and eject label
210 PRINT #l, “ABCDEF”; CHR$( 10);
220 PRINT #l, CHR$(29); CHR$( 12);
210 prints data, then 220 ejects label. After ejection, an ERROR LED is lit and
waits until the paper feed switch is pressed. When the paper feed switch is
pressed after ejecting label, paper feeding is performed to set the next label
at the starting position for printing.
Æ Close RS-232C
230 CLOSE #l
60
Downloaded from www.Manualslib.com manuals search engine
APPENDIX
APPENDIX A General Specifications
1. Printing specifications
Printing method: Thermal line printing
Dot density: 180 dpi
Printing direction: Uni-directional with friction feed
When the GS FF command is executed printing
is performed in the reverse direction.
Print width: 54 mm, 384-dot positions
Characters per line: Normal paper: 32 (Font A)
42 (Font B)
Label paper: 30 (Font A)
40 (Font B)
Character spacing: 0.28 mm (Font A)
0.28 mm (Font B)
Programmable by control command.
Printing speed: Approx. 12 lines/second (1/6 inch feed) (* 1)
Approx. 18 lines/second (1/9 inch feed) (* 1)
Approx. 2.0 inches/second (* 1)
61
Downloaded from www.Manualslib.com manuals search engine
Character structure: Font A: 12 x 24 (includes the horizontal 2-
dot space)
Font B: 9 x 17 (includes the horizontal 2-
dot space)
Default: Font A
Character size: 1.41 mm (W) X 3.39 mm (H) (Font A)
0.99 mm (W) X 2.40 mm (H) (Font B)
NOTE: Concerning CPL in the table above, the upper value is for thermal paper
and the lower for label paper.
3. Near-end detector
Detection method: Micro switch
Roll paper core diameter:
Specified thermal paper: Inside diameter: 12 mm
Outside diameter: 18 mm
Specified thermal label paper: Inside diameter: 12 mm
Outside diameter: 22 mm
Adjustment mechanism: Adjusting screw
The near-end detection processing is
program table by control command.
Adjustment units: Approx. 2 mm/scale division
4. Paper
4.1 Thermal paper
Paper type: Specified thermal paper
Paper thickness: 65 ±5 µm
Form: Roll paper
62
Downloaded from www.Manualslib.com manuals search engine
Paper width: 60 ± mm
Roll size: Roll diameter Max. ø83 mm
Taken up paper roll width: 60 ± mm
Specified paper: Roll paper model No.: NTP060-80
(NAKAGAWA MFG. Co., Ltd.)
[Original paper model No.:TFSOKS-E)
(JUJO PAPER CO., LTD)]
Roll paper core: Inside diameter: 12 mm
Outside diameter: 18 mm
Paper should never be pasted to the paper core.
8. Reliability
MCBF: 3.5 million lines (equivalent to 0.5 million l-inch
labels at Font A)
9. Environmental conditions
Temperature Operating: 5 to 40°C
Storage: -10 to 50°C (except for paper)
Humidity Operating: 30 to 85% (non-condensing)
Storage: 30 to 90%
(non-condensing, except for paper)
64
Downloaded from www.Manualslib.com manuals search engine
APPENDIX B Connectors
1. Connectors
2
3. Power supply connector
This connector is used to connect an external power source. SHELL
1) Pin assignment: Pin 1: +24 VDC
Pin 2: GND 1
Pin 3: Unconnected 3
SHELL: Connected to the frame ground (FG) at the
printer side.
2) Model: User side: Connector: TCP8927-63-1110
(Hoshiden or equivalent)
Cable: 2-core shielded (AWG22 X 2)
Printer side: TCS7960-53-2010 (Hoshiden or equivalent)
NOTE: Start the external power supply after connecting the external power
supply.
4. Drawer kick-out connector (Modular connector)
1) Pin assignment: Printer side connector: TM5RJ3-66 (HIROSE) or
equivalent
User-side plug: Standard 6-pin modular jack
(R11 Telephone jack)
65
Downloaded from www.Manualslib.com manuals search engine
Pin Number Signal Name Sender Connected to: Function
3 SW (+) Cash drawer Cash drawer Connected to the (+) side of
the open/close detection
switch on the cash drawer.
Pulled up through a 10 k Ω
resistor on the printer side.
4 L (+) Printer Cash drawer +24 VDC for drawer kick-out
is supplied.
5 L2 (-) Printer Cash drawer Drawer kick-out drive signal
L2.
6 SW (-) ----- Cash drawer Connected to the (-) side
of the open/dose detection
switch on the cash drawer.
Connected to the signal
ground on the printer side.
I I
2) Drawer kick-out drive signal
This signal outputs the pulses specified by the ESC p command.
The SW (+) state is checked by the host computer using the ESC u
command.
Electrical characteristics:
(a) Signal output current: Maximum -1 A (510 ms or less)
(b) Power supply output voltage: 24 VDC (typical)
(c) Power supply output current: Maximum 1 A (510 ms or less)
(d) Output waveform: Refer to Figure B-l
66
Downloaded from www.Manualslib.com manuals search engine
n1 x 2 ms n2 x 2 ms
NOTES: The circuit on the user side should be designed so that the drawer
l
APPENDIX C Interfaces
1. Specifications (RS-232C compatible)
Data transmission: Serial
Synchronization: Asynchronous
Handshaking: DTR/DSR or XON/XOFF control
Signal level: MARK = -3 to -15 V: Logic “1”
SPACE = +3 to + 15 V: Logic “0”
Baud rates: 1200,4800,9600,19200 bps
Bit length: 8 bits
Parity: Invalid, even, odd
Stop bits: 1 bit or more
Connector: D-SUB 25 pin connector
67
Downloaded from www.Manualslib.com manuals search engine
2. Interface connector terminal assignments and signal functions
Pin Number Signal Name Signal Direction Function I
1 FG - Frame ground
2 TXD output Transmit data
3 RXD Input Receive data
6 DSR Input Data set ready
7 GND - Signal GND
20 DTR output Data terminal ready
68
Downloaded from www.Manualslib.com manuals search engine
Downloaded from www.Manualslib.com manuals search engine
Downloaded from www.Manualslib.com manuals search engine
International character set
71
Downloaded from www.Manualslib.com manuals search engine
APPENDIX E Command Summary
HT Horizontal tab 26
LF Print and line feed 27
FF Print and position label to start printing 27
ESC SP Set character right-side spacing 27
ESC Set print mode 27
ESC $ Set absolute position 28
ESC % Select/cancel user-defined character set 29
ESC & Define user-defined characters 29
ESC * Set bit image mode 30
ESC 2 Set 1/6 inch line spacing 32
ESC 3 Set line spacing using minimum units 32
ESC = Select device 32
ESC @ Initialize printer 33
ESC D Set horizontal tab positions 33
ESC E Select emphasized mode 34
ESC G Select double-strike mode 35
ESC J Print and feed paper using minimum units 35
ESC R Select international character set 36
ESC V Set/cancel 90° cw rotated characters 36
ESC ¥ Set relative position 37
ESC - Turn underline mode on/off 37
ESC a Align positions 37
ESC c 4 Select paper detectors to stop printing 38
ESC c 5 Enable/disable panel switches 39
ESC d Print and feed paper n lines 39
ESC p Generate pulse 39
73
Downloaded from www.Manualslib.com manuals search engine