0% found this document useful (0 votes)
182 views0 pages

Kiosk and Ticket Printer TPTCM 60 MM / 112 MM: WWW - Custom.it

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 0

TPTCM

Kiosk and ticket printer


TPTCM
60 mm / 112 mm
User Manual
www.custom.it
TPTCM
All rights reserved. Total or partial reproduction of this manual in whatever form, whether by printed or electronic
means, is forbidden. While guaranteeing that the information contained in it has been carefully checked, CUSTOM
ENGINEERING SPA and other entities utilized in the realization of this manual bear no responsibility for how the
manual is used.
Information regarding any errors found in it or suggestions on how it could be improved are appreciated. Since
products are subject to continuous check and improvement, CUSTOM ENGINEERING SPA reserves the right to
make changes in information contained in this manual without prior notification.
COD. DOME-TPTCM REV. 1.35
Copyright 2002 CUSTOM ENGINEERING SPA Italy
CUSTOM ENGINEERING SPA
Str. Berettine 2 - 43010 Fontevivo (PARMA) - Italy
Tel.: +39 0521- 680111 - Fax: +39 0521- 610701
http: www.custom.it
Customer Service Department:
Tel.: +39 059 88 69 587
Email: support@custom.it
TPTCM
1
8
11
9
2
10
12
7
6
3
4
5
PRINTER COMPONENTS
A. TPTCM60-xC
(1)
Front external view
1- Paper roll support
2- Printer frame
3- Near paper end led
4- Status led
5- Power on led
6- Form Feed Key
7- Line Feed Key
8- Paper input
9- Printing mechanism
10- Motor
11- Cutter
12- Paper outfeed
(1)
The x suffix indicates the following models :
- TPTCM60-SC (version with serial interface)
- TPTCM60-PC (version with parallel interface)
- TPTCM60-UC (version with USB interface)
TPTCM
8
11
9
1
2
10
13
12
7
6
3
4
5
B. TPTCM60-xE
(2)
Front external view
1- Paper roll
2- Printer frame
3- Near paper end led
4- Status led
5- Power on led
6- Form Feed key
7- Line Feed key
8- Paper input
9- Printing mechanism
10- Motor
11- Cutter
12- Dispenser unit
13- Paper outfeed
(2)
The x suffix indicates the following models :
- TPTCM60-SE (version with serial interface)
- TPTCM60-PE (version with parallel interface)
- TPTCM60-UE (version with USB interface)
TPTCM
8
11
9
6
3
4
5
1
2
7
10
12
C. TPTCM112-xC
(3)
- Front external view
1- Paper roll
2- Printer frame
3- Near paper end led
4- Status led
5- Power on led
6- Form Feed key
7- Line Feed key
8- Paper input
9- Printing mechanism
10- Motor
11- Cutter
12- Paper outfeed
(3)
The x suffix indicates the following models :
- TPTCM112-SC (version with serial interface)
- TPTCM112-PC (version with parallel interface)
- TPTCM112-UC (version with USB interface)
TPTCM
8
11
9
1
2
7
10
13
12
6
3
4
5
D. TPTCM112-xE
(4)
Front external view
1- Paper roll
2- Printer frame
3- Near paper end led
4- Status led
5- Power on led
6- Form Feed key
7- Line Feed key
8- Ingresso carta
9- Printing mechanism
10- Motor
11- Cutter
12- Dispenser unit
13- Paper outfeed
(4)
The x suffix indicates the following models :
- TPTCM112-SE (version with serial interface)
- TPTCM112-PE (version with parallel interface)
- TPTCM112-UE (version with USB interface)
TPTCM
1
2
3
E. Rear external view with RS232 serial interface
1- RS232 serial connector
2- Near paper end sensor connector
3- Power supply connector
F. Rear external view with USB serial interface
1- USB serial connector
2- Near paper end sensor connector
3- Power supply connector
G. Rear external view with Centronics parallel interface
1- Centronics parallel connector
2- Near paper end sensor connector
3- Power supply connector
1
2
3
1
2
3
TPTCM
Blank page
TABLE OF CONTENTS
TPTCM i
INTRODUCTION
MANUAL CONTENTS ...................................................................................................................................... 1
EXPLANATORY NOTES USED IN THIS MANUAL ........................................................................................... 1
GENERAL SAFETY INFORMATION ................................................................................................................ 1
UNPACKING THE PRINTER ............................................................................................................................ 2
PRINTER FEATURES ...................................................................................................................................... 2
PRINTER DESCRIPTION ................................................................................................................................. 2
1. INSTALLATION AND USE
1.1 CONNECTIONS ...................................................................................................................................... 1-1
1.1.1 Power Supply.................................................................................................................................. 1-1
1.2 SELF-TEST............................................................................................................................................. 1-1
1.3 CONFIGURATION ................................................................................................................................... 1-3
1.4 HEXADECIMAL DUMP ............................................................................................................................ 1-4
1.5 MAINTENANCE ...................................................................................................................................... 1-4
1.5.1 Changing the paper roll .................................................................................................................... 1-4
1.5.2 Ticket specifications........................................................................................................................ 1-5
2. INTERFACES
2.1 RS232 SERIAL ....................................................................................................................................... 2-1
2.2 CENTRONICS PARALLEL....................................................................................................................... 2-3
2.3 USB SERIAL INTERFACE....................................................................................................................... 2-4
3. PRINTER FUNCTIONS
3.1 PRINTING MODES.................................................................................................................................. 3-1
3.2 CONTROL CHARACTERS ...................................................................................................................... 3-2
3.2.1 Custom TPT emulation................................................................................................................... 3-2
3.2.2 ESC/POS emulation......................................................................................................................3-35
4. TECHNICAL SPECIFICATIONS
4.1 TECHNICAL SPECIFICATIONS ............................................................................................................... 4-1
4.2 DIMENSIONS.......................................................................................................................................... 4-3
5. CHARACTER SETS
5.1 CHARACTER SETS ................................................................................................................................ 5-1
APPENDIX A - ACCESSORIES AND SPARE PARTS
A.1 ACCESSORIES ...................................................................................................................................... A-1
A.1.1 Power supply for TPTCM60x model printers .................................................................................... A-1
A.1.2 Power supply for TPTCM112x model printers .................................................................................. A-2
A.1.3 Plastic dispenser ............................................................................................................................ A-3
A.1.4 Positionable roll holder support ....................................................................................................... A-4
A.2 SUPPLIES.............................................................................................................................................. A-7
TABLE OF CONTENTS
TPTCM ii
Blank page
INTRODUCTION
TPTCM 1
MANUAL CONTENTS
In addition to the Introduction which includes a description of the explanatory notes used in the manual, general
safety information, how to unpack the printer and a brief description of the printer including its basic features,
this manual is organized as follows:
Chapter 1: Contains the information required for correct printer installation and its proper use
Chapter 2: Contains information on interface specifications
Chapter 3: Contains a description of the printer command set
Chapter 4: Contains Technical Specifications of the printer
Chapter 5: Contains the character sets (fonts) used by the printer
EXPLANATORY NOTES USED IN THIS MANUAL
N.B.
Gives important information or suggestions relative to the use of the printer.
WARNING
Information marked with this symbol must be carefully followed to guard against damaging the
printer.
DANGER
Information marked with this symbol must be carefully followed to guard against operator injury or
damage.
GENERAL SAFETY INFORMATION
Read and keep the instructions which follow.
Follow all warnings and instructions indicated on the printer.
Before cleaning the printer, disconnect the power supply.
Clean the printer with a damp cloth. Do not use liquid or spray products.
Do not operate the printer near water.
Do not use the printer on unstable surfaces that might cause it to fall and be seriously damaged.
Only use the printer on hard surfaces and in environments that guarantee proper ventilation.
Make sure the printer is placed in such a way as to avoid damage to its wiring.
Use the type of electrical power supply indicated on the printer label. If in doubt, contact your retailer.
Do not block the ventilation openings.
Do not introduce foreign objects of any kind into the printer as this could cause a short circuit or damage
parts that could jeopardize printer functioning.
Do not spill liquids onto the printer.
Do not carry out technical operations on the printer, with the exception of the scheduled maintenance
procedures specifically indicated in the user manual.
Disconnect the printer from the electricity supply and have it repaired by a specialized technician when:
A. The feed connector has been damaged.
B. Liquid has seeped inside the printer.
C. The printer has been exposed to rain or water.
D. The printer is not functioning normally despite the fact that all instructions in the users manual
have been followed.
E. The printer has been dropped and its outer casing damaged.
F. Printer performance is poor.
G. The printer is not functioning.
INTRODUCTION
TPTCM 2
UNPACKING THE PRINTER
Remove the printer from its carton being careful not to damage the packing material so that it may be re-used if
the printer is to be transported in the future.
Make sure that all the components listed below are present and that there are no signs of damage. If there are,
contact Customer Service.
1. Printer
2. Manual (or CD-Rom)
3. Paper roll
PRINTER FEATURES
SYMBOL LEGEND:
The symbol indicates the TPTCM60x
The symbol indicates the TPTCM112x
The TPTCM printer series is comprised of printers designed to emit high-resolution thermal-printed tickets ideal
for use in information and multimedia kiosks, self-service machines, no-queue systems, parking areas, gaming
machines and toll receipt machines.
Two ticket presentation systems are available on the TPTCM series:
- Motor-driven dispenser with sensors on the dispenser that holds the ticket while it is being printed and then
delivers it once it has been cut. Ideal for those systems requiring a variable-length ticket.
- Static presenter: Delivers and manages ticket presence using a paper sensor in outfeed. Ideal for those
systems in which printed ticket length is fixed.
The TPTCM series offers a wide range of options in addition to normal print features:
High speed printing: 140mm/sec, 120 mm/sec.
ESC/POS and CUSTOM TPT emulation.
Bar code UPC-A. UPC-E, EAN13, EAN8, CODE39, ITF, CODABAR, CODE93, CODE128 and
CODE32.
6 standard and international character set fonts.
Completely- or partially-programmable fonts.
Double width/height, quadruple width/height, expanded, italic, rotated 90, 180 and 270.
Receive buffer: 16Kbytes.
Definition of function macros for automatic operation repetition.
Internal programmable counter.
Graphic print mode.
Print density.
3 programmable logos: (448 x 585 dots) or (832 x 314 dots).
Paper cutter.
Positionable paper roll holder.
Plastic paper outfeed slot.
PRINTER DESCRIPTION
The TPTCM printers (fig.1) are comprised of a metal frame (1), paper roll holder (2), printing mechanism (3) and
cutter (4).
The following keys are located on the control panel: FORM FEED (5), LINE FEED (6), Power On LED (7),
Paper Low LED (8) and Status LED (9).
INTRODUCTION
TPTCM 3
2
1
3
5
9
6
4
8
7
When the LINE FEED (6) key is pressed, the printer advances the paper so that it may be inserted
manually in the printing mechanism. During power-up, if the LINE FEED key is held down, the printer will
perform the FONT TEST routine. If it has the version with chinese simplified font GB2312 (option 0104) at
the end of the FONT TEST is printed all characters set (about 7000).
If the FORM FEED (5) key is enabled, when it is pressed the printer advances the paper the number of
increments programmed in the Eeprom. If the FORM FEED key is not enabled and the printer is in
Custom Emulation mode, when the key is pressed, the code $0C is transmitted on the RS232 serial
line. This function may be modified by the $1B $3D software command (see section on software
commands).
During power-up, if both keys are held down, the printer enters the print setup routine. Following the
print-out of the setup report, the printer remains in standby until a key is pressed or signals arrive from
the serial port; each 10 characters it prints out hexadecimal and ASCII codes (if the characters are
underlined, the receive buffer is full); see Receive buffer hexidecimal print-out.
To entry in the notch sensor autocalibration phase (printer option 0103) press the LINE FEED key during
the printer power-up. After the beginning of the font test press, at the same time, the LINE FEED key
and the FORM FEED key. At the end of the font test the printer begin the notch threshold
autocalibration.
The Power On LED (green) indicates that the printer is on.
The Paper Low LED (red) indicates that the paper is about to run out.
The Status LED (yellow) indicates printer status; the check is made on-line. Given in the table below
are the various LED signals and the corresponding printer status.
s u t a t s D E L n o i t p i r c s e D
y d a e t S N O r e t n i r P - n o i t c n u f l a m o n
g n i k n i l b d i p a R g n i t a e h r e v O
g n i k n i l b w o l S ( d o i r e p d e d n e t x e r o f t i l ) e g a s s e m " r e p a P o N "
g n i k n i l b w o l S ( ) d o i r e p t r o h s r o f t i l s d r a w p u d e n r u t d a e H
f f o s n i a m e R n o i t c n u f l a m r e t n i r P
(Fig.1)
INTRODUCTION
TPTCM 4
Blank page
1. INSTALLATION AND USE
TPTCM 1 1-
Pin 1
J5
1.1 CONNECTIONS
1.1.1 Power supply
For the power supply, the printer is equipped with a male, 90 mobile screw (pitch 5.08mm) terminal (J 5). The
signals on the power suppy connector pins are as follows:
WARNING:
Respect power supply polarity.
. o n n i P l a n g i S
1 D N G
2 y l p p u s r e w o p c c V 4 2
1.2 SELF-TEST
Printer operating status is indicated in the configuration print-out in which, next to the name of the components
displayed (see figures 1.2 and 1.3), the following information is given:
under INTERFACE is given the interface present (RS232, CENTRONICS, USB
(1)
).
under EEPROM TEST and CUTTER TEST, the message OK appears if functioning and NOT OK if faulty.
under EJECTER TEST, the message OK appears if functioning, NONE if not present and NOT OK if faulty.
under NOTCH THRESHOLD is given the notch sensor output voltage
(2)
.
under HEAD TEMPERATURE is given the temperature of the head.
under PAPER PRINTED is given the number of centimeters of paper printed.
under CUT COUNTER is given the number of cuts made.
under POWER ON COUNTER is given the number of power-ups made.
(1)
NOTE: If the printer has a USB interface and the cable is plugged into the printer connector, the
message USB will appear next to the address assigned by the Host to the USB peripheral device
in use (see fig. 1.3).
(Fig.1.1)
(Tab.1.1)
1. INSTALLATION AND USE
TPTCM 2 1-
(2)
NOTE: If the printer has a notch sensor (opt. 0103 ) this parameter can have different values.
These values derive from the results of the notch sensor autocalibration phase, which can be
made, at the user request, at the end of the font test.On the ticket is printed notch threshold
autocalibration, and then the printer analizes a certain number of notches. After this test its
possible to get 2 voltage values Vin maximum voltage and Vin minimum voltage which give
the notch threshold value to memorize.
(3)
NOTE: If the printer has an USB interface, the serial interface configuration parameters are not
displayed.
(4)
NOTE: This parameter is displayed if the printer has an USB interface; its used to identify
univocally the USB printer by a numerical address code, if on the PC are connected two printers
that are the same models for example two TPTCM60-U.
(5)
NOTE: This parameter is displayed if the printer has an USB interface. The Status Monitor is
an additional printing driver component that allows the printer status monitoring. It must be
enabled only if it was installed the Status Monitor specific driver.

Model with serial interface Model with USB interface
(
(Fig.1.2)
* PRINTER SETUP *
INTERFACE............................: RS232
EEPROM TEST..............: OK
CUTTER TEST...............: OK
EJ ECTER TEST.............: OK
NOTCH THRESHOLD...=0.8
HEAD TEMPERATURE [C].: 22.5
PAPER PRINTED [cm]..........: 9860
CUT COUNTER.....................: 604
POWER ON COUNTER........:135
Printer emulation : CUSTOM TPT
Baud Rate
(3)
: 9600 bps
Data length
(3)
: 8 bits/chr
Parity
(3)
: None
Handshaking
(3)
: Xon/Xoff
Autofeed : CR disabled
Panel key : Enabled
Print Mode : Normal
Height Mode : x 1
Width Mode : x 1
J ustification : Left
Character set : U.S.A.
Font Dimension : 16x24 28 col
Speed / Quality : Normal
Current : Normal
Paper autoload : Enabled
Reset buffer : At Paper End
Print Density : Normal
[FF] Key to enter setup
* PRINTER SETUP *
INTERFACE............................: USB : 2
(1)
EEPROM TEST...............: OK
CUTTER TEST................: OK
EJ ECTER TEST..............: OK
NOTCH THRESHOLD...=0.8
HEAD TEMPERATURE [C].: 22.5
PAPER PRINTED [cm]..........: 9860
CUT COUNTER.....................: 604
POWER ON COUNTER........:135
Printer emulation : CUSTOM TPT
USB Address N.
(4)
: 0
USB Status Monitor
(5)
: Enabled
Autofeed : CR disabled
Panel key : Enabled
Print Mode : Normal
Height Mode : x 1
Width Mode : x 1
J ustification : Left
Character set : U.S.A.
Font Dimension : 16x24 28 col
Speed / Quality : Normal
Current : Normal
Paper autoload : Enabled
Reset buffer : At Paper End
Print Density : Normal
[FF] Key to enter setup
(Fig.1.3)
1. INSTALLATION AND USE
TPTCM 3 1-
1.3 CONFIGURATION
This printer permits the configuration of default parameters. The printers configurable parameters are:
Printer emulation: ESC/POS, CUSTOM TPT
D
.
If a serial interface is present:
Baud Rate: 57600, 38400, 19200, 9600
D
, 4800, 2400, 1200.
Data length: 7, 8 bits/char
D
.
Parity: None
D
, even or odd.
Handshaking: XON/XOFF
D
or Hardware.
If a parallel interface is present:
Select line: Select
D
, Ticket Present, Paper Low.
Fault line: Error
D
, Ticket Present, Paper Low.
USB address N. : 0
D
, 1, 2, 3, 4, 5, 6, 7, 8, 9.
USB Status Monitor : Activatedo deactivated
D
.
Autofeed: CR deactivated
D
or CR activated.
Panel keys: Activated
D
or deactivated.
Print mode: Normal
D
or Reverse.
Height mode: x1
D
, x2 or x4.
Width mode: x1
D
, x2 or x4.
Justification: Left
D
, Centered or Right.
With ESC/POS emulation:
Char/line: A=32 / B=42 columns
D
or A=42 / B=56 columns
A=58 / B=82 columns
D
or A=82 / B=104 columns
With CUSTOM TPT emulation:
Font Size:

. l o c 8 1 . l o c 8 2 . l o c 6 5
2 3 x 4 2 4 2 x 6 1 6 1 x 8

. l o c 4 3 . l o c 2 5 . l o c 4 0 1
2 3 x 4 2 4 2 x 6 1 6 1 x 8
Speed/Quality: Normal
D
, Draft or High Quality.
Paper Autoload: Deactivated
D
or Activated.
Reset buffer: Not implemented, At paper end
D
.
Print density: Normal
D
, Light, Very light, Dark, Very dark, Double copy.
General notes:
1)
The parameters marked with the symbol
D
are the default values.
2)
The symbol indicates the TPTCM60x
3)
The symbol indicates the TPTCM112x
4)
Settings remain active even after the printer has been turned off.
The settings made are stored in EEPROM (nonvolative memory).
During power-up, if both the LINE FEED and FORM FEED keys are held down, the printer enters configuration
mode and prints-out the setup report; it will remain in standby until a key is pressed or characters are received
through the communication port (see Hexadecimal dump).
When the LINE FEED key is pressed, the printer skips the setup mode and terminates the Hexadecimal dump
function.
When the FORM FEED key is pressed, the printer enters the parameter entry mode.
1. INSTALLATION AND USE
TPTCM 4 1-
3
1
2
4
1.4 HEXADECIMAL DUMP
This function is used to diagnose the characters received through the communication port; the characters are
printed out both as hexadecimal codes and ASCII codes.
Once the self-test routine has finished, the printer enters Hexadecimal Dump mode. The printer remains in
standby until a key is pressed or characters are received through the communication port.
For every 10 characters received, the hexadecimal and corresponding ASCII codes are printed out (if the
characters are underlined, the receive buffer is full).
Shown below is an example of a Hexadecimal Dump:
48 65 78 61 64 65 63 69 6D 61 Hexadecima
6C 20 64 75 6D 70 20 66 75 6E l dump fun
63 74 69 6F 6E 20 30 31 32 33 ction 0123
34 35 36 37 38 39 61 62 63 64 456789abcd
65 66 67 68 69 6A 6B 6C 6D 6E efghijklmn
6F 70 71 72 73 74 75 76 77 78 opqrstuvwx
79 7A yz
1.5 MAINTENANCE
1.5.1 Changing the paper roll
Depending on how the printer Paper Autoload parameter is set, one of two procedures must be followed:
If enabled: Position the paper roll (1), so that it unrolls correctly as shown in fig. 1.4; insert the paper into the
infeed slot (3) and wait for the roll to load automatically.
If not enabled, proceed as follows:
1) Position the paper roll (1), so that it unrolls correctly as shown in fig. 1.4;
2) Raise the print head by lifting the lever (2) in the direction indicated by the arrow;
3) Insert the end of the paper roll into the infeed slot (3) and have it pass beyond the print head;
4) Lower the head lever (3) and press the LINE FEED key (4), so that the paper will feed a few centimeters
out of the printer.
(Fig.1.4)
1. INSTALLATION AND USE
TPTCM 5 1-

ATTENTION
Before inserting the paper, make sure
it is cut cleanly.
1.5.2 Ticket specifications
If the printer has the notch sensor (opt. 0103) paper with alignment notches may be used so that tickets of a
fixed length or with pre-printed areas may be utilized. The notch must be positioned on the non-thermal ticket
side. If required, the printer can do the notch sensor autocalibration so the sensor can adjust to different kind of
paper and always identify the black notch. On fig. 1.6 and 1.7 there are notch position and dimensions on the
60 mm and 112 mm width thermal paper.
(Fig.1.5)
(Fig.1.6)
1. INSTALLATION AND USE
TPTCM 6 1-

(Fig.1.7)
2. INTERFACES
TPTCM 1 2-
1 2 3 4 5
9 8 7 6
1 2
3 4
USB
SERIAL
2.1 RS232 SERIAL
The printer has an RS232 serial interface and is connected by means of a 9 pin female connector (see fig. 2.).
In the following table, the signals present on the connector are listed:
N I P L A N G I S N O I T C E R I D O T N O I T P I R C S E D
1 D C D t u p t u O D C D ) h g i h 2 3 2 S R l e v e l t a e v i t c a ( N O r e t n i r P . t c e t e d r e i r r a C a t a D
2 D X T t u p t u O D X R ) t s o H m o r f ( t u p t u o l a i r e S . a t a d e v i e c e R
3 D X R t u p n I D X T ) t s o H s d r a w o t ( t u p n i a t a d l a i r e S . a t a d t i m s n a r T
4 . C . N - . C . N d e t c e n n o c t o N
5 D N G - D N G l a n g i s d n u o r G
6 R S D t u p t u O R S D . ) h g i h l e v e l 2 3 2 S R t a e v i t c a ( g n i t a r e p o d n a n o r e t n i r P . y d a e R t e S a t a D
7 . C . N - . C . N d e t c e n n o c t o N
8 S T R T U O S T C ) l e v e l h g i h 2 3 2 S R t a e v i t c a ( a t a d e v i e c e r o t y d a e R . d n e s o t r a e l C
9 . C . N - . C . N d e t c e n n o c t o N
(Fig.2.1)
(Tab.2.1)
2. INTERFACES
TPTCM 2 2-
SIGNAL GND
TXD
DCD
CTS
DSR
8
9
7
5
6
3
4
2
1
8
9
7
5
6
3
4
2
1
RXD
SIGNAL GND
RXD
DCD
CTS
DSR
8
9
7
5
6
3
4
2
1
TXD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TPTCM60-Sx / PC
TPTCM112-Sx
TPTCM60-Sx / PC
TPTCM112-Sx
The following diagrams show examples of connections between the printer and the Personal Computer using 25
and 9 pin female connectors.
(Fig.2.2)
(Fig.2.3)
2. INTERFACES
TPTCM 3 2-
13 1
25 14
2.2 CENTRONICS PARALLEL
The printer has a Centronics parallel interface and is connected by means of a 25-pin female connector (see fig.
2.4). In the following table, the signals present on the connector are listed:
N I P E L A N G E S E N O I Z N U F
1 e b o r t S t u p n i e b o r t S
2 0 D 0 t i b t u p n i a t a D
3 1 D 1 t i b t u p n i a t a D
4 2 D 2 t i b t u p n i a t a D
5 3 D 3 t i b t u p n i a t a D
6 4 D 4 t i b t u p n i a t a D
7 5 D 5 t i b t u p n i a t a D
8 6 D 6 t i b t u p n i a t a D
9 7 D 7 t i b t u p n i a t a D
0 1 K C A e g d e l w o n k c A
1 1 Y S U B y s u B
2 1 E P d n e r e p a P
3 1 T C E L E S d n e r e p a p r a e N / e c n e s e r p t e k c i T / t c e l e S
) * (
4 1 . C . N d e t c e n n o c t o N
5 1 T L U A F d n e r e p a p r a e N / e c n e s e r p t e k c i T / t l u a F
) * (
6 1 T E S E R t e s e r r e t n i r P
7 1 D N G D N G
8 1 . C . N d e t c e n n o c t o N
5 2 - 9 1 D N G D N G
For the parallel connector, the connection between printer and Personal Computer, must be made with a 25-
pin- to- pin connector.
(*) NOTE : Functions selecting through the parameter setting mode to the start. The signals
Select and Fault respond to the logic of functioning of the Centronics parallel port. The signal
Ticket Presence is high if the ticket is present on the mouth of exit; the signal Near paper end
is high when the RED LED has turned on.
(Tab.2.2)
(Fig.2.4)
2. INTERFACES
TPTCM 4 2-
1 2
3 4
(Tab.2.3)
(Fig.2.5)
2.3 USB SERIAL INTERFACE
Printers with USB serial interface conform to USB 1.0 standards and have the following specifications:
Communication speed 12 Mbit/sec
Receptacle series B-type connector.
Refer to the table below for the connector pin signals and connection to a device:
N I P L A N G I S N O I T P I R C S E D
1 S U B V . C . N
2 - D - a t a D
3 + D + a t a D
4 D N G l a n g i s d n u o r G
l l e h S d l e i h S d l e i h s e l b a C
Fig. 2.5 illustrates USB interface connector pin layout:
3. PRINTER FUNCTIONS
TPTCM 1 3-
TPT CM
Ticket printer
T i c k e t p r i n t e r
T P T C M
P
A
P
E
R

O
U
T
F
E
E
D

D
I
R
E
C
T
I
O
N
3.1 PRINT DIRECTION
The printer has two printing directions which can be selected by means of the control characters:normal and
reverse.
(Fig.3.1)
3. PRINTER FUNCTIONS
TPTCM 2 3-
(Tab.3.1)
3.2 COMMANDS DESCRIPTION
3.2.1 Custom TPT Emulation
The following table lists all the commands for function management in Custom TPT Emulation of the printer.
The commands can be transmitted to the printer at any moment, but they will only be carried out when the
commands ahead of them have been executed. The commands are carried out when the circular buffer is free
to do so.
COMMAND DESCRIPTION TABLE
X E H I I C S A n o i t p i r c s e D
A 0 $ F L d e e f e n i l d n a t n i r P
B 0 $ T V b a t l a c i t r e V
C 0 $ F F d e e f m r o F
D 0 $ R C n r u t e r e g a i r r a c d n a t n r P
8 1 $ N A C r e f f u b e n i l s l e c n a C
n 1 2 $ B 1 $ n ! C S E e d o m t n i r p s t e S
8 n 1 n 3 2 $ B 1 $ # C S E e g a p c i h p a r g n i a t a d s e v i e c e R
2 n 1 n 4 2 $ B 1 $ 2 n 1 n $ C S E n o i t i s o p t n i r p e d o c r a b s t e S
2 n 1 n 5 2 $ B 1 $ n % C S E e g a p c i h p a r g s t n i r P
H n L n m A 2 $ B 1 $ H n L n m * C S E e d o m e g a m i t i b s t e S
2 n 1 n B 2 $ B 1 $ 2 n 1 n + C S E e d o m c i h p a r g - i m e s n i s t n i r P
n 4 3 $ B 1 $ n 4 C S E e d o m t p i r c s s t e s e r / s t e S
n D 3 $ B 1 $ n = C S E y e k d e e f m r o f s e l b a s i d / s e l b a n E
n F 3 $ B 1 $ n ? C S E g n i t t e s r e t n i r p s t s e u q e R
0 4 $ B 1 $ @ C S E r e t n i r p e h t s t e s e R
2 n 1 n 1 4 $ B 1 $ 2 n 1 n A C S E r o t o m g n i p p e t s s e v o M
n 4 4 $ B 1 $ n D C S E y t i l i b i s n e s r e p a p t l u a f e d s t e S
n 6 4 $ B 1 $ n F C S E ) s e t y B 6 1 ( k n a b m a r o t n i k n a b h s a l f s e i p o C
n 7 4 $ B 1 $ n G C S E e d o m e k i r t s - e l b u o d s t e s e r / s t e S
n E 4 $ B 1 $ n N C S E e d o m e v i t a g e n s t e S
0 5 $ B 1 $ P C S E ) S E T Y B 4 8 3 6 1 ( t r o p m o r f k n a b m a r s l l i F
n 2 5 $ B 1 $ n R C S E e s u n i t n o f s t e S
n 3 5 $ B 1 $ n S C S E e s u n i y t i l i b i s n e s r e p a p s t e S
n 5 5 $ B 1 $ n U C S E e d o m e n i l r e d n u s t e S
n 6 5 $ B 1 $ n V C S E 0 9 y b d e t a t o r e d o m t n i r p s t e S
7 5 $ B 1 $ W C S E e n i l t o d c i h p a r g a s t n i r P
2 n 1 n A 5 $ B 1 $ 2 n 1 n Z C S E r e b m u n s p e t s d e e f m r o f s t e S
H n L n C 5 $ B 1 $ H n L n \ C S E n o i t i s o p t n i r p e v i t a l e r s t e S
n 1 6 $ B 1 $ n a C S E n o i t a c i f i t s u j s t c e l e S
n 4 3 $ 3 6 $ B 1 $ n 4 c C S E g n i t n i r p p o t s o t r o s n e s r e p a p s t c e l e S
n 5 3 $ 3 6 $ B 1 $ n 5 c C S E s n o t t u b l e n a p s e l b a s i d / s e l b a n E
n 4 6 $ B 1 $ n d C S E s e n i l n r e p a p d e e f d n a s t n i r P
n 6 6 $ B 1 $ n f C S E t n o f t l u a f e d s t e S
n 7 6 $ B 1 $ n g C S E e d o m g n i t n i r p d e r s t e s e r / s t e S
9 6 $ B 1 $ i C S E y l e t e l p m o c r e p a p s t u C
D 6 $ B 1 $ m C S E y l l a i t r a p r e p a p s t u C
n 2 7 $ B 1 $ n r C S E ) s e t y b k 6 1 ( k n a b h s a l f o t n i k n a b m a r s e i p o C
3 7 $ B 1 $ s C S E ) s e t y b k 6 1 ( t r o p o t k n a b m a r s d n e S
6 7 $ B 1 $ v C S E s u t a t s r e t n i r p t i m s n a r T
3. PRINTER FUNCTIONS
TPTCM 3 3-
X E H I I C S A n o i t p i r c s e D
A 7 $ B 1 $ z C S E e u l a v b a t l a c i t r e v s t e S
n B 7 $ B 1 $ n { C S E g n i t n i r p r e t c a r a h c n w o d - e d i s p u l e c n a c / s t e S
C 7 $ B 1 $ } { C S E e g a p c i h p a r g s l e c n a C
L y H y L x H x n A F $ B 1 $ L y H y L x H x n } { C S E k n a b c i h p a r g s t n i r P
H n L n B F $ B 1 $ H n L n } { C S E t r o p l a i r e s o t k n a b m a r s t i m s n a r T
n C F $ B 1 $ n } { C S E k n a b m a r o t n i k n a b h s a l f s r e f s n a r T
H n L n D F $ B 1 $ H n L n } { C S E t r o p l a i r e s m o r f k n a b m a r s e v i e c e R
n E F $ B 1 $ n } { C S E k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
A 3 $ D 1 $ : S G n o i t i n i f e d o r c a m f o d n e / t r a t s s t e S
m n 0 3 $ 3 4 $ D 1 $ m n 0 C S G e d o m t n i r p r e t n u o c s t c e l e S
H b L b H a L a 1 3 $ 3 4 $ D 1 $
r n
r n H b L b H a L a 1 C S G ) A ( e d o m t n u o c s t c e l e S
H n L n 2 3 $ 3 4 $ D 1 $ H n L n 2 C S G r e t n u o c s t e S
b s B 3 $ a s B 3 $ 3 4 $ D 1 $
c s B 3 $ r s B 3 $ n s B 3 $
B 3 $
; c s ; r s ; n s ; b s ; a s ; C S G ) B ( e d o m t n u o c s t c e l e S
n 8 4 $ D 1 $ n H S G n o i t i s o p t n i r p I R H s t c e l e S
n 9 4 $ D 1 $ n I S G D I r e t n i r p s t i m s n a r T
m t r E 5 $ D 1 $ m t r ^ S G o r c a m s e t u c e x E
3 6 $ D 1 $ c S G r e t n u o c s t n i r P
] l [ ] m [ n 5 6 $ D 1 $ ] l [ ] m [ n e S G s d n a m m o c t e k c i t s t c e j E
n 8 6 $ D 1 $ n h S G t h g i e h e d o c r a b s t c e l e S
D 0 $ > I R H < n B 6 $ D 1 $ R C > I R H < n k S G e d o c r a b a s t n i r P
6 7 $ D 1 $ v S G t s e u q e r s u t a t s d e d n e t x E
7 7 $ D 1 $ n w S G h t d i w e d o c r a b s t c e l e S
n 0 E $ D 1 $ n } { S G k c a b S U T A T S L L U F c i t a m o t u a e l b a s i d / e l b a n E
2 E $ D 1 $ } { S G r e t n i r p e h t m o r f d e m r o f r e p s t u c f o r e b m u n g n i d a e R
5 E $ D 1 $ } { S G p u r e w o p f o r e b m u n g n i d a e R
In the table listed above, the commands marked with this symbol are defined only for the serial
interface.
Given below are more detailed descriptions of each command.
A 0 $
[Name] Print and line feed
[Format] ASCII LF
Hex 0A
Decimal 10
[Description] Prints the data in the buffer and feeds one line based on the current line spacing.
[Notes] Sets the print position to the beginning of the line.
[Default]
[Reference] $1B $32, $1B $33
[Example]
3. PRINTER FUNCTIONS
TPTCM 4 3-
B 0 $
[Name] Vertical tab
[Format] ASCII VT
Hex 0B
Decimale 11
[Description] When this character is received , the paper forward feeds by n lines (default value : 10).
This value can be modified by using the command $1B $7A. When the printer is next
initialized, the default value is reset.
[Notes]
[Default]
[Reference]
[Example]
C 0 $
[Name] Form Feed
[Format] ASCII FF
Hex 0C
Decimal 12
[Description] If the buffer contains any characters, these are printed and the paper forward feeds until
the detection of a reference mark on the paper, signalled by the NICK photocell. Alterna-
tively the paper forward feeds by the number of dotlines preset by the command $1B
$5C.
[Notes]
[Default]
[Reference]
[Example]
D 0 $
[Name] Carriage return
[Format] ASCII CR
Hex 0D
Decimal 13
[Description] When autofeed is CR enabled, this command functions in the same way as $0A,
otherwise it is disregarded.
[Notes] The command sets the print position at the beginning of the line.
[Default]
[Reference] $0A
[Example]
8 1 $
[Name] Cancel print data buffer
[Format] ASCII CAN
Hex 18
Decimal 24
3. PRINTER FUNCTIONS
TPTCM 5 3-
[Description] Deletes all the print data in the current print buffer.
[Notes] The command set the print position to the beginning of the line
[Default]
[Reference]
[Example]
n 1 2 $ B 1 $
[Name] Select print modes
[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
[Range]
[Description] This command sets the print mode. Each bit of n is read as follows:
t i B F n o i t c n u 0 1
0 D E V R E S E R
1 D E V R E S E R
2 ) 6 1 x 8 r o f y l n o ( t p i r c s b u s r o t p i r c s r e p u s s t c e l e S t p i r c s r e p u S t p i r c s b u S
3 . u . n
4 t h g i e h e l b u o D l e c n a C t e S
5 h t d i w e l b u o D l e c n a C t e S
6 t h g i e h e l p u r d a u Q l e c n a C t e S
7 h t d i w e l p u r d a u Q l e c n a C t e S
[Notes] Height and width commands set the mode for a whole line.
[Default] n=0
[Reference]
[Example]
8 n . . . 1 n 3 2 $ B 1 $
[Name] Receives data in graphic page
[Format] ASCII ESC # n1 n8
Hex 1B 23 n1 n8
Decimal 27 35 n1 n8
[Description] This receives an array of data an arranges it in a graphic page at the given coordinates.
The coordinates define the vertices of a window in which the data is stored.
x1=(n1 * 256) +n2
y1=(n3 * 256) +n4
3. PRINTER FUNCTIONS
TPTCM 6 3-
x2=(n5 * 256) +n6
y2=(n7 * 256) +n8
The values of coordinates x1 and x2 are aligned with the byte.
[Notes]
[Default]
[Reference]
[Example]
2 n 1 n 4 2 $ B 1 $
[Name] Sets bar code printing position.
[Format] ASCII ESC $ n1 n2
Hex 1B 24 n1 n2
Decimal 27 36 n1 n2
[Description] The bar code is printed at position (n1*256) +n2. If the value exceeds 448 832,
it is rejected.
[Notes] indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference]
[Example]
2 n 1 n 5 2 $ B 1 $
[Name] Prints grahic page.
[Format] ASCII ESC % n1 n2
Hex 1B 25 n1 n2
Decimal 27 37 n1 n2
[Description] Prints graphic page starting from the beginning for a number of lines eqaul to (n1*256) +
n2; if the vaule is higher than the lines availables ( 292 157), it print the entire
page.
[Notes] indicates TPTCM60x indicates TPTCM112x
[Default]
[Example]
k d . . . 1 d H n L n m A 2 $ B 1 $
[Name] Select bit image mode
[Format] ASCII ESC * m nL nH d1...dk
Hex 1B 2A m nL nH d1...dk
Decimal 27 42 m nL nH d1...dk
[Range] m =0, 1, 32, 33
0 nL 255
0 nH 3 9
0 d 255
[Description] Selects a bit image mode using m for the number of dots specified by nL and nH, as
follows:
3. PRINTER FUNCTIONS
TPTCM 7 3-

m e d o M
n o i t c e r i d l a c i t r e V ) 1 * ( n o i t c e r i d l a t n o z i r o H
s t o d . N I P D I P D ) k ( a t a D f o . N
0 y t i s n e d e l g n i s t o d 8 8 7 6 0 0 1 6 5 2 x H n + L n
1 y t i s n e d e l b u o d t o d 8 8 7 6 0 0 2 6 5 2 x H n + L n
2 3 y t i s n e d e l g n i s t o d 4 2 4 2 0 0 2 0 0 1 3 x ) 6 5 2 x H n + L n (
3 3 y t i s n e d e l b u o d t o d 4 2 4 2 0 0 2 0 0 2 3 x ) 6 5 2 x H n + L n (
[Notes] The nL and nH indicates the number of bytes.
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. Set a corresponding bit to 1 to print a dot, or to 0 to not
print the dot.
If the value of m is outside the specified range, nL and data following it are processed
as normal data.
To print the bit image use $0A, $0D or $1B $64.
After printing a bit image, the printer returns to normal data processing mode.
This command is not affected by the emphasized, double-strike, underline (etc.) print
modes, except for the upside-down mode.
The relationship between the image data and the dots to be printed is as follows:
8-dot bit image 24-dot bit image
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference]
[Example]
2 n 1 n B 2 $ B 1 $
[Name] Semi-graphic printing mode
[Format] ASCII ESC + n1 n2
Hex 1B 2B n1 n2
Decimal 27 43 n1 n2
[Description] The bar code is printed at position (n1*256) +n2. If the value exceeds 448 832, it is
rejected.
The number of characters to be received is (n1*256) +n2.
3. PRINTER FUNCTIONS
TPTCM 8 3-
In this mode, the bytes received are input in the line buffer at the current position of the
cursor and in a different order from that of the previous command. Lets imagine that a
print line consists of an array of 24 rows containing 56 / 104 bytes each: the
characters received after this command will be input starting from the top line and
proceeding towards the bottom line. After 24 characters, the pointer increases and
proceeds to the next position. At the 56
th
/ 104
th
position the line is printed and filling
continues on the next line. Thanks to this procedure, text and graphics can be
combined. In fact, if, for example, there were any characters present in the print buffer,
the bytes subsequent to this command would be input in the position immediately after.
Figure 1 shows a line buffer: each box corresponds to 8 dots, which on paper correspond
to 1 mm, both horizontally and vertically. To fill the memory completely, 1344 / 2496
bytes are required. For example, to print a filled bar 448 / 832 dots long and 24 dots
high, send the following command:
$1B +$2B +$05 +$40 +(1344* $FF)
$1B +$2B +$09 +$C0 +(2496* $FF)
buffer position
1 2 104 3 4 5 6 7 8 9 56 56
TPTCM112x TPTCM60x
[Notes] indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference]
[Example]
n 4 3 $ B 1 $
[Name] Set/reset italic mode
[Format] ASCII ESC 4 n
Hex 1B 34 n
Decimal 27 52 n
[Range] 0 n 1, 48 n 49
[Description] Turns italic mode on or off, based on the following values of
n n o i t c n u F
8 4 , 0 e d o m c i l a t i f f o s n r u T
9 4 , 1 e d o m c i l a t i n o s n r u T
line 1
line 24
3. PRINTER FUNCTIONS
TPTCM 9 3-
[Notes] The printer can print any character in italic mode.
When italic mode is turned off by setting the value of n to 0 or 48, the data which
follows is printed in normal mode.
Italic mode can also be turned on or off using $1B $21. Note, however, that the last
received command is the effective one.
[Default] n =0
[Reference] $1B $21
[Example]
n D 3 $ B 1 $
[Name] Enables / Disables Form Feed key
[Format] ASCII ESC = n
Hex 1B 3D n
Decimal 27 61 n
[Description] This command is used to control the Form Feed key. Normally, when this key is
pressed, the paper forward feeds until a reference mark is detected or until the steps set
by the $1B $5C command have been completed. When the key is released, a character
$0C is transmitted. In this way a controller can check the output of receipts with progres-
sive number etc. directly.
n =0 Disables transmission - Enables the Form Feed key
n >0 Enables transmission when the Form Feed key is pressed.
[Notes]
[Default]
[Reference]
[Example]
) E C A F R E T N I L A I R E S H T I W Y L N O ( n F 3 $ B 1 $
[Name] Printer setting request
[Format] ASCII ESC ? n
Hex 1B 3F n
Decimal 27 63 n
[Range] 32 n 126
[Description] This command transmits two bytes to serial port, when each bit indicates the printer
setting. The meaning of these bytes depends on the n parameter:
with n =0
Byte 1
1 t i B t i B 0 n o i t c n u F n o i t p i r c s e D
0 0 l a m r o N e d o m H
0 1 e l b u o D e d o m H
1 0 e l p u r d a u Q e d o m H
1 1 d e s u t o N e d o m H
3. PRINTER FUNCTIONS
TPTCM 10 3-
3 t i B t i B 2 n o i t c n u F n o i t p i r c s e D
0 0 l a m r o N e d o m V
0 1 e l b u o D e d o m V
1 0 e l p u r d a u Q e d o m V
1 1 d e s u t o N e d o m V
4 t i B n o i t c n u F n o i t p i r c s e D
- d e s u t o N -
5 t i B n o i t c n u F n o i t p i r c s e D
0 t p i r c s r e p u S
t p i r c s b u S / t p i r c s r e p u S
1 t p i r c s b u S
6 t i B n o i t c n u F n o i t p i r c s e D
0 F F O e s r e v e R
e s r e v e R
1 N O e s r e v e R
7 t i B n o i t c n u F n o i t p i r c s e D
0 F F O n o i t a t o R
n o i t a t o R
1 N O n o i t a t o R
Byte2
0 t i B n o i t c n u F
0 d e l b a n e r e t t u C
1 d e l b a s i d r e t t u C
1 t i B n o i t c n u F
0 d e l b a n e d n e r e p a P
1 d e l b a s i d d n e r e p a P
2 t i B n o i t c n u F
0 d e l b a n e d e e F m r o F
1 d e l b a s i d d e e F m r o F
3 t i B n o i t c n u F
0 d e l b a n e d e e f o t u A
1 d e l b a s i d d e e f o t u A
3. PRINTER FUNCTIONS
TPTCM 11 3-
4 t i B n o i t c n u F
0 2 3 x 4 2 t n o F
1 4 2 x 6 1 t n o F r o 6 1 x 8 t n o F
5 t i B t i B 6 7 t i B n o i t c n u F
- - - d e s u t o N
with n=1
1 e t y B ) B A T l a c i t r e V ( B A T V r o f s d e e f e n i l f o r e b m u n s e t a c i d n I
2 e t y B e u l a v d a e h g n i t n i r p s e t a c i d n I
with n=2
1 e t y B 2 e t y B n o i t p i r c s e D
H L D E E F M R O F r o f s e n i l t o d f o r e b m u n s e t a c i d n I
with n=3
Byte 1
t i B n o i t c n u F
0
e z i s e d o C r a B s e t a c i d n I 1
2
3
I R H s e t a c i d n I
) 1 (
n o i t i s o p g n i t n i r p
4
5 D E V R E S E R
6 D E V R E S E R
7 D E V R E S E R
(1)
These bits correspond to the coding assigned with the $1D $48 and $1D $77
commands.
2 e t y B t h g i e h e d o C r a B s e t a c i d n I
[Notes]
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 12 3-
0 4 $ B 1 $
[Name] Initialize printer
[Format] ASCII ESC @
Hex 1B 40
Decimal 27 64
[Description] When this command is received, the printer resets, restoring the default programming
and erasing the RAM.The machine requires approx. 3 seconds from reception of the
command to regain its full operating capacity.
[Notes] Same as hardware reset.
[Default]
[Reference]
[Example]
2 n 1 n 1 4 $ B 1 $
[Name] Moves stepping motor
[Format] ASCII ESC A n1 n2
Hex 1B 41 n1 n2
Decimal 27 65 n1 n2
[Description] This command moves the paper feeding step motor by a number of steps equal to
(n1*256) +n2.
[Notes]
[Default]
[Reference]
[Example]
n 4 4 $ B 1 $
[Name] Sets the default paper sensibility.
[Format] ASCII ESC D n
Hex 1B 44 n
Decimal 27 68 n
[Range]
[Description] This command sets the default paper sensibility. The current paper sensibility in use is
also changed.
[Notes]
[Default]
[Reference]
[Example]
n 6 4 $ B 1 $
[Name] Copy flash bank into ram bank (16kbytes)
[Format] ASCII ESC F n
Hex 1B 46 n
Decimal 27 70 n
[Range] 1 n 6
3. PRINTER FUNCTIONS
TPTCM 13 3-
[Description] The value of n determines flash bank:
n =1 1
st
bank
n =2 2
nd
bank
n =3 3
rd
bank
n =4 4
th
bank
n =5 5
th
bank
n =6 6
th
bank
if n =0 or n >6 the command is ignored.
[Notes]
[Default]
[Reference]
[Example]
n 7 4 $ B 1 $
[Name] Turn double-strike mode On/Off.
[Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n
[Range] 0 n 255
[Description] Turn double-strike mode On or Off.
When the LSB of n is 0, double-strike mode is turned off.
When the LSB of n is 1, double-strike mode is turned on.
[Notes] Only the LSB of n is active.
Printer output is the same in double-strike mode and emphasized mode.
[Default] n =0
[Reference]
[Example]
n E 4 $ B 1 $
[Name] Sets negative mode.
[Format] ASCII ESC N n
Hex 1B 4E n
Decimal 27 78 n
[Description] Sets or cancel printing negative mode.
n =0 Normal print
n <>0 Negative print
[Notes]
[Default] n =0
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 14 3-
0 5 $ B 1 $
[Name] Fill ram bank from port (serial or parallel).
[Format] ASCII ESC P 16384 bytes
Hex 1B 50 16384 bytes
Decimal 27 80 16384 bytes
[Description] This command can transfer graphic page into ram.
56 104 bytes is an horizontal dotline of 448 832 dots; for 292 157
dotlines.
The number of bytes that make graphic page is 56x292 =16352 104x157 =
16328, the others 32 56 bytes must be sent, but are not important.
[Notes] indicates TPTCM60x indicates TPTCM112x
[Default] n =0
[Reference]
[Example]
n 2 5 $ B 1 $
[Name] Sets font.
[Format] ASCII ESC R n
Hex 1B 52 n
Decimal 27 82 n
[Range] 0 n 12
[Description] It sets the font currently being used. This setting is maintained until a new command
given or the machine is reset.
n =01h Font 8x16
n =02h Font 16x24
n =03h Font 24x32
[Notes]
[Default] n =0
[Reference]
[Example]
n 3 5 $ B 1 $
[Name] Sets paper sensibility.
[Format] ASCII ESC S n
Hex 1B 53 n
Decimal 27 83 n
[Description] It sets the paper sensibility currently in used. This setting is maintained until a new
command is given or the machine is reset.
n =$00 High
n =$01 Normal
n =$02 Medium
n =$03 Low
n =$04 Double copy
[Notes]
[Default]
3. PRINTER FUNCTIONS
TPTCM 15 3-
[Reference]
[Example]
n 5 5 $ B 1 $
[Name] Sets underlined mode.
[Format] ASCII ESC U n
Hex 1B 55 n
Decimal 27 85 n
[Description] Sets or cancels the underline printing mode.
n =0 Normal print
n <>0 Underlined mode
[Notes]
[Default]
[Reference]
[Example]
n 6 5 $ B 1 $
[Name] Sets the print mode rotated by 90.
[Format] ASCII ESC V n
Hex 1B 56 n
Decimal 27 86 n
[Description] Sets or cancels the 90 printing flag rotation in according to n :
n =0 Normal print
n <>0 Rotated print
The printing direction depends of the reverse bit.
[Notes]
[Default]
[Reference]
[Example]
7 5 $ B 1 $ s e t y b 6 5 s e t y b 4 0 1
[Name] Prints a graphic dotline.
[Format] ASCII ESC W 56 bytes 104 bytes
Hex 1B 57 56 bytes 104 bytes
Decimal 27 87 56 bytes 104 bytes
[Description] This command prints a dotline (448 832 dots) after 56 104 bytes and feeds
the paper.
[Notes] indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 16 3-
2 n 1 n A 5 $ B 1 $
[Name] Sets the number of steps for form feed.
[Format] ASCII ESC Z n1 n2
Hex 1B 5A n1 n2
Decimale 27 90 n1 n2
[Description] When the printer receives an $0C character, or when the FF key is pressed, the paper
forward feeds until the photocell finds a reference point or up to the distance preset in the
Eeprom. The default value, which is 240 (30 mm), can be modified by the user. The
number of steps is given by (n1*256) +n2. The set value is stored in the Eeprom, and
continues to be stored even when the printer is switched off.
[Notes]
[Default]
[Reference]
[Example]
H n L n C 5 $ B 1 $
[Name] Set relative print position
[Format] ASCII ESC \ nL nH
Hex 1B 5C nL nH
Decimal 27 92 nL nH
[Range] 0 nL 255
0 nH 255
[Description] Sets the print starting position based on the current position by using the horizontal or
vertical motion unit.
This command sets the distance from the current position to [(nL+nH 256) (horizon-
tal or vertical motion unit)].
[Notes] Any setting that exceeds the printable area is ignored.
When the starting position is specified by n motion units to the right:
nL +nH 256 =n
When the starting position is specified by n motion units to the left (negative direction),
use the complement of 65536:
nL +nH 256 =65536 n
If setting exceeds the printing area width, the left or right margin is set to the default
value.
In standard mode, the horizontal motion unit is used.
[Default]
[Reference]
[Example]
n 1 6 $ B 1 $
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 n 2, 48 n 50
[Description] Aligns all data in one line to the specified position.
n selects the type of justification as follows:
3. PRINTER FUNCTIONS
TPTCM 17 3-
n Justification
0, 48 Flush left
1, 49 Centered
2, 50 Flush right
[Notes] This command is only enabled when inserted at the beginning of a line.
Lines are justified within the specified printing area.
Spaces set by $1B $24 and $1B $5C will be justified according to the previously-
entered mode.
[Default] n =0
[Reference]
[Example] Flush left Centered Flush right
n 4 3 $ 3 6 $ B 1 $
[Name] Select paper sensor to stop printing.
[Format] ASCII ESC c 4 n
Hex 1B 63 34 n
Decimale 27 99 52 n
[Range] 0 n 255
[Description] Selects the paper sensor used to stop printing when a near paper-end is deleted, using n
as follows :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 . d e l b a n e r o s n e s d n e l l o r r e p a P
n O 01 1 . d e l b a n e r o s n e s d n e - r a e n l l o r r e p a P
1 - - - D E V R E S E R
2 - - - D E V R E S E R
3 - - - D E V R E S E R
4 - - - D E V R E S E R
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 - - - D E V R E S E R
[Notes] When a near paper-end is detected, printing stops after printing the current line and
feeding the paper.
The paper roll near-end sensor is enabled when either bit 0 is 1.
This setting is not cleared by printer resetting, because it is stored in the Eeprom.
[Default] n =0
[Reference]
[Example]
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
3. PRINTER FUNCTIONS
TPTCM 18 3-
n 5 3 $ 3 6 $ B 1 $
[Name] Enable/disable front panel buttons
[Format] ASCII ESC c 5 n
Hex 1B 63 35 n
Decimal 27 99 53 n
[Range] 0 n 255
[Description] Enables/disables the buttons on the front panel.
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] Only the LSB of n is effective.
On the printer, the panel buttons are LINE FEED and FORM FEED.
When the panel buttons are disabled, the buttons may only be used after the printer
has been reset.
[Default] n =0
[Reference]
[Example]
n 4 6 $ B 1 $
[Name] Print and feed paper n lines
[Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n
[Range] 0 n 255
[Description] Prints the data in the print buffer and feeds the paper n lines.
[Notes] Sets the print starting position at the beginning of the line.
This command does not affect the line spacing set by $1B $32 or $1B $33.
The maximum paper feed amount is 200 lines. Even if a paper feed amount of more
than 200 lines is set, the printer feeds the paper only 200 lines.
[Default]
[Reference] $1B $32, $1B $33
[Example]
n 6 6 $ B 1 $
[Name] Sets the default font.
[Format] ASCII ESC f n
Hex 1B 66 n
Decimal 27 102 n
[Description] This command sets the default font. The font currently in use is also changed.
n =$01 Font 8x16
n =$02 Font 16x24
n =$03 Font 24x32
[Notes]
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 19 3-
n 7 6 $ B 1 $
[Name] Set/reset red printing mode
[Format] ASCII ESC g n
Hex 1B 67 n
Decimal 27 103 n
[Range] 0 n 1, 48 n 49
[Description] Sets and resets red printing mode.
n Function
0, 48 Reset red printing mode
1, 49 Set red printing mode
[Notes] The printer prints only entire lines in red, not individual characters.
The printer prints red only if enabled by Setup.
[Default] n =0
[Reference]
[Example]
9 6 $ B 1 $
[Name] Total cut
[Format] ASCII ESC i
Hex 1B 69
Decimal 27 105
[Description] This command enables cutter operation. If there is no cutter, a disabling flag is set and
any subsequent cut commands will be ignored.
[Notes] The printer waits to complete all paper movement commands before it executes a total
cut.
With the TPT112H model, the kind of cutter sets total or partial cut.
[Default]
[Reference]
[Example]
D 6 $ B 1 $
[Name] Partial cut
[Format] ASCII ESC m
Hex 1B 6D
Decimal 27 109
[Description] This command enables partial cutter operation. If there is no cutter, a disabling flag is set
and any subsequent cut commands will be ignored.
[Notes] The printer waits to complete all paper movement commands before it executes a
partial cut.
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 20 3-
n 2 7 $ B 1 $
[Name] Copy ram bank into flash bank (16Kbytes)
[Format] ASCII ESC r n
Hex 1B 72 n
Decimal 27 114 n
[Range] 1 n 6
[Description] The value of n selects the flash bank :
n =1 1
st
bank
n =2 2
nd
bank
n =3 3
rd
bank
n =4 4
th
bank
n =5 5
th
bank
n =6 6
th
bank
If n =0 or n >6 the command is ignored.
For about 1 sec. the printer does not receive characters or commands. The serial version
(TPT60S4) return :
$77 if flash memory is not programmed
$88 if flash memory is not erased
$AA if flash memory is programmed.
[Notes]
[Default]
[Reference]
[Example]
) E C A F R E T N I L A I R E S Y L N O ( 3 7 $ B 1 $
[Name] Sends ram bank to port (16Kbytes)
[Format] ASCII ESC s
Hex 1B 73
Decimal 27 115
[Description] This commands sends 16384 RAM bytes to serial port.
[Notes]
[Default]
[Reference]
[Example]
) E C A F R E T N I L A I R E S Y L N O ( 6 7 $ B 1 $
[Name] Transmit status request.
[Format] ASCII ESC v
Hex 1B 76
Decimal 27 118
[Description] This command transmits a byte, where each bit indicates the printer status, to serial
port.
3. PRINTER FUNCTIONS
TPTCM 21 3-
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 d n e r e p a p r a e N
n O 1 0 1 e c n a d n u b a n i e c n e s e r p r e p a P
1
f f O 0 0 0 d e t c e t e d t o n h c t o N
n O 2 0 2 l l e c o t o h p m o r f d e t c e t e d h c t o N
2
f f O 0 0 0 t u o r e p a P
n O 4 0 4 e c n e s e r p r e p a P
3
f f O 0 0 0 d e s a e l e r y e k d e e F e n i L
n O 8 0 8 d e s s e r p y e k d e e F e n i L
4
f f O 0 0 0 d e s a e l e r y e k d e e F m r o F
n O 0 1 6 1 d e s s e r p y e k d e e F m r o F
5
f f O 0 0 0 t c e r r o c e r u t a r e p m e t d a e H
n O 0 2 2 3 r o r r e e r u t a r e p m e t d a e H
6
f f O 0 0 0 f f o r o t o M
n O 0 4 4 6 n o r o t o M
7
f f O 0 0 0 r o r r e o N
n O 0 8 8 2 1 . c t e , p u d a e H , d n e r e p a p o t e u d r o r r E
[Notes] This command is executed immediately, even when the data buffer is full (Busy ).
[Default]
[Reference]
[Example]
A 7 $ B 1 $
[Name] Sets the vertical tab value.
[Format] ASCII ESC z
Hex 1B 7A
Decimal 27 122
[Description] Sets the number of feeds lines when a vertical tab character is received. The default value
on switching on the printer is 10. The set value is valid until the printer is next initialized.
[Notes]
[Default]
[Reference]
[Example]
n B 7 $ B 1 $
[Name] Turn upside-down printing mode on/off
[Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n
[Range] 0 n 255
[Description] Turns upside-down printing mode on or off.
When the LSB of n is 0, the upside-down printing mode is off.
When the LSB of n is 1, the upside-down printing mode is on.
[Notes] Only the LSB of n is effective.
This command is valid only if entered at the beginning of a line.
In upside-down printing mode, the printer rotates the line to be printed 180 and then
prints it.
3. PRINTER FUNCTIONS
TPTCM 22 3-
[Default] n =0
[Reference]
[Example] Upside-down printing Off Upside-down printing On
C 7 $ B 1 $
[Name] Delete graphic pge.
[Format] ASCII ESC {}
Hex 1B 7C
Decimale 27 124
[Description] This command deletes graphic page.
[Notes]
[Default]
[Reference]
[Example]
L y H y L x H x n A F $ B 1 $
[Name] Print graphic bank( 448 585 dots 832 x 315 dots).
[Format] ASCII ESC {} n xH xL yH yL
Hex 1B FA n xH xL yH yL
Decimal 27 250 n xH xL yH yL
[Range] 0 n 3
0 xH, xL, yH, yL 255
[Description] Prints graphic bank from flash or ram.
n selects the graphic source as follows:
n n o i t c n u F
0 k n a b m a r t n i r P
1 1 o g o l k n a b h s a l f t n i r P
2 2 o g o l k n a b h s a l f t n i r P
3 3 o g o l k n a b h s a l f t n i r P
xL +xH 256 specifies the starting dotline ( 1 585 / 1 315).
yL +yH 256 specifies the number of lines to print.
[Notes] If (xL +(xH 256)) > 585 / 315 the printer does not execute the command.
If ( xL +( xH 256 ) +yL +( yH 256 ))> 585 315 the printer prints only 585 /
315 - xL +( xH 256 ) +1 dotline.
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FC, $1B $FD, $1B $FE
ABCDEFG
0123456
A B C D E F G
0 1 2 3 4 5 6
Printing direction
3. PRINTER FUNCTIONS
TPTCM 23 3-
[Example] To print from ram bank dotline 100 to dotline 299, send:
$1B $FA $00 $00 $64 $00 $C7
) e c a f r e t n i l a i r e s y l n o ( H n L n B F $ B 1 $
[Name] Transmit ram bank to serial port
[Format] ASCII ESC {} nL nH
Hex 1B FB nL nH
Decimal 27 251 nL nH
[Description] Transmits (nH x 256) +nL bytes of ram bank to serial port.
[Notes] The size of ram bank for graphic printing is :
448 horizontal dots (56 bytes/dotline) x 585 vertical dots (32760 bytes =16380 words).
832 horizontal dots (104 bytes/dotline) x 315 vertical dots (32760 bytes =16380
words).
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FC, $1B $FD, $1B $FE
[Example]
n C F $ B 1 $
[Name] Transfer flash bank into ram bank
[Format] ASCII ESC {} n
Hex 1B FC n
Decimal 27 252 n
[Range] 1 n 3
[Description] Transfers flash bank into ram bank (32768 bytes).
n selects the bank as follows:
n n o i t c n u F
1 m a r o t n i 1 o g o l k n a b h s a l f s r e f s n a r T
2 m a r o t n i 2 o g o l k n a b h s a l f s r e f s n a r T
3 m a r o t n i 3 o g o l k n a b h s a l f s r e f s n a r T
[Notes]
[Default]
[Reference] $1B $FA, $1B $FD, $1B $FE
[Example]
H n L n D F $ B 1 $
[Name] Receive ram bank from serial port
[Format] ASCII ESC {} nL nH
Hex 1B FD nL nH
Decimal 27 253 nL nH
[Range] 0 nL, nH 255
3. PRINTER FUNCTIONS
TPTCM 24 3-
[Description] Receives [nL +(nH 256)] words from the port and puts them into the ram bank.
[Notes] The number of data bytes received is [nL +(nH 256)] 2.
Each word is first received as MSByte and then as LSByte.
If [nL +(nH 256)] is greater than 16384, the data which follows is processed as
normal data.
An horizontal dotline is represented to 28 52 words.
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FA, $1B $FC, $1B $FE
[Example]
n E F $ B 1 $
[Name] Transfer ram bank into flash bank
[Format] ASCII ESC {} n
Hex 1B FE n
Decimal 27 254 n
[Range] 1 n 3
[Description] Transfers the ram bank into the flash bank (32768 bytes).
n selects the bank as follows:
n n o i t c n u F
1 1 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
2 2 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
3 3 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
[Notes]
[Default]
[Reference] $1B $FA, $1B $FC, $1B $FD
Example
A 3 $ D 1 $
[Name] Start/end macro definition
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
[Description] Starts or ends macro definition.
[Notes] Macro definition starts when this command is received during normal operation.
When $1D $5E is received during macro definition, the printer ends macro definition and
clears all definitions.
Macros are not defined when power is turned on to the machine.
Macro content is not cancelled by the $1B $40 command. Therefore, $1B $40 may be
included in the content of macro definitions.
If the printer receives $1D $3A a second time after previously receiving $1D $3A, the
printer remains in macro undefined status.
The contents of the macro can be defined up to 2048 bytes. If the macro definition
exceeds 2048 bytes, excess data is not stored.
3. PRINTER FUNCTIONS
TPTCM 25 3-
[Default]
[Reference] $1D $5E
[Example]
m n 0 3 $ 3 4 $ D 1 $
[Name] Select counter print mode
[Format] ASCII GS C 0 n m
Hex 1D 43 30 n m
Decimal 29 67 48 n m
[Range] 0 n 5
m =0, 1, 2, 48, 49, 50
[Description] Selects a print mode for the serial number counter.
n specifies the number of digits to be printed as follows:
when n =0, the printer prints the actual digits indicated by the numeric value.
when n =1 to 5, the command sets the number of digits to be printed.
m specifies the printing position within the entire range of printed digits as follows:
m n o i t i s o p g n i t n i r P d e i f i c e p s e s o h t n a h t s s e l s t i g i d f o g n i s s e c o r P
8 4 , 0 t h g i r h s u l F t f e l e h t o t s e c a p s s d d A
9 4 , 1 t h g i r h s u l F t f e l e h t o t ' 0 ' a s d d A
0 5 , 2 t f e l h s u l F t h g i r e h t o t s e c a p s s d d A
[Notes] If n or m is out of the defined range, the previously set print mode is not changed.
If n =0, m is not applicable.
[Default] n =0, m =0
[Reference] $1D $43 $31, $1D $43 $32, $1D $43 $3B, $1B $63
[Example] n =3,m =0 n =3, m =1 n =3, m=2
1 001 1
indicates a space
r n H b L b H a L a 1 3 $ 3 4 $ D 1 $
[Name] Select count mode (A).
[Format] ASCII GS C 1 aL aH bL bH n r
Hex 1D 43 31 aL aH bL bH n r
Decimal 29 67 49 aL aH bL bH n r
[Range] 0 aL, aH 255
0 bL, bH 255
0 n, r 255
[Description] Selects a count mode for the serial number counter.
aL, aH or bL, bH specify the counter range.
n indicates the unit amount when counting up or down.
r indicates the repetition number when the counter value is fixed.
[Notes] Count-up mode is specified when:
[aL +(aH 256)] <[bL +(bH 256)] and n 0 and r 0
Count-down mode is specified when:
[aL +(aH 256)] >[bL +(bH 256)] and n 0 and r 0
3. PRINTER FUNCTIONS
TPTCM 26 3-
Counting stops when:
[aL +(aH 256)] =[bL +(bH 256)] or n =0 or r =0
Setting the count-up mode, the minimum counter value is [aL +(aH 256)] and the
maximum value is [bL +(bH 256)]. If the counting up reaches a value that exceeds the
maximum, it resets to the minimum value.
Setting the count-down mode, the maximum counter value is [aL +(aH 256)] and the
minimum value is [bL +(bH 256)]. If the counting down reaches a value less than the
minimum, it resets to the maximum value.
When this command is executed, the internal count that indicates the repetition
number specified by r is cleared.
[Default] aL =1, aH =0, bL =255, bH =255, n =1, r =1
[Reference] $1D $43 $30, $1D $43 $32, $1D $43 $3B, $1D $63
[Example]
H n L n 2 3 $ 3 4 $ D 1 $
[Name] Set counter
[Format] ASCII GS C 2 nL nH
Hex 1D 43 32 nL nH
Decimal 29 67 50 nL nH
[Range] 0 nL, nH 255
[Description] Sets the serial number counter value.
nL and nH determine the value of the serial number counter set by [nL +(nH 256)].
[Notes] In count-up mode, if the counter value specified by this command goes out of the
counter operation range specified by $1D $43 $31 or $1D $43 $3B it is forced to convert
to the minimum value through $1D $63.
In count-down mode, if the counter value specified by this command goes out of the
counter operation range specified by $1D $43 $31 or $1D $43 $3B it is forced to convert
to the maximum value through $1D $63.
[Default] nL =1, nH =0
[Reference] $1D $43 $30, $1D $43 $31, $1D $43 $3B, $1D $63
[Example]
B 3 $ c s B 3 $ r s B 3 $ n s B 3 $ b s B 3 $ a s B 3 $ 3 4 $ D 1 $
[Name] Select count mode
[Format] ASCII GS C ; sa ; sb ; sn ; sr ; sc ;
Hex 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B
Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59
[Range] 0 sa, sb, sc 65535
0 sn, sr 255
These values are all character strings.
[Description] Selects a count mode for the serial number counter and specifies the value of the
counter.
sa, sb, sn, sr and sc are all displayed as ASCII characters using codes from 0 to 9.
sa and sb specify the counter range.
sn indicates the unit amount for counting up or down.
sr indicates the repetition number when the counter value is fixed.
sc indicates the counter value.
[Notes] Count-up mode is specified when:
sa <sb and sn 0 and sr 0
3. PRINTER FUNCTIONS
TPTCM 27 3-
Count-down mode is specified when:
sa >sb and sn 0 and sr 0
Counting stops when:
sa =sb or sn =0 or sr =0
In setting count-up mode, the minimum value of the counter is sa and the maximum
value is sb. If counting up reaches a value exceeding the maximum, it resets to the
minimum value. If the counter value set by sc is outside the counter operation range, the
counter value is forced to convert to the minimum value by executing $1D $63.
In setting count-down mode, the maximum value of the counter is sa and the minimum
value is sb. If counting down reaches a value less than the minimum, it resets to the
maximum value. If the counter value set by sc is outside the counter operation range, the
counter value is forced to convert to the maximum value by executing $1D $63.
Parameters sa to sc can be omitted. If omitted, they remain unchanged.
Parameters sa to sc cannot contain characters other than 0 to 9.
[Default] sa =1, sb =65535, sn =1, sr =1, sc =1
[Reference] $1D $43 $30, $1D $43 $31, $1D $43 $32, $1D $63
[Example]
n 8 4 $ D 1 $
[Name] Select printing position of Human Readable Interpretation ( HRI ) characters
[Format] ASCII GS H n
Hex 1D 48 n
Decimal 29 72 n
[Range] 0 n 3, 48 n 51
[Description] Selects the printing position of HRI characters when printing bar codes.
n selects the printing positions as follows:
n n u F n o i t c
8 4 , 0 d e t n i r p t o N
9 4 , 1 e d o c r a b e h t e v o b A
0 5 , 2 e d o c r a b e h t w o l e B
1 5 , 3 e d o c r a b e h t w o l e b e h t e v o b a h t o B
[Notes]
[Default] n =0
[Reference] $1B $6B
[Example]
) E C A F R E T N I L A I R E S H T I W Y L N O ( n 9 4 $ D 1 $
[Name] Transmit printer ID
[Format] ASCII GS I n
Hex 1D 49 n
Decimal 29 73 n
[Range] 1 n 3, 49 n 51
[Description] Transmits the printer ID specified by n follows:
3. PRINTER FUNCTIONS
TPTCM 28 3-

n D I r e t n i r P n o i t a c i f i c e p S
9 4 , 1 D I l e d o m r e t n i r P
) x 0 6 M C T P T ( A 4 $
) x 2 1 1 M C T P T ( C 4 $
) 2 1 3 2 B G t n o f h t i w x 0 6 M C T P T ( 8 4 $
) 2 1 3 2 B G t n o f h t i w x 2 1 1 M C T P T ( 9 4 $
0 5 , 2 D I e p y T w o l e b e l b a t e e S
1 5 , 3 D I n o i s r e v M O R ) r e t c a r a h c 4 ( n o i s r e v M O R n o s d n e p e D
n = 2, Type ID
t i B n O / f f O x e H e l a m i c e D e n o i z n u F
0 f f O 0 0 0 d e t r o p p u s t o n s e d o c r e t c a r a h c e t y b - 2
1
f f O 0 0 0 d e i l p p u s t o n r e t t u c o t u A
n O 2 0 2 d e i l p p u s r e t t u c o t u A
2
f f O 0 0 0 l e b a l t u o h t i w r e p a p l a m r e h T
n O 4 0 4 l e b a l h t i w r e p a p l a m r e h T
3 - - - D E V R E S E R
4 f f O 0 0 0 0 t a d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7
f f O 0 0 0 n o i t a l u m e T P T m o t s u C
n O 0 8 8 2 1 n o i t a l u m e S O P / C S E
[Notes] The printer only transmits 1 byte (printer ID) without confirmation that the host is ready
to receive data.
This command is executed when the data is processed in the data buffer. Therefore,
there could be a time lag between command reception and data transmission, depending
on data buffer status.
[Default]
[Reference]
[Example]
m t r E 5 $ D 1 $
[Name] Execute macro
[Format] ASCII GS ^ r t m
Hex 1D 5E r t m
Decimal 29 94 r t m
[Range] 0 r, t 255
0 m 1
[Description] Executes a macro.
r specifies the number of times to execute the macro.
t specifies the waiting time for executing the macro.
The waiting time is t 100 msec. for each macro execution.
m specifies macro executing mode:
When the LSB of m =0, the macro is executed r times continuously at the interval
specified by t.
When the LSB of m =1, after waiting for the period specified by t, the LED indicator
3. PRINTER FUNCTIONS
TPTCM 29 3-
blinks and the printer waits for the FORM FEED button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats the operation r times.
[Notes] This command has an interval of (t 100 msec.) after a macro is executed by t.
If this command is received while a macro is being defined, the macro definition is
aborted and the definition is cleared.
If the macro is not defined or if r is 0, nothing is executed.
When the macro is executed by pressing the FORM FEED button (m=1), the paper
cannot be fed using the FORM FEED button.
[Default]
[Reference] $1D $3A
[Example]
3 6 $ D 1 $
[Name] Print counter
[Format] ASCII GS c
Hex 1D 63
Decimal 29 99
[Description] Sets the serial counter value in the print buffer and increments or decrements the counter
value.
[Notes] After setting the current counter value in the print buffer as print data (a character
string), the printer counts up or down based on the count mode set. The counter value in
the print buffer is printed when the printer receives a print command or the buffer is full.
The counter print mode is set using GS C 0.
The counter mode is set using GS C 1 or GS C ;.
In count-up mode, if the counter value set by this command goes out of the counter
operation range set by GS C 1 or GS C ; it is forced to revert to the minimum value.
In count-down mode, if the counter value set by this command goes out of the counter
operation range set by GS C 1 or GS C ; it is forced to revert to the maximum value.
[Default]
[Reference] $1D $43 $30, $1D $43 $31, $1D $43 $32, $1D $43 $3B
[Example]
] l [ ] m [ n 5 6 $ D 1 $
[Name] Ejector commands
[Format] ASCII GS e n [m] [l]
Hex 1D 65 n [m] [l]
Decimal 29 101 n [m] [l]
[Range] 0 n 3 , 5 n 8
[Description] This command checks tickets ejector :
n =0 Ticket produced with defined number of steps (see command notes)
n =1 Ejector motor off
n =2 Ejector motor on
n =3 ticket presenting with (3 x m) steps (1 step =36 mm =3 x 12 mm)
n =5 ticket espulsion
n =6 transmits ejector byte status
3. PRINTER FUNCTIONS
TPTCM 30 3-
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 d n e r e p a p r a e n t o N
n O 1 0 1 d n e r e p a p r a e N
1 f f O 0 0 0 0 o t d e x i F
2
f f O 0 0 0 r o s n e s d n e r e p a P
n O 4 0 4 . t n e s e r p s i r e p a P
3
f f O 0 0 0 t u o s t e k c i T
n O 8 0 8 h t u o m r o t c e j e n o t n e s e r p t e k c i T
4
f f O 0 0 0 f f o r o t o m g n i p p e t s r e t n i r P
n O 0 1 6 1 n o r o t o m g n i p p e t s r e t n i r P
5
f f O 0 0 0 f f o r o t o m r o t c e j E
n O 0 2 2 3 n o r o t o m r o t c e j E
6
f f O 0 0 0 r o r r e o N
n O 0 4 4 6 s r u c c o r o r r E
7 f f O 0 0 0 0 o t d e x i F
n =7 sets maximum ticket length :
The maximum ticket length is [(m*256+l) * (vertical motion unit )] inches. Max ticket
length recommended is 20cm.
n =8 ticket presenting with m steps (1 step =12 mm)
[Notes] m must be sent with n =3, 7;
l must be sent with n =7;
if n=3 and ticket is not cut yet, before execute the command
a total cutting will be make.
if n=0 the fixed value of ticket presenting is :
- on power on and after a reset command ( both hardware and software) 47mm
- the last distance saved to a $1D $65 3 or $1D $65 8 commands.
- Ticket presenting lenght can change of +/- 12 mm.
The minimum ticket presenting lenght is 89 mm (below tihs value the ticket espulsion
could have some problems).
[Default]
[Reference] $1D $6B
[Example]
n 8 6 $ D 1 $
[Name] Set bar code height
[Format] ASCII GS h n
Hex 1D 68 n
Decimal 29 104 n
[Range] 1 n 255
[Description] Sets the height of the bar code.
n specifies the number of vertical dots.
[Notes]
[Default] n =96 ( 12 mm )
[Reference] $1D $6B
[Example]
3. PRINTER FUNCTIONS
TPTCM 31 3-
< n B 6 $ D 1 $ I R H D 0 $ >
[Name] Prints bar code.
[Formato] ASCII GS k n <HRI> CR
Hex 1D 6B n <HRI> 0D
Decimale 29 107 n <HRI> 13
[Range] 1 n 7
[Description] Prints a bar code. The value of n selects the bar code type to print :
n =1 UPC-E
n =2 EAN 13
n =3 EAN 18
n =4 CODE 39 (max 12 characters)
n =5 ITF (Interleaved 2 of 5) (max 22 characters)
n =6 CODEBAR (max 16 characters)
n =7 UPC-A (max 16 characters)
[Notes] The rotation command does not affect on bar code printing.
[Default]
[Reference] $1D $68
[Example]
) e c a f r e t n i l a i r e s y l n O ( 6 7 $ D 1 $
[Name] Request expanded status
Format] ASCII GS v
Hex 1D 76
Decimal 29 118
[Description] This command transmits two bytes, each bit indicates the printer status to serial port.
First byte :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 d n e r e p a p r a e N
n O 1 0 1 e c n a d n u b a n i e c n e s e r p r e p a P
1
f f O 0 0 0 d e t c e t e d t o n h c t o N
n O 2 0 2 l l e c o t o h p m o r f d e t c e t e d h c t o N
2
f f O 0 0 0 t u o r e p a P
n O 4 0 4 e c n e s e r p r e p a P
3
f f O 0 0 0 d e s a e l e r y e k d e e F e n i L
n O 8 0 8 d e s s e r p y e k d e e F e n i L
4
f f O 0 0 0 d e s a e l e r y e k d e e F m r o F
n O 0 1 6 1 d e s s e r p y e k d e e F m r o F
5
f f O 0 0 0 t c e r r o c e r u t a r e p m e t d a e H
n O 0 2 2 3 r o r r e e r u t a r e p m e t d a e H
6
f f O 0 0 0 f f o r o t o M
n O 0 4 4 6 n o r o t o M
7
f f O 0 0 0 r o r r e o N
n O 0 8 8 2 1 . c t e , p u d a e H , d n e r e p a p o t e u d r o r r E
3. PRINTER FUNCTIONS
TPTCM 32 3-
Second byte :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0 n O 1 0 1 g n i t n i r P
1 n O 2 0 2 p u d a e H
2 n O 4 0 4 h c t o n e d i s t u O
3 n O 8 0 8 h t u o m t i x e e h t n o t e k c i T
4 n O 0 1 6 1 N O r o t o m r o t c e j E
5 - - -
) t n e s e r p t o n s i r o t c e j e e h t f i ( d e s u t o N
) t n e s e r p s i r o t c e j e e h t f i y l n o ( m a J r e p a P
6 - - - d e s u t o N
7 - - - d e s u t o N
[Notes] This command is executed immediately, even when the data buffer is full (Busy ).
[Default]
[Reference]
[Example]
n 7 7 $ D 1 $
[Name] Set bar code width
[Format] ASCII GS w n
Hex 1D 77 n
Decimal 29 119 n
[Range] 2 n 6
[Description] Sets the horizontal size of the bar code.
n specifies the bar code width as follows:
n h t d i w e l u d o M ) m m (
2 5 2 . 0
3 5 7 3 . 0
4 5 . 0
5 5 2 6 . 0
6 5 7 . 0
[Notes]
[Default] n =3
[Reference] GS k
[Example]
n 0 E $ D 1 $
[Name] Enable / disable automatic FULL STATUS back
[Format] ASCII GS {} n
Hex 1D E0 n
Decimal 29 224 n
3. PRINTER FUNCTIONS
TPTCM 33 3-
[Range] 0 n 255
[Description] Enable / disable automatic full status back.
n specifies the composition of FULL STATUS as follows:
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0
f f O 0 0 0 . s u t a t s r e p a P e l b a s i D
n O 1 0 1 . s u t a t s r e p a P e l b a n E
1
f f O 0 0 0 . s u t a t s r e s U e l b a s i D
n O 2 0 2 . s u t a t s r e s U e l b a n E
2
f f O 0 0 0 . s u t a t S r o r r E e l b a r e v o c e R e l b a s i D
n O 4 0 4 . s u t a t S r o r r E e l b a r e v o c e R e l b a n E
3
f f O 0 0 0 . s u t a t S r o r r E e l b a r e v o c e r n U e l b a s i D
n O 8 0 8 . s u t a t S r o r r E e l b a r e v o c e r n U e l b a n E
4 - - - D E V R E S E R
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 - - - D E V R E S E R
[Notes] Once enable at least one byte of the FULL STATUS, for each change of at least one of
the bits which compose the required status, the status sent in automatic from the printer
will be so composed as follows:
1 Byte =$10
2 Byte =n
Next byte (depends how many bits are active in n)
[Reference]
[Example]
2 E $ D 1 $
[Name] Reading number of cuts performed from the printer
[Format] ASCII GS { }
Hex 1D E2
Decimal 29 226
[Description] Reading the number of cuts performed from the printer.
The command return a string that points out how many cuts are performed by the printer,
for example if there are performed 2376 cuts, it will be:
2376 cuts
[Notes]
[Default]
[Reference]
[Example]
5 E $ D 1 $
[Name] Reading number of power up
[Format] ASCII GS { }
Hex 1D E5
Decimal 29 229
[Description] Reading number of power up of the printer.
3. PRINTER FUNCTIONS
TPTCM 34 3-
[Notes] The command return a string pointing out the number of turning on of the printer, for
example if the printer is turned on 512 times, it will be:
512on
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 35 3-
3.2.2 ESC/POS emulation
The following table lists all the commands for function management in ESC/POS emulation of the printer. The
commands can be transmitted to the printer at any moment, but they will only be carried out when the com-
mands ahead of them have been executed. The commands are carried out when the circular buffer is free to do
so.
COMMAND DESCRIPTION TABLE
X E H I I C S A n o i t p i r c s e D
8 0 $ S B e c a p s k c a B
9 0 $ T H b a t l a t n o z i r o H
A 0 $ F L d e e f e n i l d n a t n i r P
D 0 $ R C n r u t e r e g a i r r a c d n a t n i r P
n 4 0 $ 0 1 $ n T O E E L D n o i s s i m s n a r t s u t a t s e m i t - l a e R
8 1 $ N A C d e t t i m s n a r t e n i l t n e r r u c l e c n a C
n 0 2 $ B 1 $ n P S C S E g n i c a p s e d i s - t h g i r r e t c a r a h c t e S
n 1 2 $ B 1 $ n ! C S E e d o m t n i r p t e S
H n L n 4 2 $ B 1 $ H n L n $ C S E n o i t i s o p e t u l o s b a t e S
n 5 2 $ B 1 $ n % C S E t e s r e t c a r a h c d e n i f e d - r e s u l e c n a c / t c e l e S
2 c 1 c y 6 2 $ B 1 $ 2 c 1 c y & C S E s r e t c a r a h c d e n i f e d - r e s u e n i f e D
k d . . . 1 d H n L n m A 2 $ B 1 $ k d . . . 1 d H n L n m * C S E e d o m t n i r p e g a m i t c e l e S
n D 2 $ B 1 $ n - C S E f f o / n o e d o m e n i l r e d n u n r u T
0 3 $ B 1 $ 0 C S E g n i c a p s e n i l h c n i - 8 / 1 t c e l e S
2 3 $ B 1 $ 2 C S E g n i c a p s e n i l h c n i - 6 / 1 t c e l e S
n 3 3 $ B 1 $ n 3 C S E s t i n u m u m i n i m g n i s u g n i c a p s e n i l t e S
n 4 3 $ B 1 $ n 4 C S E e d o m t p i r c s t e s e r / t e S
n D 3 $ B 1 $ n = C S E e c i v e d t c e l e S
n F 3 $ B 1 $ n ? C S E s r e t c a r a h c d e n i f e d - r e s u l e c n a C
0 4 $ B 1 $ @ C S E r e t n i r p e z i l a i t i n I
0 0 $ k n . . . 1 n 4 4 $ B 1 $ L U N k n . . . 1 n D C S E s n o i t i s o p b a t l a t n o z i r o h t e S
n 5 4 $ B 1 $ n E C S E e d o m d e z i s a h p m e t c e l e S
n 7 4 $ B 1 $ n G C S E e d o m e k i r t s - e l b u o d t c e l e S
n A 4 $ B 1 $ n J C S E r e p a p d e e f d n a t n i r P
n 2 5 $ B 1 $ n R C S E t e s r e t c a r a h c l a n o i t a n r e t n i t c e l e S
n 6 5 $ B 1 $ n V C S E d e n r u t 0 9 e d o m t n i r p t c e l e S
H n L n C 5 $ B 1 $ H n L n \ C S E n o i t i s o p t n i r p e v i t a l e r t e S
n 1 6 $ B 1 $ n a C S E n o i t a c i f i t s u j t c e l e S
n 4 3 $ 3 6 $ B 1 $ n 4 c C S E n o i t p u r r e t n i g n i t n i r p r o f r o s n e s r e p a p t c e l e S
n 5 3 $ 3 6 $ B 1 $ n 5 c C S E s n o t t u b l e n a p t n o r f e l b a s i d / e l b a n E
n 4 6 $ B 1 $ n d C S E s e n i l n r e p a p d e e f d n a t n i r P
9 6 $ B 1 $ i C S E t u c l a t o T
D 6 $ B 1 $ m C S E t u c l a i t r a P
n 2 7 $ B 1 $ n r C S E e d o m g n i t n i r p d e r t e s e r / t e S
n 4 7 $ B 1 $ n t C S E e l b a t e d o c r e t c a r a h c t c e l e S
6 7 $ B 1 $ v C S E s u t a t s r e t n i r p t i m s n a r T
n 8 7 $ B 1 $ n x C S E e d o m y t i l a u q / d e e p s t c e l e S
n B 7 $ B 1 $ n { C S E g n i t n i r p r e t c a r a h c n w o d - e d i s p u l e c n a c / t e S
L y H y L x H x n A F $ B 1 $ L y H y L x H x n C S E c i h p a r g t n i r P
H n L n B F $ B 1 $ H n L n } { C S E t r o p n o i t a c i n u m m o c o t e g a p c i h p a r g t i m s n a r T
n C F $ B 1 $ n } { C S E e g a p c i h p a r g o t n i k n a b h s a l f r e f s n a r T
H n L n D F $ B 1 $ H n L n } { C S E t r o p n o i t a c i n u m m o c m o r f e g a p c i h p a r g e v i e c e R
n E F $ B 1 $ n } { C S E k n a b h s a l f o t n i e g a p c i h p a r g r e f s n a r T
(Tab.3.2)
3. PRINTER FUNCTIONS
TPTCM 36 3-
In the table listed above, the commands marked with this symbol are defined only for the serial
interface.
Given below are more detailed descriptions of each command.
8 0 $
[Name] Back space
[Format] ASCII BS
Hex 08
Decimal 8
[Description] Moves print position to previous character.
[Notes] Can be used to put two characters at the same position.
[Default]
[Reference]
[Example]
X E H I I C S A n o i t p i r c s e D
n 1 2 $ D 1 $ n ! S G e z i s r e t c a r a h c t c e l e S
A 3 $ D 1 $ : S G n o i t i n i f e d o r c a m f o d n e / t r a t s t e S
n 2 4 $ D 1 $ n B S G f f o / n o e d o m g n i t n i r p e s r e v e r k c a l b / e t i h w n r u T
m n 0 3 $ 3 4 $ D 1 $ m n 0 C S G e d o m t n i r p r e t n u o c t c e l e S
r n H b L b H a L a 1 3 $ 3 4 $ D 1 $ r n H b L b H a L a 1 C S G ) A ( e d o m t n u o c t c e l e S
H n L n 2 3 $ 3 4 $ D 1 $ H n L n 2 C S G r e t n u o c t c e l e S
B 3 $ b s B 3 $ a s B 3 $ 3 4 $ D 1 $
B 3 $ c s B 3 $ r s B 3 $ n s
; c s ; r s ; n s ; b s ; a s ; C S G ) B ( e d o m t n u o c t c e l e S
n 8 4 $ D 1 $ n H S G s r e t c a r a h c I R H f o n o i t i s o p g n i t n i r p t c e l e S
n 9 4 $ D 1 $ n I S G D I r e t n i r p t i m s n a r T
H n L n C 4 $ D 1 $ H n L n L S G n i g r a m t f e l t e S
y x 0 5 $ D 1 $ y x P S G ) 1 e d o m ( s t i n u n o i t o m l a c i t r e v d n a l a t n o z i r o h t e S
H n L n 7 5 $ D 1 $ H n L n W S G h t d i w a e r a g n i t n i r p t e S
m t r E 5 $ D 1 $ m t r ^ S G o r c a m e t u c e x E
3 6 $ D 1 $ c S G r e t n u o c t n i r P
] l [ ] m [ n 5 6 $ D 1 $ ] l [ ] m [ n e S G s d n a m m o c t e k c i t t c e j E
n 6 6 $ D 1 $ n f S G s r e t c a r a h c I R H r o f t n o f t c e l e S
n 8 6 $ D 1 $ n h S G e d o c r a b f o t h g i e h t c e l e S
0 0 $ m B 6 $ D 1 $ L U N m k S G e d o c r a b t n i r P
n 2 7 $ D 1 $ n r S G s u t a t s t i m s n a r T
6 7 $ D 1 $ v S G s u t a t s d e d n a p x e t s e u q e R
n 7 7 $ D 1 $ n w S G e d o c r a b f o ) t n e m e g r a l n e ( e d i s l a t n o z i r o h t c e l e S
n C 7 $ D 1 $ n } { S G y t i s n e d g n i t n i r p t e S
E 7 $ D 1 $ n } { S G s t p i r c s b u s / s t p i r c s r e p u s t e S
n 0 E $ D 1 $ n } { S G k c a b S U T A T S L L U F c i t a m o t u a e l b a s i d / e l b a n E
2 E $ D 1 $ } { S G
e h t m o r f d e m r o f r e p s t u c f o r e b m u n g n i d a e R
r e t n i r p
3 E $ D 1 $ } { S G r e p a p d e t n i r p f o ) m c ( h t g n e l f o g n i d a e R
5 E $ D 1 $ } { S G p u r e w o p f o r e b m u n g n i d a e R
3. PRINTER FUNCTIONS
TPTCM 37 3-
9 0 $
[Name] Horizontal tab
[Format] ASCII HT
Hex 09
Decimal 9
[Description] Moves the print position to the next horizontal tab position.
[Notes] Ignored unless the next horizontal tab position has been set.
If the command is received when the printing position is at the right margin, the printer
executes print buffer full printing and horizontal tab processing from the beginning of the
next line.
Horizontal tab positions are set using $1B $44.
[Default]
[Reference] $1B $44
[Example]
A 0 $
[Name] Print and line feed
[Format] ASCII LF
Hex 0A
Decimal 10
[Description] Prints the data in the buffer and feeds one line based on the current line spacing.
[Notes] Sets the print position to the beginning of the line.
[Default]
[Reference] $1B $32, $1B $33
[Example]
D 0 $
[Name] Print and carriage return
[Format] ASCII CR
Hex 0D
Decimal 13
[Description] When autofeed is CR enabled, this command functions in the same way as $0A,
otherwise it is disregarded.
[Notes] This command sets the print position to the beginning of the line.
[Default]
[Reference] $0A
[Example]
) e c a f r e t n i l a i r e s y l n o ( n 4 0 $ 0 1 $
[Name] Real-time status transmission
[Format] ASCII DLE EOT n
Hex 10 04 n
Decimal 16 4 n
[Range] 1 n 4, n=20
3. PRINTER FUNCTIONS
TPTCM 38 3-
[Description] Transmits the selected printer status specified by n in real time according to the following
parameters:
n =1 transmit printer status
n =2 transmit off-line status
n =3 transmit error status
n =4 transmit paper roll sensor status
n =20 transmit FULL STATUS
[Notes] This command is executed when the data buffer is full.
This status is transmitted whenever data sequence $10 $04 n is received (1 n 4).
[Default]
[Reference] See tables below.
[Example]
n=1: Printer status
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0 f f O 0 0 0 0 o t d e x i F
1 n O 2 0 2 1 o t d e x i F
2 f f O 0 0 0 0 o t d e x i F
3
f f O 0 0 0 . e n i l - n O
n O 8 0 8 . e n i l - f f O
4 n O 0 1 6 1 1 o t d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 f f O 0 0 0 0 o t d e x i F
n=2: Off-line status
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0 f f O 0 0 0 0 o t d e x i F
1 n O 2 0 2 1 o t d e x i F
2
f f O 0 0 0 . d e s o l c r e v o C
n O 04 4 . d e n e p o r e v o C
3
f f O 0 0 0 . n o t t u b D E E F y b d e d e e f t ' n s i r e p a P
n O 8 0 8 . n o t t u b D E E F y b d e d e e f s i r e p a P
4 n O 0 1 6 1 1 o t d e x i F
5
f f O 0 0 0 . e c n e s e r p r e p a P
n O 0 2 2 3 . d n e r e p a p o t e u d p o t s g n i t n i r P
6
f f O 0 0 0 . r o r r e o N
n O 0 4 4 6 . r o r r E
7 f f O 0 0 0 0 o t d e x i F
3. PRINTER FUNCTIONS
TPTCM 39 3-
n=3: Error status
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0 f f O 0 0 0 0 o t d e x i F
1 n O 2 0 2 1 o t d e x i F
2 f f O 0 0 0 0 o t d e x i F
3 - - - D E V R E S E R
4 n O 0 1 6 1 1 o t d e x i F
5 f f O 0 0 0 0 o t d e x i F
6
f f O 0 0 0 . r o r r e e l b a r e v o c e r - o t u a o N
n O 0 4 64 . r o r r e e l b a r e v o c e r - o t u A
7 f f O 0 0 0 0 o t d e x i F
n=4: Paper roll sensor status
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0 f f O 0 0 0 0 o t d e x i F
1 n O 2 0 2 1 o t d e x i F
23 ,
f f O 0 0 0 . e c n a d n u b a n i t n e s e r p r e p a P
n O 0C 2 1 . d n e r e p a p r a e N
4 n O 0 1 6 1 1 o t d e x i F
6 , 5
f f O 0 0 0 . t n e s e r p r e p a P
On 60 6 9 . t n e s e r p t o n r e p a P
7 f f O 0 0 0 0 o t d e x i F
n=20: FULL status (6 bytes)
1
ST
Byte =$10 (DLE)
2
ND
byte =$0F
3
RD
byte =Paper status
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0
f f O 0 0 0 . t n e s e r p r e p a P
n O 1 0 1 . t n e s e r p t o n r e p a P
1 Of f 00 0 0 o t d e x i F
2
f f O 0 0 0 . e c n a d n u b a n i t n e s e r p r e p a P
n O 4 0 4 . d n e r e p a p r a e N
3 f f O 0 0 0 0 o t d e x i F
4 Of f 00 0 0 o t d e x i F
5
f f O 0 0 0 . t u p t u o n i t n e s e r p t o n t e k c i T
n O 0 2 2 3 . t u p t u o n i t n e s e r p t e k c i T
6
f f O 0 0 0 d n e r e p a p l a u t r i v t o N .
n O 0 4 4 6 . d n e r e p a p l a u t r i V
7 - - - - . D E V R E S E R
3. PRINTER FUNCTIONS
TPTCM 40 3-
4
TH
byte =Paper status
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0
f f O 0 0 0 . n w o d d a e h l a m r e h T
n O 1 0 1 . p u d a e h l a m r e h T
1 f f O 0 0 0 0 o t d e x i F
2 f f O 0 0 0 0 o t d e x i F
3
f f O 0 0 0 . f f o r o t o m r e p a p g a r D
On 08 8 . n o r o t o m r e p a p g a r D
4 f f O 0 0 0 0 o t d e x i F
5
f f O 0 0 0 . d e s a e l e r y e k F L
On 0 2 2 3 . d e s s e r p y e k F L
6
f f O 0 0 0 . d e s a e l e r y e k F F
n O 0 4 4 6 . d e s s e r p y e k F F
7 f f O 0 0 0 0 o t d e x i F
5
TH
byte =Recoverable error Status
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0
f f O 0 0 0 . k o e r u t a r e p m e t d a e H
n O 1 0 1 . r o r r e e r u t a r e p m e t d a e H
1 Of f 00 0 0 o t d e x i F
2 f f O 0 0 0 0 o t d e x i F
3
f f O 0 0 0 . k o e g a t l o v y l p p u s r e w o P
f f O 0 0 0 . r o r r e e g a t l o v y l p p u s r e w o P
4 Of f 0 0 0 0 o t d e x i F
5
f f O 0 0 0 . d n a m m o c e g d e l w o n k c A
n O 0 2 2 3 . r o r r e d n a m m o c e g d e l w o n k c a t o N
6
f f O 0 0 0 . e t u o r r e p a p e e r F
n O 0 4 4 6 . m a j r e p a P
7
f f O 0 0 0 . g n i h c r a e s n i r o d n u o f r e k a M k c a l B
n O 0 8 8 2 1 . d n u o f t o n r e k a M k c a l B
6
TH
byte =Unrecoverable error Status
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0
f f O 0 0 0 . k o r e t t u C
n O 1 0 1 . r o r r e r e t t u C
1 Of f 00 0 0 o t d e x i F
2 - - - D E V R E S E R
3
f f O 0 0 0 . k o M O R P E E
n O 08 8 . r o r r e M O R P E E
4 Of f 0 0 0 0 o t d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 f f O 0 0 0 0 o t d e x i F
3. PRINTER FUNCTIONS
TPTCM 41 3-
8 1 $
[Name] Cancel current line transmitted
[Format] ASCII CAN
Hex 18
Decimal 24
[Description] Deletes current line transmitted.
[Notes] Sets the print position to the beginning of the line.
[Default]
[Reference]
[Example]
n 0 2 $ B 1 $
[Name] Set right-side character spacing
[Format] ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
[Range] 0 n 255
[Description] Sets the character spacing for the right side of the character to [n x horizontal or vertical
motion units].
[Notes] The right character spacing for double-width mode is twice the normal value.
When the characters are enlarged, the right side character spacing is m (2 or 4) times
the normal value.
The horizontal and vertical motion units are specified by $1D $50. Changing the
horizontal or vertical motion units does not affect the current right side spacing.
The $1D $50 command can change the horizontal (and vertical) motion unit. However,
the value cannot be less than the minimum horizontal movement amount.
In standard mode, the horizontal motion unit is used.
The maximum right side spacing is 255/200 inches.
[Default] n =0
[Reference] $1D $50
[Example]
n 1 2 $ B 1 $
[Name] Select print modes
[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
[Range] 0 n 255
[Description] Selects print modes using n (see table below):
3. PRINTER FUNCTIONS
TPTCM 42 3-

t i B n O / f f O x e H l a m i c e D n u F n o i t c
0
f f O 0 0 0 . d e t c e l e s A t n o f r e t c a r a h C
n O 1 0 1 . d e t c e l e s B t n o f r e t c a r a h C
1 - - - D E V R E S E R
2 - - - D E V R E S E R
3
f f O 0 0 0 . d e t c e l e s t o n e d o m d e d n a p x E
n O 8 0 8 . d e t c e l e s e d o m d e d n a p x E
4
f f O 0 0 0 . d e t c e l e s t o n e d o m t h g i e h - e l b u o D
n O 0 1 6 1 . d e t c e l e s e d o m t h g i e h - e l b u o D
5
f f O 0 0 0 . d e t c e l e s t o n e d o m h t d i w - e l b u o D
n O 0 2 2 3 . d e t c e l e s e d o m h t d i w - e l b u o D
6
f f O 0 0 0 . d e t c e l e s t o n e d o m c i l a t I
n O 0 4 4 6 . d e t c e l e s e d o m c i l a t I
7
f f O 0 0 0 . d e t c e l e s t o n e d o m e n i l r e d n U
n O 0 8 8 2 1 . d e t c e l e s e d o m e n i l r e d n U
[Notes] The printer can underline all characters, but cannot underline the spaces set by $09,
$1B $24, $1B $5C and 90 rotated characters.
When characters are enlarged to different heights on one line, the characters are
aligned at the baseline or topline (see $1D $7E).
This command resets the left and right margin at default value (see $1D $4C, $1D $57).
$1B $45 can also be used to turn the emphasized mode on/off. However, the last-
received setting command is the effective one.
$1B $2D can also be used to turn the underlining mode on/off. However, the last-
received setting command is the effective one.
$1B $34 can also be used to turn the italic mode on/off. However, the last-received
setting command is the effective one.
$1D $21 can also be used to select character height/width. However, the last-received
setting command is the effective one.
[Default] n =0
[Reference] $1B $2D, $1B $45, $1B $34, $1D $21
[Example]
H n L n 4 2 $ D 1 $
[Name] Set absolute print position
[Format] ASCII ESC $ nL nH
Hex 1B 24 nL nH
Decimal 27 36 nL nH
[Range] 0 nL 255
0 nH 255
[Description] Sets the distance from the beginning of the line to the position at which subsequent
characters are to be printed.
The distance from the beginning of the line to the print position is [(nL +nH 256)
(vertical or horizontal motion unit)] inches.
[Notes] Settings outside the specified printable area are ignored.
The horizontal and vertical motion unit are specified by $1D $50.
$1D $50 can change the horizontal (and vertical) motion unit. However, the value cannot
be less than the minimum horizontal movement amount.
In standard mode, the horizontal motion unit (x) is used.
If the setting is outside the printing area width, it sets the absolute print position, but
the left or right margin is set at default value.
3. PRINTER FUNCTIONS
TPTCM 43 3-
[Default]
[Reference] $1B $5C, $1D $50
[Example]
n 5 2 $ B 1 $
[Name] Select/cancel user-defined characters
[Format] ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n
[Range] 0 n 255
[Description] Selects or cancels the user-defined character set.
When the Least Significant Bit (LSB) of n is 0, the user-defined character set is can-
celed.
When the LSB of n is 1, the user-defined character set is selected.
[Notes] Only the LSB of n is applicable.
When the user-defined character set is canceled, the internal character set is automati-
cally selected.
[Default] n=0
[Reference] $1B $26, $1B $3F
[Example]
] ) k x x y ( d . . . 1 d k x [ . . . ] ) 1 x x y ( d . . . 1 d 1 x [ 2 c 1 c y 6 2 $ B 1 $
[Name] Defines user-defined characters
[Format] ASCII ESC & y c1 c2
Hex 1B 26 y c1 c2
Decimal 27 37 y c1 c2
[Range] y =3
32 c1 c2 126
0 x 14 (Font ( 14 24))
0 x 10 (Font 10 24)
0 x 8 (Font 8 24)
0 d1 d (y xk) 255
k =c2 c1 +1
[Description] Defines user-defined characters.
Y specifies the number of bytes in the vertical direction.
C1 specifies the beginning character code for the definition, and C2 specifies the final
code.
X specifies the number of dots in the horizontal direction.
[Notes] The allowable character code range is from ASCII 20H (32) to 7EH (126) (95 charac-
ters).
It is possible to define multiple characters for consecutive character codes. If only one
character is desired, use c1 =c2.
If c2 <c1, the command is not executed.
d is the dot data for the characters. The dot pattern is in the horizontal direction starting
from the left. Any remaining dots on the right remain blank.
The data to define a user-defined character is ( x x y) bytes.
To print a dot, set the corresponding bit to 1; to not have it print, set to 0.
This command can define different user-defined character patterns for each font. To
select the font, use $1B $21.
The user-defined character definitions are cleared when:
3. PRINTER FUNCTIONS
TPTCM 44 3-
$1B $40 or $1B $3F are executed or the printer is reset or the power shut off.
[Default] Internal character set.
[Reference] $1B $25, $1B $3F
[Example]
k d . . . 1 d H n L n m A 2 $ B 1 $
[Name] Select bit image mode
[Format] ASCII ESC * m nL nH d1...dk
Hex 1B 2A m nL nH d1...dk
Decimal 27 42 m nL nH d1...dk
[Range] m =0, 1, 32, 33
0 nL 255
0 nH 1 3
0 d 255
[Description] Selects a bit image mode using m for the number of dots specified by nL and nH, as
follows:
m e d o M
n o i t c e r i d l a c i t r e V ) 1 * ( n o i t c e r i d l a t n o z i r o H
s t o d . N I P D I P D ) k ( a t a D f o . N
0 y t i s n e d e l g n i s t o d 8 8 7 6 0 0 1 6 5 2 x H n + L n
1 y t i s n e d e l b u o d t o d 8 8 7 6 0 0 2 6 5 2 x H n + L n
2 3 y t i s n e d e l g n i s t o d 4 2 4 2 0 0 2 0 0 1 3 x ) 6 5 2 x H n + L n (
3 3 y t i s n e d e l b u o d t o d 4 2 4 2 0 0 2 0 0 2 3 x ) 6 5 2 x H n + L n (
[Notes] The nL and nH commands indicate the number of dots of the bit image in the horizontal
direction. The number of dots is calculated using: nL +nH 256.
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. Set a corresponding bit to 1 to print a dot, or to 0 to not
print the dot.
If the value of m is outside the specified range, nL and data following it are processed
as normal data.
If the width of the printing area set by $1D $4C and $1D $57 is less than the width
required by the data set using $1B $2A , the excess data are ignored.
To print the bit image use $0A, $0D, $1B $4A or $1B $64.
After printing a bit image, the printer returns to normal data processing mode.
This command is not affected by the emphasized, double-strike, underline (etc.) print
modes, except for the upside-down mode.
The relationship between the image data and the dots to be printed is as follows:
8-dot bit image 24-dot bit image
indicates TPTCM60x indicates TPTCM112x
3. PRINTER FUNCTIONS
TPTCM 45 3-
[Default]
[Reference]
[Example]
n D 2 $ B 1 $
[Name] Turn underline mode on/off
[Format] ASCII ESC - n
Hex 1B 2D n
Decimal 27 45 n
[Range] 0 n 2, 48 n 50
[Description] Turns underline mode on or off, based on the following values of n:
n =0, 48 Turns off underline mode
n =1, 49 Turns on underline mode (1-dot thick)
n =2, 50 Turns on underline mode (2-dot thick)
[Notes] The printer can underline all characters, but cannot underline the space set by $09 and
right-side character spacing.
The printer cannot underline 90 rotated characters and white/black inverted characters.
When underline mode is turned off by setting the value of n to 0 or 48, the data which
follows is not underlined.
Underline mode can also be turned on or off by using $1B $21. Note, however, that the
last received command is the effective one.
[Default] n=0
[Reference] $1B $21
[Example]
0 3 $ B 1 $
[Name] Select 1/8-inch line spacing
[Format] ASCII ESC 0
Hex 1B 30
Decimal 27 48
[Description] Selects 1/8-inch line spacing
[Notes]
[Default]
[Reference] $1B $32, $1B $33
[Example]
2 3 $ B 1 $
[Name] Select 1/6-inch line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Selects 1/6-inch line spacing.
[Notes]
[Default]
[Reference] $1B $30, $1B $33
[Example]
3. PRINTER FUNCTIONS
TPTCM 46 3-
n 3 3 $ B 1 $
[Name] Set line spacing
[Format] ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n
[Range] 0 n 255
[Description] Sets line spacing to [ n (vertical or horizontal motion unit)] inches.
[Notes] The horizontal and vertical motion unit are specified by $1D $50. Changing the horizon-
tal or vertical motion unit does not affect the current line spacing.
The $1D $50 command can change the horizontal (and vertical) motion unit. However,
the value cannot be less than the minimum vertical movement amount.
In standard mode, the vertical motion unit is used.
The maximum line spacing is n =255 ( 32 mm).
[Default] n =32 (1/6 inch)
[Reference] $1B $30, $1B $32, $1D $50
[Example]
n 4 3 $ B 1 $
[Name] Set/reset italic mode
[Format] ASCII ESC 4 n
Hex 1B 34 n
Decimal 27 52 n
[Range] 0 n 1, 48 n 49
[Description] Turns italic mode on or off, based on the following values of n:
n n o i t c n u F
8 4 , 0 e d o m c i l a t i f f o s n r u T
9 4 , 1 e d o m c i l a t i n o s n r u T
[Notes] The printer can print any character in italic mode.
When italic mode is turned off by setting the value of n to 0 or 48, the data which
follows is printed in normal mode.
Italic mode can also be turned on or off using ESC !. Note, however, that the last
received command is the effective one.
[Default] n =0
[Reference] $1B $21
[Example]
n D 3 $ B 1 $
[Name] Select peripheral device
[Format] ASCII ESC = n
Hex 1B 3D n
Decimal 27 61 n
[Range] 0 n 255
[Description] Select the device to which the host computer sends data, using n as follows:
3. PRINTER FUNCTIONS
TPTCM 47 3-
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0
f f O 0 0 0 d e l b a s i d r e t n i r P
n O 01 1 d e l b a n e r e t n i r P
1 - - - D E V R E S E R
2 - - - D E V R E S E R
3 - - - D E V R E S E R
4 - - - D E V R E S E R
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7
f f O 0 0 0 D E V R E S E R
n O 0 8 8 2 1 D E V R E S E R
[Notes] When the printer is disabled, it ignores all transmitted data until the printer is enabled
through this command.
[Default] n =1
[Reference]
[Example]
n F 3 $ B 1 $
[Name] Cancel user-defined characters
[Format] ASCII ESC ? n
Hex 1B 3F n
Decimal 27 63 n
[Range] 32 n 126
[Description] Cancels user-defined characters.
[Notes] This command cancels the pattern defined for the character code specified by n. After
the user-defined character is cancelled, the corresponding pattern for the internal charac-
ter is printed.
This command deletes the pattern defined for the specified character code in the font
selected by $1B $21.
If the user-defined character has not been defined for the specified character code, the
printer ignores this command.
[Default]
[Reference] $1B $26, $1B $25
[Example]
0 4 $ B 1 $
[Name] Initialize printer
[Format] ASCII ESC @
Hex 1B 40
Decimal 27 64
[Description] Clears the data in the print buffer and resets the printer mode to that in effect when power
was turned on.
[Notes] The data in the receiver buffer is not cleared.
The macro definitions are not cleared.
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 48 3-
0 0 $ k n . . . 1 n 4 4 $ B 1 $
[Name] Set horizontal tab positions
[Format] ASCII ESC D n1...nk NUL
Hex 1B 44 n1...nk 00
Decimal 27 68 n1...nk 0
[Range] 1 n 255
0 k 32
[Description] Sets horizontal tab positions
n specifies the column number for setting a horizontal tab position calculated from the
beginning of the line.
k indicates the total number of horizontal tab positions to be set.
[Notes] The horizontal tab position is stored as a value of [character width x n] measured from
the beginning of the line. The character width includes the right-side character spacing
and double-width characters are set with twice the width of normal characters.
This command cancels previous tab settings.
When setting n =8, the print position is moved to column 9, by sending $09.
Up to 32 tab positions ( k =32) can be set. Data exceeding 32 tab positions is pro-
cessed as normal data.
Send [ n ] k in ascending order and place a 0 NUL code at the end. When [ n ] k is less
than or equal to the preceding value [ n ] k-1, the setting is complete and the data which
follows is processed as normal data.
This command cancels all horizontal tab positions.
The previously specified horizontal tab position does not change, even if the character
width is modified.
[Default] Default tab positions are set at intervals of 8 characters (columns 9, 17, 25, ) for Font A
when the right-side character spacing is 0.
[Reference] $09
[Example]
n 5 4 $ B 1 $
[Name] Turn emphasized mode on/off
[Format] ASCII ESC E n
Hex 1B 45 n
Decimal 27 69 n
[Range] 0 n 255
[Description] Turns emphasized mode on/off.
When the LSB of n is 0, the emphasized mode is off.
When the LSB of n is 1, the emphasized mode is on.
[Notes] Only the LSB of n is effective.
$1B $21 also turns on and off the emphasized mode. However, the last received com-
mand is the effective one.
[Default] n =0
[Reference] $1B $21
[Example]
3. PRINTER FUNCTIONS
TPTCM 49 3-
n 7 4 $ B 1 $
[Name] Turn double-strike mode on/off
[Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n
[Range] 0 n 255
[Description] Turns double-strike mode on or off.
When the LSB of n is 0, the double-strike mode is off.
When the LSB of n is 1, the double-strike mode is on.
[Notes] Only the LSB of n is effective.
Printer output is the same in double-strike and emphasized mode.
[Default] n =0
[Reference] $1B $45
[Example]
n A 4 $ B 1 $
[Name] Print and paper feed
[Format] ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
[Range] 0 n 255
[Description] Prints the data in the print buffer and feeds the paper [ n (vertical or horizontal motion
unit)] inches.
[Notes] After printing has been completed, this command sets the print starting position to the
beginning of the line.
The paper feed amount set by this command does not affect the values set by $1B $32
or $1B $33.
The horizontal and vertical motion units are specified by $1D $50.
$1D $50 can change the vertical (and horizontal) motion unit. However, the value cannot
be less than the minimum vertical movement amount.
In standard mode, the vertical motion unit is used.
The maximum paper feed amount is 31.8 mm.
[Default]
[Reference] $1D $50
[Example]
n 2 5 $ B 1 $
[Name] Select an international character set
[Format] ASCII ESC R n
Hex 1B 52 n
Decimal 27 82 n
[Range] 0 n 12
[Description] Selects the international character set n according to the table below:
3. PRINTER FUNCTIONS
TPTCM 50 3-
x e H 3 2 4 2 0 4 B 5 C 5 D 5 E 5 0 6 B 7 C 7 D 7 E 7
n t e s r e t c a r a h C
0 . A . S . U # $ @ [ \ ] ^ ` { | } ~
1 e c n a r F # $ ^ ` "
2 y n a m r e G # $ ^ `
3 m o d g n i K d e t i n U $ @ [ \ ] ^ ` { | } ~
4 I k r a m n e D # $ @ ^ ` ~
5 n e d e w S #
6 y l a t I # $ @ \ ^
7 1 n i a p S t P $ @ i ^ ` " } ~
8 a p a J n # $ @ [ ] ^ ` { | } ~
9 y a w r o N #
0 1 I I k r a m n e D # $
1 1 p S n i a 2 # $ i `
2 1 S u o a c i r e m A h t # $ i
[Default] n =0
[Reference]
[Example]
n 6 5 $ B 1 $
[Name] Set 90 rotated print mode.
[Format] ASCII ESC V n
Hex 1B 56 n
Decimal 27 86 n
[Range] 0 n 1, 48 n 49
[Description] Turns 90 rotation mode on/off.
n is used as follows :
n n o i t c n u F
8 4 , 0 e d o m n o i t a t o r 0 9 f f o s n r u T
9 4 , 1 e d o m n o i t a t o r 0 9 n o s n r u T
[Notes] When underlined mode is turned on, the printer does not underline 90 rotated charac-
ters. All the same its possible select the underline mode.
Double-width and double-height commands in 90 rotation mode enlarge characters in
the opposite directions from double-height and double-width commands in normal mode.
This command is not available in Page mode.
If this command is entered in Page mode, the printer all the same save the setting.
Default] n =0
[Reference] $1B $21, $1B $2D
[Example]
3. PRINTER FUNCTIONS
TPTCM 51 3-
H n L n C 5 $ B 1 $
[Name] Set relative print position
[Format] ASCII ESC \ nL nH
Hex 1B 5C nL nH
Decimal 27 92 nL nH
[Range] 0 nL 255
0 nH 255
[Description] Sets the print starting position based on the current position by using the horizontal or
vertical motion unit.
This command sets the distance from the current position to [(nL+nH 256) (horizon-
tal or vertical motion unit)].
[Notes] Any setting that exceeds the printable area is ignored.
When the starting position is specified by n motion units to the right:
nL +nH 256 =n
When the starting position is specified by n motion units to the left (negative direction),
use the complement of 65536:
nL +nH 256 =65536 n
If setting exceeds the printing area width, the left or right margin is set to the default
value.
The horizontal and vertical motion unit are specified by $1D $50.
$1D $50 can change the horizontal (and vertical) motion units. However, the value
cannot be less than the minimum horizontal movement amount.
In standard mode, the horizontal motion unit is used.
[Default]
[Reference] $1B $24, $1D $50
[Example]
n 1 6 $ B 1 $
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 n 2, 48 n 50
[Description] Aligns all data in one line to the specified position.
n selects the type of justification as follows:
n Justification
0, 48 Flush left
1, 49 Centered
2, 50 Flush right
[Notes] This command is only enabled when inserted at the beginning of a line.
Lines are justified within the specified printing area.
Spaces set by $09, $1B $24 and $1B $5C will be justified according to the previously-
entered mode.
[Default] n =0
[Reference]
[Example] Flush left Centered Flush right
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
3. PRINTER FUNCTIONS
TPTCM 52 3-
n 4 3 $ 3 6 $ B 1 $
[Name] Select paper sensor to stop printing.
[Format] ASCII ESC c 4 n
Hex 1B 63 34 n
Decimale 27 99 52 n
[Range] 0 n 255
[Description] Selects the paper sensor used to stop printing when a near paper-end is deleted, using n
as follows :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 . d e l b a n e r o s n e s d n e l l o r r e p a P
n O 01 1 . d e l b a n e r o s n e s d n e - r a e n l l o r r e p a P
1 - - - D E V R E S E R
2 - - - D E V R E S E R
3 - - - D E V R E S E R
4 - - - D E V R E S E R
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 - - - D E V R E S E R
[Notes] When a near paper-end is detected, printing stops after printing the current line and
feeding the paper.
The paper roll near-end sensor is enabled when either bit 0 is 1.
This setting is not cleared by printer resetting, because it is stored in the Eeprom.
[Default] n =0
[Reference]
[Example]
n 5 3 $ 3 6 $ B 1 $
[Name] Enable/disable front panel buttons
[Format] ASCII ESC c 5 n
Hex 1B 63 35 n
Decimal 27 99 53 n
[Range] 0 n 255
[Description] Enables/disables the buttons on the front panel.
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] Only the LSB of n is effective.
On the printer, the panel buttons are LINE FEED and FORM FEED.
When the panel buttons are disabled, the buttons may only be used after the printer
has been reset.
When the panel buttons are disabled, is possible to know the status through the $10
$04 command.
[Default] n =0
[Reference] $10 $04
[Example]
3. PRINTER FUNCTIONS
TPTCM 53 3-
n 4 6 $ B 1 $
[Name] Print and feed paper n lines
[Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n
[Range] 0 n 255
[Description] Prints the data in the print buffer and feeds the paper n lines.
[Notes] Sets the print starting position at the beginning of the line.
This command does not affect the line spacing set by $1B $32 or $1B $33.
The maximum paper feed amount is 200 lines. Even if a paper feed amount of more
than 200 lines is set, the printer feeds the paper only 200 lines.
[Default]
[Reference] $1B $32, $1B $33
[Example]
9 6 $ B 1 $
[Name] Total cut
[Format] ASCII ESC i
Hex 1B 69
Decimal 27 105
[Description] This command enables cutter operation. If there is no cutter, a disabling flag is set and
any subsequent cut commands will be ignored.
[Notes] The printer waits to complete all paper movement commands before it executes a total
cut.
With the TPT112H model, the kind of cutter sets total or partial cut.
[Default]
[Reference]
[Example]
D 6 $ B 1 $
[Name] Partial cut
[Format] ASCII ESC m
Hex 1B 6D
Decimal 27 109
[Description] This command enables partial cutter operation. If there is no cutter, a disabling flag is set
and any subsequent cut commands will be ignored.
[Notes] The printer waits to complete all paper movement commands before it executes a
partial cut.
[Default]
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 54 3-
n 2 7 $ B 1 $
[Name] Set/reset red printing mode
[Format] ASCII ESC r n
Hex 1B 72 n
Decimal 27 114 n
[Range] 0 n 1, 48 n 49
[Description] Sets and resets red printing mode.
n Function
0, 48 Reset red printing mode
1, 49 Set red printing mode
[Notes] The printer prints only entire lines in red, not individual characters.
The printer prints red only if enabled by Setup.
[Default] n =0
[Reference]
[Example]
n 4 7 $ B 1 $
[Name] Select character code table
[Format] ASCII ESC t n
Hex 1B 74 n
Decimal 27 116 n
[Range] n =0, 19, 255
[Description] Selects a page n from the character code table, as follows:
n e g a P
0 ) ] e p o r u E d r a d n a t S , . A . S . U [ 7 3 4 C P ( 0
9 1 ) 3 1 2 n o i t i s o p t a l o b m y s o r u E r o f 8 5 8 C P ( 9 1
5 5 2 e g a p e c a p S
[Notes]
[Default] n =0
[Reference] See character code tables
[Example] For printing Euro symbol (), the command sequence is :
$1B, $74, $13, $D5
) e c a f r e t n i l a i r e s y l n O ( 6 7 $ B 1 $
[Name] Transmit paper sensor status
[Format] ASCII ESC v
Hex 1B 76
Decimal 27 118
[Description] When this command is received, transmit the current status of the paper sensor. The
status to be transmitted is shown in the table below:
3. PRINTER FUNCTIONS
TPTCM 55 3-
t i B n O / f f O x e H l a m i c e D n o i t c n u F
01 ,
f f O 0 0 0 t n e s e r p s i r e p a P
n O 03 3 d n e r e p a p r a e N
3 , 2
f f O 0 0 0
: r o s n e s d n e - r e p a P
t n e s e r p s i r e p a P
n O ) C 0 ( ) 2 1 (
: r o s n e s d n e - r e p a P
t n e s e r p t o n s i r e p a P
4 f f O 0 0 0 0 o t d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 f f O 0 0 0 0 o t d e x i F
[Notes] This command is executed immediately, even when the data buffer is full (Busy ).
[Default]
[Reference] $10 $04
[Example]
n 8 7 $ B 1 $
[Name] Select speed/quality mode.
[Format] ASCII ESC x n
Hex 1B 78 n
Decimal 27 120 n
[Range] 0 n 2
[Description] Selects printing speed/quality mode.
n n o i t c n u F
0 ) d e e p s h g i h ( e d o m t f a r D
1 e d o m l a m r o N
2 ) d e e p s w o l ( y t i l a u q h g i H
[Notes] In high quality mode (n=2), the printer may be noisy.
[Default] n =1
[Reference]
[Example]
n B 7 $ B 1 $
[Name] Turn upside-down printing mode on/off
[Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n
[Range] 0 n 255
[Description] Turns upside-down printing mode on or off.
When the LSB of n is 0, the upside-down printing mode is off.
When the LSB of n is 1, the upside-down printing mode is on.
[Notes] Only the LSB of n is effective.
This command is valid only if entered at the beginning of a line.
In upside-down printing mode, the printer rotates the line to be printed 180 and then
prints it.
3. PRINTER FUNCTIONS
TPTCM 56 3-
[Default] n =0
[Reference]
[Example]
Upside-down printing Off Upside-down printing On
L y H y L x H x n A F $ B 1 $
[Name] Print graphic bank( 448 585 dots 832 x 315 dots).
[Format] ASCII ESC n xH xL yH yL
Hex 1B FA n xH xL yH yL
Decimal 27 250 n xH xL yH yL
[Range] 0 n 3
0 xH, xL, yH, yL 255
[Description] Prints graphic bank from flash or ram.
n selects the graphic source as follows:
n n o i t c n u F
0 k n a b m a r t n i r P
1 1 o g o l k n a b h s a l f t n i r P
2 2 o g o l k n a b h s a l f t n i r P
3 3 o g o l k n a b h s a l f t n i r P
xL +xH 256 specifies the starting dotline ( 1 585
1 315).
yL +yH 256 specifies the number of lines to print.
[Notes] If (xL +(xH 256)) > 585 315 the printer does not execute the command.
If ( xL +( xH 256 ) +yL +( yH 256 ))> 585 315 the printer prints only 585
315 - xL +( xH 256 ) +1 dotline.
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FC, $1B $FD, $1B $FE
[Example] To print from ram bank dotline 100 to dotline 299, send:
$1B $FA $00 $00 $64 $00 $C7
) e c a f r e t n i l a i r e s y l n o ( H n L n B F $ B 1 $
[Name] Transmit ram bank to serial port
[Format] ASCII ESC {} nL nH
Hex 1B FB nL nH
Decimal 27 251 nL nH
[Description] Transmits (nH x 256) +nL bytes of ram bank to serial port.
[Notes] The size of ram bank for graphic printing is :
ABCDEFG
0123456
A B C D E F G
0 1 2 3 4 5 6
Printing direction
3. PRINTER FUNCTIONS
TPTCM 57 3-
448 horizontal dots (56 bytes/dotline) x 585 vertical dots (32760 bytes =16380 words).
832 horizontal dots (104 bytes/dotline) x 315 vertical dots (32760 bytes =16380
words).
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FC, $1B $FD, $1B $FE
[Example]
n C F $ B 1 $
[Name] Transfer flash bank into ram bank
[Format] ASCII ESC {} n
Hex 1B FC n
Decimal 27 252 n
[Range] 1 n 3
[Description] Transfers flash bank into ram bank (32768 bytes).
n selects the bank as follows:
n n o i t c n u F
1 m a r o t n i 1 o g o l k n a b h s a l f s r e f s n a r T
2 m a r o t n i 2 o g o l k n a b h s a l f s r e f s n a r T
3 m a r o t n i 3 o g o l k n a b h s a l f s r e f s n a r T
[Notes]
[Default]
[Reference] $1B $FA, $1B $FD, $1B $FE
[Example]
H n L n D F $ B 1 $
[Name] Receive ram bank from serial port
[Format] ASCII ESC {} nL nH
Hex 1B FD nL nH
Decimal 27 253 nL nH
[Range] 0 nL, nH 255
[Description] Receives [nL +(nH 256)] words from the port and puts them into the ram bank.
[Notes] The number of data bytes received is [nL +(nH 256)] 2.
Each word is first received as MSByte and then as LSByte.
If [nL +(nH 256)] is greater than 16384, the data which follows is processed as
normal data.
An horizontal dotline is represented to 28 52 words.
indicates TPTCM60x indicates TPTCM112x
[Default]
[Reference] $1B $FA, $1B $FC, $1B $FE
[Example]
3. PRINTER FUNCTIONS
TPTCM 58 3-
n E F $ B 1 $
[Name] Transfer ram bank into flash bank
[Format] ASCII ESC {} n
Hex 1B FE n
Decimal 27 254 n
[Range] 1 n 3
[Description] Transfers the ram bank into the flash bank (32768 bytes).
n selects the bank as follows:
n n o i t c n u F
1 1 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
2 2 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
3 3 o g o l k n a b h s a l f o t n i k n a b m a r s r e f s n a r T
[Notes]
[Default]
[Reference] $1B $FA, $1B $FC, $1B $FD
[Example]
n 1 2 $ D 1 $
[Name] Select character size
[Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
[Range] 0 n 255
[Description] Selects character height and width, as follows:
Bits 0 to 3: to select character height (see table 2).
Bits 4 to 7: to select character width (see table 1).
1 e l b a T n o i t c e l e s h t d i W r e t c a r a h C
x e H l a m i c e D h t d i W
0 0 0 ) l a m r o n ( 1
0 1 6 1 2 ) h t d i w e l b u o d (
0 2 2 3 ) h t d i w e l p u r d a u q ( 3
0 3 8 4
0 4 4 6
0 5 0 8
0 6 6 9
0 7 2 1 1

n o i t c e l e s t h g i e H r e t c a r a h C 2 e l b a T
x e H l a m i c e D t h g i e H
0 0 0 ) l a m r o n ( 1
1 0 1 ) t h g i e h e l b u o d ( 2
2 0 2 ) t h g i e h e l p u r d a u q ( 3
3 0 3
4 0 4
5 0 5
6 0 6
7 0 7
[Notes] This command is effective for all characters (except HRI characters).
If n falls outside the defined range, this command is ignored.
Characters enlarged to different heights on the same line are aligned at the baseline or
topline (see $1D $7E).
3. PRINTER FUNCTIONS
TPTCM 59 3-
$1B $21 can also be used to select character size. However, the setting of the last
received command is the effective one.
[Default] n =0
[Reference] $1B $21
[Example]
A 3 $ D 1 $
[Name] Start/end macro definition
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
[Description] Starts or ends macro definition.
[Notes] Macro definition starts when this command is received during normal operation.
When $1D $5E is received during macro definition, the printer ends macro definition and
clears all definitions.
Macros are not defined when power is turned on to the machine.
Macro content is not cancelled by the $1B $40 command. Therefore, $1B $40 may be
included in the content of macro definitions.
If the printer receives $1D $3A a second time after previously receiving $1D $3A, the
printer remains in macro undefined status.
The contents of the macro can be defined up to 2048 bytes. If the macro definition
exceeds 2048 bytes, excess data is not stored.
[Default]
[Reference] $1D $5E
[Example]
n 2 4 $ D 1 $
[Name] Turn white/black reverse printing mode on/off
[Format] ASCII GS B n
Hex 1D 42 n
Decimal 29 66 n
[Range] 0 n 255
[Description] Turns white/black reverse printing mode on or off.
When the LSB of n is 0, white/black reverse printing is turned off.
When the LSB of n is 1, white/black reverse printing is turned on.
[Notes] Only the LSB of n is effective.
This command is available for both built-in and user-defined characters.
This command does not affect bit image, downloaded bit image, bar code, HRI charac-
ters and spacing skipped by $09, $1B $24 and $1B $5C.
This command does not affect white space between lines.
White/black reverse mode has a higher priority than underline mode. Even if underline
mode is on, it will be disabled (but not cancelled) when white/black reverse mode is
selected.
[Default] n =0
[Reference]
[Example]
3. PRINTER FUNCTIONS
TPTCM 60 3-
m n 0 3 $ 3 4 $ D 1 $
[Name] Select counter print mode
[Format] ASCII GS C 0 n m
Hex 1D 43 30 n m
Decimal 29 67 48 n m
[Range] 0 n 5
m =0, 1, 2, 48, 49, 50
[Description] Selects a print mode for the serial number counter.
n specifies the number of digits to be printed as follows:
when n =0, the printer prints the actual digits indicated by the numeric value.
when n =1 to 5, the command sets the number of digits to be printed.
m specifies the printing position within the entire range of printed digits as follows:
m n o i t i s o p g n i t n i r P d e i f i c e p s e s o h t n a h t s s e l s t i g i d f o g n i s s e c o r P
8 4 , 0 t h g i r n g i l A t f e l e h t o t s e c a p s s d d A
9 4 , 1 t h g i r n g i l A t f e l e h t o t ' 0 ' a s d d A
0 5 , 2 t f e l n g i l A t h g i r e h t o t s e c a p s s d d A
[Notes] If n or m is out of the defined range, the previously set print mode is not changed.
If n =0, m is not applicable.
[Default] n =0, m =0
[Reference] $1D $43 $31, $1D $43 $32, $1D $43 $3B, $1D $63
[Example] n =3,m =0 n =3, m =1 n =3, m=2
1 001 1
indicates a space
r n H b L b H a L a 1 3 $ 3 4 $ D 1 $
[Name] Select count mode (A).
[Format] ASCII GS C 1 aL aH bL bH n r
Hex 1D 43 31 aL aH bL bH n r
Decimal 29 67 49 aL aH bL bH n r
[Range] 0 aL, aH 255
0 bL, bH 255
0 n, r 255
[Description] Selects a count mode for the serial number counter.
aL, aH or bL, bH specify the counter range.
n indicates the stepping amount when counting up or down.
r indicates the repetition number when the counter value is fixed.
[Notes] Count-up mode is specified when:
[aL +(aH 256)] <[bL +(bH 256)] and n 0 and r 0
Count-down mode is specified when:
[aL +(aH 256)] >[bL +(bH 256)] and n 0 and r 0
Counting stops when:
[aL +(aH 256)] =[bL +(bH 256)] or n =0 or r =0
Setting the count-up mode, the minimum counter value is [aL +(aH 256)] and the
maximum value is [bL +(bH 256)]. If the counting up reaches a value that exceeds the
maximum, it resets to the minimum value.
Setting the count-down mode, the maximum counter value is [aL +(aH 256)] and the
minimum value is [bL +(bH 256)]. If the counting down reaches a value less than the
3. PRINTER FUNCTIONS
TPTCM 61 3-
minimum, it resets to the maximum value.
When this command is executed, the internal count that indicates the repetition
number specified by r is cleared.
[Default] aL =1, aH =0, bL =255, bH =255, n =1, r =1
[Reference] $1D $43 $30, $1D $43 $32, $1D $43 $3B, $1D $63
[Example]
H n L n 2 3 $ 3 4 $ D 1 $
[Name] Set counter
[Format] ASCII GS C 2 nL nH
Hex 1D 43 32 nL nH
Decimal 29 67 50 nL nH
[Range] 0 nL, nH 255
[Description] Sets the serial number counter value.
nL and nH determine the value of the serial number counter set by [nL +(nH 256)].
[Notes] In count-up mode, if the counter value specified by this command goes out of the
counter operation range specified by $1D $43 $31 or $1D $43 $3B it is forced to convert
to the minimum value through $1D $63.
In count-down mode, if the counter value specified by this command goes out of the
counter operation range specified by $1D $43 $31 or $1D $43 $3B it is forced to convert
to the maximum value through $1D $63.
[Default] nL =1, nH =0
[Reference] $1D $43 $30, $1D $43 $31, $1D $43 $3B, $1D $63
[Example]
B 3 $ c s B 3 $ r s B 3 $ n s B 3 $ b s B 3 $ a s B 3 $ 3 4 $ D 1 $
[Name] Select count mode
[Format] ASCII GS C ; sa ; sb ; sn ; sr ; sc ;
Hex 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B
Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59
[Range] 0 sa, sb, sc 65535
0 sn, sr 255
These values are all character strings.
[Description] Selects a count mode for the serial number counter and specifies the value of the
counter.
sa, sb, sn, sr and sc are all displayed as ASCII characters using codes from 0 to 9.
sa and sb specify the counter range.
sn indicates the unit amount for counting up or down.
sr indicates the repetition number when the counter value is fixed.
sc indicates the counter value.
[Notes] Count-up mode is specified when:
sa <sb and sn 0 and sr 0
Count-down mode is specified when:
sa >sb and sn 0 and sr 0
Counting stops when:
sa =sb or sn =0 or sr =0
In setting count-up mode, the minimum value of the counter is sa and the maximum
value is sb. If counting up reaches a value exceeding the maximum, it resets to the
minimum value. If the counter value set by sc is outside the counter operation range, the
3. PRINTER FUNCTIONS
TPTCM 62 3-
counter value is forced to convert to the minimum value by executing $1D $63.
In setting count-down mode, the maximum value of the counter is sa and the minimum
value is sb. If counting down reaches a value less than the minimum, it resets to the
maximum value. If the counter value set by sc is outside the counter operation range, the
counter value is forced to convert to the maximum value by executing $1D $63.
Parameters sa to sc can be omitted. If omitted, they remain unchanged.
Parameters sa to sc cannot contain characters other than 0 to 9.
[Default] sa =1, sb =65535, sn =1, sr =1, sc =1
[Reference] $1D $43 $30, $1D $43 $32, $1D $43 $31, $1D $63
[Example]
n 8 4 $ D 1 $
[Name] Select printing position of Human Readable Interpretation ( HRI ) characters
[Format] ASCII GS H n
Hex 1D 48 n
Decimal 29 72 n
[Range] 0 n 3, 48 n 51
[Description] Selects the printing position of HRI characters when printing bar codes.
n selects the printing positions as follows :
n n u F n o i t c
8 4 , 0 d e t n i r p t o N
9 4 , 1 e d o c r a b e h t e v o b A
0 5 , 2 e d o c r a b e h t w o l e B
1 5 , 3 e d o c r a b e h t w o l e b d n a e v o b a h t o B
[Notes] HRI characters are printed using the font specified by $1D $66.
[Default] n =0
[Reference] $1D $66, $1D $6B
[Example]
) e c a f r e t n i l a i r e s y l n o ( n 9 4 $ D 1 $
[Name] Transmit printer ID
[Format] ASCII GS I n
Hex 1D 49 n
Decimal 29 73 n
[Range] 1 n 3, 49 n 51
[Description] Transmits the printer ID specified by n follows:
3. PRINTER FUNCTIONS
TPTCM 63 3-
n D I r e t n i r P n o i t a c i f i c e p S
9 4 , 1 D I l e d o m r e t n i r P
) x 0 6 M C T P T ( A 4 $
) x 2 1 1 M C T P T ( C 4 $
) 2 1 3 2 B G t n o f h t i w x 0 6 M C T P T ( 8 4 $
) 2 1 3 2 B G t n o f h t i w x 2 1 1 M C T P T ( 9 4 $
0 5 , 2 D I e p y T w o l e b e l b a t e e S
1 5 , 3 D I n o i s r e v M O R ) r e t c a r a h c 4 ( n o i s r e v M O R n o s d n e p e D
n = 2, Type ID
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0 f f O 0 0 0 d e t r o p p u s t o n s e d o c r e t c a r a h c e t y b - 2
1 f f O 0 0 0
d e p p i u q e t o n r e t t u c o t u A
d e p p i u q e r e t t u c o t u A
2
f f O 0 0 0 r e p a p l a m r e h t l e b a l - n o N
n O 4 0 4 r e p a p l a m r e h t l e b a L
3 - - - D E V R E S E R
4 f f O 0 0 0 0 o t d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 f f O 0 0 0 0 o t d e x i F
[Notes] When the DTR/DSR control is selected, the printer only transmits 1 byte (printer ID)
without confirmation that the host is ready to receive data. If host is not ready, the printer
waits until is ready.
When the XON/XOFF control is selected, the printer only transmits 1 byte (printer ID)
without confirmation that the host is ready to receive data.
This command is executed when the data is processed in the data buffer. Therefore,
there could be a time lag between command reception and data transmission, depending
on data buffer status.
[Default]
[Reference]
[Example]
H n L n C 4 $ D 1 $
[Name] Set left margin
[Format] ASCII GS L nL nH
Hex 1D 4C nL nH
Decimal 29 76 nL nH
[Range] 0 nL, nH 255
[Description] Sets the left margin.
The left margin is set to [(nL +nH 256) (horizontal motion unit)] inches.
Printable area
Left margin Printing area width
3. PRINTER FUNCTIONS
TPTCM 64 3-
[Notes] This command is enabled only if set at the beginning of the line.
If the setting exceeds the printable area, the maximum value of the printable area is
used.
If the left margin +printing area width is greater than the printable area, the printing area
width is set at maximum value.
The horizontal and vertical motion unit are specified by $1D $50. Changing the horizon-
tal or vertical motion unit does not affect the current left margin.
The $1D $50 command can change the horizontal (and vertical) motion unit.
However, the value cannot be less than the minimum horizontal movement amount and
it must be in even units of the minimum horizontal movement amount.
indicates TPTCM60x indicates TPTCM112x
[Default]

: . l o c 6 5 d n a 2 3 f I 0 = H n = L n : . l o c 4 0 1 f I 0 = H n = L n
: . l o c 2 4 f I 0 = H n 4 1 = L n : . l o c 0 8 f I 6 1 = H n = L n
: . l o c 2 5 f I 0 1 = H n = L n
[Reference]
[Example]
y x 0 5 $ D 1 $
[Name] Set horizontal and vertical motion units
[Format] ASCII GS P x y
Hex 1D 50 x y
Decimal 29 80 x y
[Range] x =100, 200
y =100, 200
[Description] Sets the horizontal and vertical motion units to 1/x inch and
1/y inch respectively.
When x is set to 0, the default setting value is used.
When y is set to 0, the default setting value is used.
[Notes] The horizontal direction is perpendicular to the paper feed direction.
In standard mode, the following commands use x or y, regardless of character rotation
(upside-down or 90 clockwise rotation):
Commands using x : $1B $20, $1B $24, $1B $5C, $1D $4C, $1D $57.
Commands using y : $1B $33, $1B $4A.
This command does not affect the previously specified values.
The calculated result from combining this command with others is truncated to the
minimum value of the mechanical pitch or an exact multiple of that value.
[Default] x =200, y =200
[Reference] $1B $20, $1B $24, $1B $5C, $1B $33, $1B $4A, $1D $4C, $1D $57
[Example]
H n L n 7 5 $ D 1 $
[Name] Set printing area width
[Format] ASCII GS W nL nH
Hex 1D 57 nL nH
Decimal 29 87 nL nH
3. PRINTER FUNCTIONS
TPTCM 65 3-
[Range] 0 nL, nH 255
0 (nL +nH 256) 832
[Description] Sets the printing area width to the area specified by nL and nH.
The printing area width is set to [(nL +nH 256) (horizontal motion unit)] inches.
Printable area
Left margin Printing area width
[Notes] This command is only enabled if set at the beginning of the line.
If the right margin is greater than the printable area, the printing area width is set at
maximum value.
If the printing area width =0, it is set at the maximum value.
The horizontal and vertical motion units are specified by $1D $50. Changing the hori-
zontal or vertical motion unit does not affect the current left margin.
The $1D $50 command can change the horizontal (and vertical) motion unit.
However, the value cannot be less than the minimum horizontal movement amount and
it must be in even units of the minimum horizontal movement amount.
indicates TPTCM60x indicates TPTCM112x
[Default]

: . l o c 6 5 d n a 2 3 f I 0 = H n = L n : . l o c 4 0 1 f I 0 = H n = L n
: . l o c 2 4 f I 0 = H n 4 1 = L n : . l o c 0 8 f I 6 1 = H n = L n
: . l o c 2 5 f I 0 1 = H n = L n
[Reference]
[Example]
m t r E 5 $ D 1 $
[Name] Execute macro
[Format] ASCII GS ^ r t m
Hex 1D 5E r t m
Decimal 29 94 r t m
[Range] 0 r, t 255
0 m 1
[Description] Executes a macro.
r specifies the number of times to execute the macro.
t specifies the waiting time for executing the macro.
The waiting time is t 100 msec. for each macro execution.
m specifies macro executing mode:
When the LSB of m =0, the macro is executed r times continuously at the interval
specified by t.
When the LSB of m =1, after waiting for the period specified by t, the LED indicator
blinks and the printer waits for the FEED button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats the operation r times.
[Notes] This command has an interval of (t 100 msec.) after a macro is executed by t.
3. PRINTER FUNCTIONS
TPTCM 66 3-
If this command is received while a macro is being defined, the macro definition is
aborted and the definition is cleared.
If the macro is not defined or if r is 0, nothing is executed.
When the macro is executed by pressing the FORM FEED button (m=1), the paper
cannot be fed using the FORM FEED button.
[Default]
[Reference] $1D $3A
[Example]
3 6 $ D 1 $
[Name] Print counter
[Format] ASCII GS c
Hex 1D 63
Decimal 29 99
[Description] Sets the serial counter value in the print buffer and increments or decrements the counter
value.
[Notes] After setting the current counter value in the print buffer as print data (a character
string), the printer counts up or down based on the count mode set. The counter value in
the print buffer is printed when the printer receives a print command or the buffer is full.
The counter print mode is set using $1D $43 $30.
The counter mode is set using $1D $43 $31 or $1D $43 $3B.
In count-up mode, if the counter value set by this command goes out of the counter
operation range set by $1D $43 $31 or $1D $43 $3B it is forced to revert to the minimum
value.
In count-down mode, if the counter value set by this command goes out of the counter
operation range set by $1D $43 $31 or $1D $43 $3B it is forced to revert to the maximum
value.
[Default]
[Reference] $1D $43 $30, $1D $43 $31, $1D $43 $32, $1D $43 $3B
[Example]
] l [ ] m [ n 5 6 $ D 1 $
[Name] Ejector commands
[Format] ASCII GS e n [m] [l]
Hex 1D 65 n [m] [l]
Decimal 29 101 n [m] [l]
[Range] 0 n 3 , 5 n 8
[Description] This command checks tickets ejector :
n =0 Ticket produced with defined number of steps (see command notes)
n =1 Ejector motor off
n =2 Ejector motor on
n =3 ticket presenting with (3 x m) steps (1 step =36 mm =3 x 12 mm)
n =5 ticket espulsion
n =6 transmits ejector byte status
3. PRINTER FUNCTIONS
TPTCM 67 3-
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 d n e r e p a p r a e n t o N
n O 1 0 1 d n e r e p a p r a e N
1 f f O 0 0 0 0 o t d e x i F
2
f f O 0 0 0 r o s n e s d n e r e p a P
n O 4 0 4 . t n e s e r p s i r e p a P
3
f f O 0 0 0 t u o s t e k c i T
n O 8 0 8 h t u o m r o t c e j e n o t n e s e r p t e k c i T
4
f f O 0 0 0 f f o r o t o m g n i p p e t s r e t n i r P
n O 0 1 6 1 n o r o t o m g n i p p e t s r e t n i r P
5
f f O 0 0 0 f f o r o t o m r o t c e j E
n O 0 2 2 3 n o r o t o m r o t c e j E
6
f f O 0 0 0 r o r r e o N
n O 0 4 4 6 s r u c c o r o r r E
7 f f O 0 0 0 0 o t d e x i F
n =7 sets maximum ticket length :
The maximum ticket length is [(m*256+l) * (vertical motion unit )] inches. Max ticket
length recommended is 20cm.
n =8 ticket presenting with m steps (1 step =12 mm)
[Notes] m must be sent with n =3, 7;
l must be sent with n =7;
if n=3 and ticket is not cut yet, before execute the command
a total cutting will be make.
if n=0 the fixed value of ticket presenting is :
- on power on and after a reset command ( both hardware and software) 47mm
- the last distance saved to a $1D $65 3 or $1D $65 8 commands.
- Ticket presenting lenght can change of +/- 12 mm.
The minimum ticket presenting lenght is 89 mm (below tihs value the ticket espulsion
could have some problems).
[Default]
[Reference] $1D $6B
[Example]
n 6 6 $ D 1 $
[Name] Select font for HRI characters
[Format] ASCII GS f n
Hex 1D 66 n
Decimal 29 102 n
[Range] n =0, 1, 48, 49
[Description] Selects a font for the HRI characters used when printing a bar code.
n selects a font from the following table:
n t n o F
8 4 , 0 ) 4 2 x 4 1 ( A t n o F
9 4 , 1 B t n o F ) 4 2 x 0 1 (
[Notes] HRI characters are printed at the position specified by $1D $48.
3. PRINTER FUNCTIONS
TPTCM 68 3-
[Default] n =0
[Reference] $1D $48, $1D $6B
[Example]
n 8 6 $ D 1 $
[Name] Set bar code height
[Format] ASCII GS h n
Hex 1D 68 n
Decimal 29 104 n
[Range] 1 n 255
[Description] Sets the height of the bar code.
n specifies the number of vertical dots.
[Notes]
[Default] n =96 ( 12 mm )
[Reference] $1D $6B
[Example]
0 0 $ ] k d . . . 1 d [ m B 6 $ D 1 $ ] n d . . . 1 d [ n m B 6 $ D 1 $
[Name] Print bar code
[Format] ASCII GS k m NUL
Hex 1D 6B m 00
Decimal 29 107 m 0
ASCII GS k m n
Hex 1D 6B m n
Decimal 29 107 m n
[Range] 0 m 6
65 m 73
[Description] Selects a bar code system and prints the bar code.
m selects a bar code system as follows:

m m e t s y s e d o c r a B s r e t c a r a h c f o . o N s k r a m e R
0 A - C P U 1 1 k 2 1 8 4 d 7 5
1 E - C P U 1 1 k 2 1 8 4 d 7 5
2 ) N A J ( 3 1 N A E 2 1 k 3 1 8 4 d 7 5
3 ) N A J ( 8 N A E 7 k 8 8 4 d 7 5
4 9 3 E D O C 1 k
8 4 d 5 6 , 7 5 d , 0 9
7 4 , 6 4 , 5 4 , 3 4 , 7 3 , 6 3 , 2 3
5 F T I 1 ( k r e b m u n n e v e ) 8 4 7 5 d
6 R A B A D O C 1 k
8 4 d 5 6 , 7 5 1 d , 8 6
8 5 , 7 4 , 6 4 , 5 4 , 3 4 , 6 3
7 3 9 E D O C 1 k 5 5 2 1 d 7 2 1
8 8 2 1 E D O C 2 k 5 5 2 1 d 7 2 1
0 2 2 3 E D O C 8 k 9 8 4 d 7 5
3. PRINTER FUNCTIONS
TPTCM 69 3-

5 6 A - C P U 1 1 n 2 1 8 4 d 7 5
6 6 E - C P U 1 1 n 2 1 8 4 d 7 5
7 6 ) N A J ( 3 1 N A E 2 1 n 3 1 8 4 d 7 5
8 6 ) N A J ( 8 N A E 7 n 8 8 4 d 7 5
9 6 9 3 E D O C 1 n 5 5 2
8 4 d 5 6 , 7 5 d , 0 9
7 4 , 6 4 , 5 4 , 3 4 , 7 3 , 6 3 , 2 3
0 7 F T I 1 n 5 5 2 8 4 d 7 5
1 7 R A B A D O C 1 n 5 5 2
8 4 d 5 6 , 7 5 1 d , 8 6
8 5 , 7 4 , 6 4 , 5 4 , 3 4 , 6 3
2 7 3 9 E D O C 1 n 5 5 2 0 d 7 2 1
3 7 8 2 1 E D O C 2 n 5 5 2 0 d 7 2 1
0 9 2 3 E D O C 8 n 9 8 4 d 7 5
[Notes] If d is outside of the specified range, the printer prints the following message: BAR
CODE GENERATOR IS NOT OK! and processes the data which follows as normal
data.
If the horizontal size exceeds the printing area, the printer only feeds the paper.
This command feeds as much paper as is required to print the bar code, regardless
of the line spacing specified by $1B $32 or $1B $33.
After printing the bar code, this command sets the print position to the beginning of
the line.
This command is not affected by print modes (emphasized, double-strike, underline
or character size), except for upside-down and justification mode.
[Notes per ] This command ends with a $00 code.
When the bar code system used is UPC-A or UPC-E, the printer prints the bar code
data after receiving 11 (without check digit) or 12 (with check digit) bytes bar code
data.
When the bar code system used is EAN13, the printer prints the bar code data after
receiving 12 (without check digit) or 13 (with check digit) bytes bar code data.
When the bar code system used is EAN8, the printer prints the bar code data after
receiving 7 (without check digit) or 8 (with check digit) bytes bar code data.
The number of data for ITF bar code must be even numbers. When an odd number
of data is input, the printer ignores the last received data.
[Notes per ] If n is outside of the specified range, the printer stops command processing and
processes the following data as normal data.
When CODE93
is used: The printer prints an HRI character ( o ) as a start character at the beginning of the
HRI character string.
The printer prints an HRI character ( o ) as a stop character at the end of the HRI
character string.
The printer prints an HRI character ( n ) as a control character ( $00 to $1F and
$7F).
When CODE128
is used: When using CODE128 in this printer, please note the following regarding data
transmission:
The top part of the bar code data string must be a code set selection character
(CODE A, CODE B or CODE C) which selects the first code set.
Special characters are defined by combining two characters { and one character.
ASCII character { is defined by transmitting { twice, consecutively.
3. PRINTER FUNCTIONS
TPTCM 70 3-
r e t c a r a h c c i f i c e p S
n o i s s i m s n a r t a t a D
I I C S A x e H l a m i c e D
T F I H S S { 3 5 , B 7 3 8 , 3 2 1
A E D O C A { 1 4 , B 7 5 6 , 3 2 1
B E D O C B { 2 4 , B 7 6 6 , 3 2 1
C E D O C C { 3 4 , B 7 7 6 , 3 2 1
1 C N F 1 { 1 3 , B 7 9 4 , 3 2 1
2 C N F 2 { 2 3 , B 7 0 5 , 3 2 1
3 C N F 3 { 3 3 , B 7 1 5 , 3 2 1
4 C N F 4 { 4 3 , B 7 2 5 , 3 2 1
' { ' { { B 7 , B 7 3 2 1 , 3 2 1
[Default]
[Reference] $1D $48, $1D $66, $1D $68
[Example]
) e c a f r e t n i l a i r e s y l n o ( n 2 7 $ D 1 $
[Name] Transmit status
[Format] ASCII GS r n
Hex 1D 72 n
Decimal 29 114 n
[Range] n =1, 49
[Description] Transmits the status specified by n as follows:
n Function
1, 49 Transmits paper sensor status (same as $1D $76).
) 9 4 , 1 = n ( s u t a t s r o s n e s r e p a P
t i B n O / f f O x e H l a m i c e D n u F n o i t c
0,1
f f O 0 0 0 D E V R E S E R
n O 3 0 3 D E V R E S E R
2,3
f f O 0 0 0 t n e s e r p r e p a p : r o s n e s d n e r e p a P
On 0C 2 1 t n e s e r p t o n r e p a p : r o s n e s d n e r e p a P
4 f f O 0 0 0 0 o t d e x i F
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 f f O 0 0 0 0 o t d e x i F
[Notes] This command is executed when the data is processed in the data buffer. Therefore,
there may be a time lag between receiving the command and transmitting the status,
depending on data buffer status.
[Default]
[Reference] $10 $04, $1B $76
[Example]
3. PRINTER FUNCTIONS
TPTCM 71 3-
) e c a f r e t n i l a i r e s y l n O ( 6 7 $ D 1 $
[Name] Request expanded status
[Format] ASCII GS v
Hex 1D 76
Decimal 29 118
[Description] This command transmits two bytes, each bit indicates the printer status to serial port.
First byte :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0
f f O 0 0 0 d n e r e p a p r a e N
n O 1 0 1 e c n a d n u b a n i e c n e s e r p r e p a P
1
f f O 0 0 0 d e t c e t e d t o n h c t o N
n O 2 0 2 l l e c o t o h p m o r f d e t c e t e d h c t o N
2
f f O 0 0 0 t u o r e p a P
n O 4 0 4 e c n e s e r p r e p a P
3
f f O 0 0 0 d e s a e l e r y e k d e e F e n i L
n O 8 0 8 d e s s e r p y e k d e e F e n i L
4
f f O 0 0 0 d e s a e l e r y e k d e e F m r o F
n O 0 1 6 1 d e s s e r p y e k d e e F m r o F
5
f f O 0 0 0 t c e r r o c e r u t a r e p m e t d a e H
n O 0 2 2 3 r o r r e e r u t a r e p m e t d a e H
6
f f O 0 0 0 f f o r o t o M
n O 0 4 4 6 n o r o t o M
7
f f O 0 0 0 r o r r e o N
n O 0 8 8 2 1 . c t e , p u d a e H , d n e r e p a p o t e u d r o r r E
Second byte :
t i B n O / f f O x e H l a m i c e D n u F o i t c n
0 n O 1 0 1 g n i t n i r P
1 n O 2 0 2 p u d a e H
2 n O 4 0 4 h c t o n e d i s t u O
3 n O 8 0 8 h t u o m t i x e e h t n o t e k c i T
4 n O 0 1 6 1 N O r o t o m r o t c e j E
5
f f O 0 0 0
) t n e s e r p t o n s i r o t c e j e e h t f i ( d e s u t o N
) t n e s e r p s i r o t c e j e e h t f i y l n o ( m a J r e p a P o N
n O 0 2 2 3
) t n e s e r p t o n s i r o t c e j e e h t f i ( d e s u t o N
) t n e s e r p s i r o t c e j e e h t f i y l n o ( m a J r e p a P
6 - - - D E V R E S E R
7 - - - D E V R E S E R
[Notes] This command is executed immediately, even when the data buffer is full (Busy ).
[Default]
[Reference] $10 $04
[Example]
n 7 7 $ D 1 $
[Name] Set bar code width
[Format] ASCII GS w n
Hex 1D 77 n
Decimal 29 119 n
[Range] 1 n 6
3. PRINTER FUNCTIONS
TPTCM 72 3-
[Description] Sets the horizontal size of the bar code.
n specifies the bar code width as follows:
n h t d i w e l u d o M ) m m (
1 5 2 1 . 0
2 5 2 . 0
3 5 7 3 . 0
4 5 . 0
5 5 2 6 . 0
6 5 7 . 0
[Notes]
[Default] n =3
[Reference] $1D $6B
[Example]
n C 7 $ D 1 $
[Name] Set printing density
[Format] ASCII GS {} n
Hex 1D 7C n
Decimal 29 124 n
[Range] 0 n 4, 48 n 52
[Description] Sets printing density.
n specifies printing density as follows:
n y t i s n e d g n i t n i r P
8 4 , 0 t h g i l y r e V
9 4 , 1 t h g i L
0 5 , 2 l a m r o N
1 5 , 3 k r a D
2 5 , 4 k r a d y r e V
[Notes] Printing density reverts to the default value when the printer is reset or turned off.
[Default] n =2
[Reference]
[Example]
n E 7 $ D 1 $
[Name] Set superscript/subscript
[Format] ASCII GS {} n
Hex 1D 7E n
Decimal 29 126 n
[Range] n =0, 1, 48, 49
[Description] Sets superscript or subscript character position.
3. PRINTER FUNCTIONS
TPTCM 73 3-
n specifies the position as follows:
n n u F n o i t c
8 4 , 0 n o i t i s o p r e t c a r a h c t p i r c s b u S
9 4 , 1 n o i t i s o p r e t c a r a h c t p i r c s r e p u S
[Notes] This command is executed if there are characters of different height on the same line.
[Default] n =0
[Reference] $1B $21, $1D $21
[Example]
n 0 E $ D 1 $
[Name] Enable / disable automatic FULL STATUS back
[Format] ASCII GS { } n
Hex 1D E0 n
Decimal 29 224 n
[Range] 0 n 255
[Description] Enable / disable automatic full status back.
n specifies the composition of FULL STATUS as follows:
t i B n O / f f O x e H l a m i c e D n o i t c n u F
0
f f O 0 0 0 . s u t a t s r e p a P e l b a s i D
n O 1 0 1 . s u t a t s r e p a P e l b a n E
1
f f O 0 0 0 . s u t a t s r e s U e l b a s i D
n O 2 0 2 . s u t a t s r e s U e l b a n E
2
f f O 0 0 0 . s u t a t S r o r r E e l b a r e v o c e R e l b a s i D
n O 4 0 4 . s u t a t S r o r r E e l b a r e v o c e R e l b a n E
3
f f O 0 0 0 . s u t a t S r o r r E e l b a r e v o c e r n U e l b a s i D
n O 8 0 8 . s u t a t S r o r r E e l b a r e v o c e r n U e l b a n E
4 - - - D E V R E S E R
5 - - - D E V R E S E R
6 - - - D E V R E S E R
7 - - - D E V R E S E R
[Notes] Once enable at least one byte of the FULL STATUS, for each change of at least one of
the bits which compose the required status, the status sent in automatic from the printer
will be so composed as follows:
1 Byte =$10 (DLE)
2 Byte =n
Next byte (depends how many bits are active in n)
[Reference] $10 $04 n
[Example]
3. PRINTER FUNCTIONS
TPTCM 74 3-
2 E $ D 1 $
[Name] Reading number of cuts performed from the printer
[Format] ASCII GS { }
Hex 1D E2
Decimal 29 226
[Description] Reading the number of cuts performed from the printer.
The command return a string that points out how many cuts are performed by the printer,
for example if there are performed 2376 cuts, it will be:
2376 cuts
[Notes]
[Default]
[Reference]
[Example]
3 E $ D 1 $
[Name] Reading of length (cm) of printed paper
[Format] ASCII GS { }
Hex 1D E3
Decimal 29 227
[Description] Reading of length (cm) of printed paper.
The command return a string pointing out how much paper is printed, for example if the
printer has print about 2515,5 m, it will be:
251550cm
[Notes]
[Default]
[Reference]
[Example]
5 E $ D 1 $
[Name] Reading number of power up
[Format] ASCII GS { }
Hex 1D E5
Decimal 29 229
[Description] Reading number of power up of the printer.
[Notes] The command return a string pointing out the number of turning on of the printer, for
example if the printer is turned on 512 times, it will be:
512on
[Default]
[Reference]
[Example]
4. TECHNICAL SPECIFICATIONS
TPTCM 1 4-
4.1 TECHNICAL SPECIFICATIONS
Table 4.1 gives the main technical specifications for the printer models.
(Tab.4.1)
l e d o M x 0 6 M C T P T x 2 1 1 M C T P T
n o i t u l o s e R ) m m / t o d 8 ( I P D 0 0 2
s n o i t a c i f i c e p s r e p a P
r e p a p f o e p y T
s l l o r l a m r e h T
l l o r f o e d i s t u o n o e d i s e v i t i s n e s - t a e H
r e p a p f o s e p y t d e d n e m m o c e R
) 1 (
m / g 8 5 m o r f
2
m / g 0 8 o t
2
) N A Z N A K (
s s e n k c i h t r e p a P m m 0 8 0 , 0 o t m m 3 6 0 , 0 m o r f
e z i s l l o r r e p a P m m 5 , 0 - / + m m 5 , 9 5 m m 5 , 0 - / + m m 5 , 1 1 1
r e t e m a i d l l o r l a n r e t x E
m m 0 3 1 x a m
) 2 (
m m 0 6 1 x a m
) 3 (
d n e r e p a P e r o c l l o r o t d e h c a t t a t o N
r e t e m a i d e r o c l l o r l a n r e t n I ) m m 1 + ( m m 5 2
s s e n k c i h t e r o C ) m m 1 + ( m m 2
e p y t e r o C c i t s a l p r o d r a o b d r a C
s r o s n e S e r u t a r e p m e t d a e h , d n e r e p a p r a e n , n e p o d a e h , d n e r e p a P
d o h t e m g n i t n i r P ) m m / t o d 8 ( d a e h d e x i f , l a m r e h T
e d o m g n i t n i r P 0 6 3 , 0 8 1 , 0 9 , t h g i a r t S
t a m r o f g n i t n i r P c i l a t i , d e n i l r e d n u , e s r e v e r , d l o b , 8 o t 1 m o r f h t d i w / t h g i e H
t n o f s r e t c a r a h C
) 4 (
l a n o i t a n r e t n I , N O S P E , d r a d n a t S I I C S A
s e c a f r e t n i d r a d n a t S B S U d n a S C I N O R T N E C , 2 3 2 S R l a i r e S
e t a r d u a B s p b 0 0 6 7 5 o t 0 0 2 1 m o r F
r e f f u b e v i e c e R e t y b K 6 1
y r o m e m h s a l F e t y b K 6 5 2
y r o m e m c i h p a r G h c a e 5 8 5 x 8 4 4 s o g o l 3 h c a e 4 1 3 x 2 3 8 s o g o l 3
d e e p s g n i t n i r P c e s / m m 0 4 1 c e s / m m 0 2 1
y l p p u s r e w o P % 0 1 c d V 4 2
t u p n i l a c i r t c e l E
) 3 (
e g a r e v A A 2 A 3
k a e P A 7 . 3 A 6
s n o i t i d n o c l a t n e m n o r i v n E
e r u t a r e p m e t g n i t a r e p O C 0 5 - C 0
y t i d i m u h e v i t a l e R n o i t a s n e d n o c o / w % 5 8 - % 0 1
y t i d i m u h / e r u t a r e p m e t e g a r o t S % 0 9 - % 0 1 / C 0 7 + - C 0 2 -
t h g i e W
) 4 (
r o t c e j e t u o h t i w l e d o M . r g 8 3 1 1 . r g 9 7 6 1
r o t c e j e h t i w l e d o M . r g 8 1 5 1 . r g 9 2 3 2
4. TECHNICAL SPECIFICATIONS
TPTCM 2 4-
Note :
(1)
The recommended minimum basis weight is 58 g/m
2
.
(2)
Models without paper holder support.
(3)
Models with paper holder support.
(3)
STANDARD CUSTOM ticket.
(4)
Printer weight is given without paper roll.
S O P / C S E
M T
N O I T A L U M E x 0 6 M C T P T x 2 1 1 M C T P T
s n m u l o c f o r e b m u N 2 3 2 4 6 5 8 5 0 8 4 0 1
d e e p s g n i t n i r P
c e s / s r e t c a r a h C 6 8 5 0 7 7 6 2 0 1 7 6 9 6 3 3 1 6 3 7 1
c e s / s e n i L 3 . 8 1 3 . 8 1 3 . 8 1 7 . 6 1 7 . 6 1 7 . 6 1
) m m H x L ( s r e t c a r a h C
l a m r o N 3 x 7 . 1 3 x 2 . 1 3 x 1
t h g i e h e l b u o D 3 x 4 . 3 3 x 4 . 2 3 x 2
h t d i w e l b u o D 6 x 7 . 1 6 x 2 . 1 6 x 1
h t d i w d n a t h g i e h e l b u o D 6 x 4 . 3 6 x 4 . 2 6 x 2
t h g i e h e l p u r d a u Q 3 x 8 . 6 3 x 8 . 4 3 x 4
h t d i w e l p u r d a u Q 2 1 x 7 . 1 2 1 x 7 . 1 2 1 x 1
h t d i w d n a t h g i e h e l p u r d a u Q 2 1 x 8 . 6 2 1 x 8 . 4 2 1 x 4
T P T M O T S U C N O I T A L U M E x 0 6 M C T P T x 2 1 1 M C T P T
s n m u l o c f o r e b m u N 8 1 8 2 6 5 4 3 2 5 4 0 1
d e e p s g n i t n i r P
c e s / s r e t c a r a h C 8 4 2 3 1 5 0 4 5 1 5 2 4 8 6 8 0 0 6 2
c e s / s e n i L 7 . 3 1 3 . 8 1 5 . 7 2 5 . 2 1 7 . 6 1 5 2
) m m H x L ( s r e t c a r a h C
l a m r o N 4 x 3 3 x 2 2 x 1
t h g i e h e l b u o D 4 x 6 3 x 4 2 x 2
h t d i w e l b u o D 8 x 3 6 x 2 4 x 1
h t d i w d n a t h g i e h e l b u o D 8 x 6 6 x 4 4 x 2
t h g i e h e l p u r d a u Q 4 x 2 1 3 x 8 2 x 4
h t d i w e l p u r d a u Q 6 1 x 3 2 1 x 2 8 x 1
h t d i w d n a t h g i e h e l p u r d a u Q 6 1 x 2 1 2 1 x 8 8 x 4
(Tab.4.2)
(Tab.4.3)
4. TECHNICAL SPECIFICATIONS
TPTCM 3 4-
94,5
+0,5
-0,5
85
+0,5
-0,5
6
0
4
7
,
5

4
,
5
95
+0,1
-0,1
54
+0,1
-0,1

4
,
2
6
4
160
5
10
4.2 DIMENSIONS
Model TPTCM60-xC (short metal dispenser) with USB and RS232 serial interface
Bottom view
(Fig.4.1)
(Fig.4.2)
Side view
4. TECHNICAL SPECIFICATIONS
TPTCM 4 4-
6
0
14,9
4
,
4
90,8 9
34,9
A
65,2
51,8
- total width 114,1
48,9
Keys
Print axis
(Fig.4.3)
Top view
(Fig.4.4)
Front view
4. TECHNICAL SPECIFICATIONS
TPTCM 5 4-
6
0
4
7
,
5
=
=

4
,
5
95
+0,1
-0,1 54
+0,1
-0,1

4
,
2
160
5
10
24,5
21,5
13
5
2
2
,
8
16
2
4
,
5
4
3
,
8
14,1
8
4
,
5

9
0
9
6
,
5
120
2
1
8
,
3
Model TPTCM60-xE with motor-driven dispenser and USB and RS232 serial interface
Bottom view
(Fig.4.5)
(Fig.4.6)
Side view
4. TECHNICAL SPECIFICATIONS
TPTCM 6 4-
51,8
49,5 65,2
114,7
Keys
Print axis
165,5
6
6
2
0
2
3
,
3
265,5 9,9
109,9
6
0
4,4 4,6
7
2
157,3
Print axis
(Fig.4.7)
Top view
(Fig.4.8)
Front view
4. TECHNICAL SPECIFICATIONS
TPTCM 7 4-
54

4
,
5
21,5
4
6
,
1
+
0
,
5
-
0
,
5
4
159,7
1
3
8
,
3
+
0
,
5
-
0
,
5
127,1
+0,5
-0,5
Model TPTCM112-xC (short metal dispenser) with USB and RS232 serial interface
Bottom view
(Fig.4.9)
Side view
(Fig.4.10)
4. TECHNICAL SPECIFICATIONS
TPTCM 8 4-
9
9
,
1
9
5
171
9
2
,
3
1
3
2
,
7
112
1
3
7
1
1
0
5
1
127

4
,
5
95,4
88,9
90,3
83,9
5
9
227,4
2
3
,
5
1
6
,
5
2
1
1
1
5
159,7
Near paper end
Status
Power on
(Fig.4.11)
Top view
(Fig.4.12)
Front view
4. TECHNICAL SPECIFICATIONS
TPTCM 9 4-
54
21,5


4
,
5
159,7
152
168
155
4
7

1


3
,
6
6
6
,
3
1
3
7
9
5
2
3
4
Model TPTCM112-xE with motor-driven dispenser and USB and RS232 serial interface
Bottom view
(Fig.4.13)
Side view
(Fig.4.14)
4. TECHNICAL SPECIFICATIONS
TPTCM 10 4-
1
1
0
5
1
127
5
9
2
3
,
5
1
6
,
5
2
1
1
7
1
15


4
,
5
Near paper end
Status
Power on
9
9
,
1
9
5
171
1
3
2
,
7
112
(Fig.4.15)
Top view
(Fig.4.16)
Front view
4. TECHNICAL SPECIFICATIONS
TPTCM 11 4-
48 max 47
46 min
Upper plate of
paper outfeed slot
Lower plate of
paper outfeed slot
Parallelism of paper outfeed slot
(Fig.4.17)
4. TECHNICAL SPECIFICATIONS
TPTCM 12 4-
Blank page
5. CHARACTER SETS
TPTCM 1 5-
5.1 CHARACTER SETS
The printer has six font of 224 characters, each with 224 characters (two font for every emulation).
(Fig.5.1)
(Fig.5.2)
ESC/POS Emulation (PC437 USA, Standard Europe)
Custom TPT Emulation
FONT 14X24 FONT 10X24 FONT 8X24
FONT 16X24 FONT 24X32 FONT 8X16
5. CHARACTER SETS
TPTCM 2 5-
If it has the version with chinese simplified font GB2312 (option 0104) at the end of the FONT TEST is printed
all characters set (about 7000) as shown in the fig. 5.3.
(Fig.5.3)
5. CHARACTER SETS
TPTCM 3 5-
0 1 2 3 4 5 6 7 8 9 A B C D E F
A0
B0
C0
D0
E0
F0
0 1 2 3 4 5 6 7 8 9 A B C D E F
A0
B0
C0
D0
E0
F0
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
A
A
B
B
C
C
D
D
E
E
F
F
A0
A0
B0
B0
C0
C0
D0
D0
E0
E0
F0
F0
A1
A9
B0
F7
X
X
X
With this version must be send two bytes to addressing characters: the first byte identifies the table, the
second byte identifies the row and column in the table. In the fig. 5.4 is reported an example of characters
mapping; the x symbol identifies the caracter to address.
1
st
byte
Range: 161 n 169 (A1 A9),
176 n 247 (B0 F7),
2
nd
byte
Range: 160 m 255 (A0 FF).
Address : A1E8
Address : B0C5
Address : F7FF
5. CHARACTER SETS
TPTCM 4 5-
Blank page
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 1 A-
9
5
.
0
20.0
1
0
.
0
7
.
0
3
.
5
1
0
1
8
.
0
198.0
158.0 6.5
9
.
5
3
8
9
.
0
13.5
5
9
5
.
0
120.0
4.5
CN1
5
6
.
5
3
3
193.0
5
.
59
.
0
+V
+V
-V
-V
FG
N
L
62.0
< 8 0.1
0.15
0.25
0.4
0.8
1.5
0.3
B
8 25
25 80
80 250
250 800
800 2600
ANGULAR
TOLERANCE
RANGE
Note : Dimensioni in mm
A.1 ACCESSORIES
A.1.1 Power supply for TPTCM60x model printers
The figure below illustrates the power supply provided by Custom to be utilized for operating TPTCM60x model
printers.
Protection devices: Shortcircuit, overload.
s n o i t a c i f i c e p s t u p t u O
e g a t l o v t u p t u O V 4 2
t n e r r u c t u p t u O . x a M - . n i M A 0 A 5 . 4
y c n e i c i f f E . n i M % 0 8
s n o i t a c i f i c e p s t u p n I
e g a t l o v t u p n I V 5 8 V 4 6 2
t n e r r u C A 0 A 5 . 4
y c n e u q e r f t u p n I z H 7 4 z H 3 6
(Fig.A.1)
(Tab.A.1)
V 4 2 - 0 0 1 - S P S P P W 0 0 1 V 4 2 y l p p u s r e w o p g n i h c t i w S
s n o i t i d n o c l a t n e m n o r i v n E
e r u t a r e p m e t g n i t a r e p O C 0 C 0 7
y t i d i m u H % 0 2 ) n o i t a s n e d n o c o / w ( h R % 5 8
y t i d i m u h / e r u t a r e p m e t e g a r o t S C 0 1 - / C 5 7
% 0 1 ) n o i t a s n e d n o c o / w ( % 5 9
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 2 A-
198.0 38.0
9
7
.
0 GND
GND
V1
V1
N
FG
L
188.0 5.0
1
9
.
0
3
8
.
0
188.0 5.0
# 6 - 32 (4)
1
9
.
0
(Tab.A.2)
(Fig.A.2)
A.1.2 Power supply for TPTCM112x model printers
The figure below illustrates the power supply provided by Custom to be utilized for operating TPTCM112x model
printers.
Protection devices: Shortcircuit, overload.
s n o i t a c i f i c e p s t u p t u O
e g a t l o v t u p t u O V 4 2
t n e r r u c t u p t u O . x a M - . n i M A 0 A 5 . 6
y c n e i c i f f E . n i M % 8 7
s n o i t a c i f i c e p s t u p n I
e g a t l o v t u p n I V 5 1 1 V 0 3 2
t n e r r u C A 0 A 3 . 6
y c n e u q e r f t u p n I z H 7 4 z H 3 6
V 4 2 - 0 5 1 - U P S P P W 0 5 1 V 4 2 y l p p u s r e w o p g n i h c t i w S
s n o i t i d n o c l a t n e m n o r i v n E
e r u t a r e p m e t g n i t a r e p O C 0 C 0 7
y t i d i m u H % 0 2 ) n o i t a s n e d n o c o / w ( h R % 5 8
y t i d i m u h / e r u t a r e p m e t e g a r o t S C 0 1 - / C 5 7
% 0 1 ) n o i t a s n e d n o c o / w ( % 5 9
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 3 A-
Ejector unit
C
A B
A.1.3 Plastic dispenser
For models TPTCM60x and TPTCM112x with motor-driven dispenser, a plastic dispenser to be mounted on the
paper outfeed slot of the printer is available. Table A-3 indicates the models available.
0 6 - R E P A P T U O C S m m 0 6 - t o l s d e e f t u o r e p a p c i t s a l P
2 1 1 - R E P A P T U O C S m m 2 1 1 - t o l s d e e f t u o r e p a p c i t s a l P
Assembly instructions
To mount the plastic dispenser on the paper outfeed slot, proceed as follows:
1. Turn the printer upside-down; the operations described below are to be performed on the ejector unit (area
indicated by the dotted line in fig. A.3).
2. Unscrew the two nuts (A) and washers (B) as shown in fig. A.4 and, pulling in the direction indicated by the
arrow, remove the paper slot (C) on the ejector unit.
N.B. Put the nuts and washers aside for the operations that follow.
(Fig.A.3)
(Tab.A.3)
(Fig.A.4)
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 4 A-
1
4
2
3
C
A B
(Tab.A.4)
(Fig.A.6)
(Fig.A.5)
3. Assemble the plastic slot (C) as shown in fig. A.5 and attach it to the inserts using the two nuts (A) and
washers (B) removed previously.
A.1.4 Positionable roll holder support
A roll holder support kit is available for both the model TPTCM60x and model TPTCM112x as shown in Tab. A.4:

0 6 M C T P T - P S X C P 0 6 M C T P T r o f t i k t r o p p u s r e d l o h l l o R
2 1 1 M C T P T - P S X C P m m 5 3 1 - 2 1 1 M C T P T r o f t i k t r o p p u s r e d l o h l l o R
The kit comprises (see fig. A.6):
- Roll holder support (1) with Paper Low sensor (2);
- Fastening screws (3).
- Counter-disk (4), if present ( =130mm).
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 5 A-
A
C
B
Assembly instructions
To mount the roll holder support kit on the printer
(*)
proceed as follows:
Note :
(*)
The printer model shown in the support assembly instructions is only indicative and serves to
illustrate the operations to be performed.
1. Remove the roll holder pin by unscrewing it in a counter-clockwise direction as shown in fig. A.7.
2. Assemble the roll holder pin (A) on the support by screwing it in a clockwise direction; with the pin
assembled, mount the support on the printer frame using the two screws provided in the kit (B) as shown in fig.
A.8. If included in the kit, assemble the counter-disk (C) on the roll holder pin.
(Fig.A.7)
(Fig.A.8)
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 6 A-
1
1
A B A B
(Fig.A.10)
3. Once the roll holder support has been attached, remove the plug (1) located on the Paper Low sensor
connector on the back of the printer as shown in fig. A.9. Then insert the connector attached to the support into
the same position, it has to be verified that PINS 1-2 and 4 are connected on the connector side. If not, turn the
cabling that came on the support side.
Support adjustment and positioning
The roll holder support does not have a fixed position and may be adjusted to one of 5 different positions
corresponding to the numbers inscribed near the five holes on the support. Figure A.10 illustrates the fastening
of the support in its horizontal position.
The points at which the support is fastened to the printer frame are always the same. Figs. A.11 and A.12 show
the fastening points on the TPTCM60x and TPTCM112x printers; in the position labelled with the letter A, place
the screw that acts as pivot, and in the other position, marked B, place the one that fastens the support.
(Fig.A.9)
(Fig.A.11) (Fig.A.12)
TPTCM60x
TPTCM112x
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 7 A-
A
B
Use fig. A.13 below as a reference for normal positioning of the support. The screw marked with the letter A
acts as a pivot, while the other screw (B) fastens it in the desired position. After having assembled screw A,
rotate the support in either direction to find the desired position and assemble the second screw in one of the
five numbered holes on the support, corresponding to point B (see fig. A.13) on the frame.
A.2 SUPPLIES
(Fig.A.13)
M M 5 2 - 5 9 X 0 6 T C R m m 0 6 - l l o r r e p a p l a m r e h T
M M 5 2 - 5 9 X 2 1 1 T C R m m 2 1 1 - l l o r r e p a p l a m r e h T
(Tab.A.3)
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 8 A-
Blank page
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 9 A-
Blank page
APPENDIX A - ACCESSORIES AND SPARE PARTS
TPTCM 10 A-
Blank page

You might also like