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 SP A 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 SP A reserves the right to
make changes in information contained in this manual without prior notification.
Customer Service Department:
T el.: +39 059 88 69 587
Email: support@custom.it
TPTCM
Page 3
PRINTER COMPONENTS
A. TPTCM60-xC
1-Paper roll support
2-Printer frame
3-Near paper end led
4-St atus 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)
(1)
– Front external view
1
11
12
9
8
2
3
4
5
6
7
10
TPTCM
Page 4
B. TPTCM60-xE
1-Paper roll
2-Printer frame
3-Near paper end led
4-St atus 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)
(2)
– Front external view
11
1
8
9
2
3
4
5
6
10
7
13
12
TPTCM
Page 5
C. TPTCM112-xC
1-Paper roll
2-Printer frame
3-Near paper end led
4-St atus 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)
- TPTCM1 12-PC (version with parallel interface)
- TPTCM1 12-UC (version with USB interface)
(3)
- Front external view
11
1
8
9
2
3
4
5
6
7
12
10
TPTCM
Page 6
D. TPTCM112-xE
1-Paper roll
2-Printer frame
3-Near paper end led
4-St atus 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 p arallel interface)
- TPTCM1 12-UE (version with USB interface)
(4)
– Front external view
11
1
8
9
2
3
4
5
6
7
13
10
12
TPTCM
Page 7
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
2
3
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
EXPLANA TORY NOTES USED IN THIS MANUAL ........................................................................................... 1
GENERAL SAFETY INFORMA TION ................................................................................................................ 1
UNPACKING THE PRINTER ............................................................................................................................ 2
PRINTER FEATURES ...................................................................................................................................... 2
1.1.1 Power Supply.................................................................................................................................. 1-1
2.1 RS232 SERIAL ....................................................................................................................................... 2-1
2.2 CENTRONICS P ARALLEL....................................................................................................................... 2-3
2.3 USB SERIAL INTERFACE....................................................................................................................... 2-4
5.1 CHARACTER SETS ................................................................................................................................ 5-1
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.
1
TPTCM
Page 12
INTRODUCTION
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 G indicates the TPTCM60x
The symbol H indicates the TPTCM1 12x
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 p aper 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:
•Definition of function macros for automatic operation repetition.
•Internal programmable counter.
•Graphic print mode.
•Print density.
•3 programmable logos: G (448 x 585 dots) or H (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).
TPTCM
2
Page 13
INTRODUCTION
2
1
8
9
7
5
6
3
4
(Fig.1)
•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.
•T o entry in the notch sensor autocalibration phase (printer option 0103) press the LINE FEED key during
the printer power-up. Af ter 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.
sutatsDELnoitpircseD
ydaetSNOretnirP-noitcnuflamon
gniknilbdipaRgnitaehrevO
gniknilbwolS(doirepdednetxeroftil)ega
gniknilbwolS()doireptrohsroftilsdrawpudenrutdaeH
ffosniameRnoitcnuflamretnirP
3
ssem"repaPoN"
TPTCM
Page 14
INTRODUCTION
Blank page
TPTCM
4
Page 15
1. INSTALLATION AND USE
1.1 CONNECTIONS
J5
Pin 1
(Fig.1.1)
1.1.1 Power supply
For the power supply , the printer is equipped with a male, 90° mobile screw (pitch 5.08mm) terminal (J5). The
signals on the power suppy connector pins are as follows:
WARNING:
Respect power supply polarity .
(Tab.1.1)
.onniPlangiS
1
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
• 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
• under HEAD TEMPERA TURE is given the temperature of the head.
• under PAPER PRINTED is given the number of centimeters of p aper printed.
• under CUT COUNTER is given the number of cuts made.
• under POWER ON COUNTER is given the number of power-ups made.
DNG
ylppusrewopccV42
(1)
).
(2)
.
(1)
NOTE: If the printer has a USB interface and the cable is plugged into the printer connector, the
message US B will a ppearnext to the address assigned by the Host to the USB peripheral device
in use (see fig. 1.3).
11-
TPTCM
Page 16
1. INSTALLATION AND USE
(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 it’s
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; it’s 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
* PRINTER SETUP *
INTERFACE............................: RS232
EEPROM TEST..............: OK
CUTTER TEST...............: OK
EJECTER 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
Data length
Parity
Handshaking
Autofeed: CR disabled
Panel key: Enabled
Print Mode: Normal
Height Mode: x 1
(
Width Mode: x 1
Justification: 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
(3)
(3)
(3)
(3)
: 9600 bps
: 8 bits/chr
: None
: Xon/Xoff
* PRINTER SETUP *
INTERFACE............................: USB : 2
EEPROM TEST...............: OK
CUTTER TEST................: OK
EJECTER 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.
USB Status Monitor
(4)
: 0
(5)
: Enabled
Autofeed: CR disabled
Panel key: Enabled
Print Mode: Normal
Height Mode: x 1
Width Mode: x 1
Justification: 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
(1)
[FF] Key to enter setup
(Fig.1.2)
TPTCM
(Fig.1.3)
21-
Page 17
1. INSTALLATION AND USE
1.3 CONFIGURATION
This printer permits the configuration of default parameters. The printer’s configurable parameters are:
•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 : Activated o 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:GA=32 / B=42 columnsD or A=42 / B=56 columns
HA=58 / B=82 columnsD or A=82 / B=104 columns
With CUSTOM TPT emulation:
•Font Size:
G
.loc81.loc82.loc65
H
23x4242x6161x8
.loc43.loc25.loc401
23x4242x6161x8
•Speed/Quality: Normal D, Draft or High Quality .
•Paper Autoload: Deactivated D or Activated.
•Reset buffer: Not implemented, At p aper end D.
•Print density: Normal D, Light, Very light, Dark, V ery dark, Double copy.
General notes:
1)
The parameters marked with the symbol D are the default values.
2)
The symbol G indicates the TPTCM60x
3)
The symbol H 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.
31-
TPTCM
Page 18
1. INSTALLATION AND USE
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:
48657861646563696D61Hexadecima
6C2064756D702066756El dump fun
6374696F6E2030313233ction 0123
34353637383961626364456789abcd
65666768696A6B6C6D6Eefghijklmn
6F707172737475767778opqrstuvwx
797Ayz
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;
1
4
3
2
(Fig.1.4)
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.
TPTCM
41-
Page 19
1. INSTALLATION AND USE
(Fig.1.5)
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 wid th thermal paper .
(Fig.1.6)
51-
TPTCM
Page 20
1. INSTALLATION AND USE
(Fig.1.7)
TPTCM
61-
Page 21
2. INTERFACES
SERIAL
9876
USB
1
2
4
3
12345
(Fig.2.1)
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:
For the parallel connector , the connection between printer and Personal Computer, must be made with a 25pin- 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 ofexit; the signal “Near paper end”
is high when the RED LED has turned on.
13
25
1
14
(Fig.2.4)
32-
TPTCM
Page 24
2. INTERFACES
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:
(Tab.2.3)
NIPLANGISNOITPIRCSED
1
2
3
4
llehS
SUBV.C.N
-D-ataD
+D+ataD
DNGlangisdnuorG
dleihSdleihselbaC
Fig. 2.5 illustrates USB interface connector pin layout:
2
3
1
4
(Fig.2.5)
TPTCM
42-
Page 25
3. PRINTER FUNCTIONS
3.1 PRINT DIRECTION
The printer has two printing directions which can be selected by means of the control characters:normal and
reverse.
TPT CM
Ticket printer
PAPER OUTFEED DIRECTION
Ticket printer
TPT CM
(Fig.3.1)
13-
TPTCM
Page 26
3. PRINTER FUNCTIONS
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.
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.
A0$
[Name]Print and line feed
[Format]ASCIILF
Hex0A
Decimal10
[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]
33-
TPTCM
Page 28
3. PRINTER FUNCTIONS
B0$
[Name]Vertical tab
[Format]ASCIIV T
Hex0B
Decimale11
[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]
C0$
[Name]Form Feed
[Format]ASCIIFF
Hex0C
Decimal12
[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]
D0$
[Name]Carriage return
[Format]ASCIICR
Hex0D
Decimal13
[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]
81$
[Name]Cancel print data buffer
[Format]ASCIICAN
Hex18
Decimal24
TPTCM
43-
Page 29
3. PRINTER FUNCTIONS
[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]
n12$B1$
[Name]Select print modes
[Format]ASCIIESC !n
Hex1B21n
Decimal2733n
[Range]
[Description]This command sets the print mode. Each bit of “n” is read as follows:
[Description]The bar code is printed at position (n1*256) + n2. If the value exceeds G 448 H 832, it is
rejected.
The number of characters to be received is (n1*256) + n2.
73-
TPTCM
Page 32
3. PRINTER FUNCTIONS
C
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. Let’s imagine that a
print line consists of an array of 24 rows containing G56 / H104 bytes each: the
characters received after this command will be input starting from the top line and
proceeding towards the bottom line. Af ter 24 characters, the pointer increases and
proceeds to the next position. At the G56
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 , G1344 / H2496
bytes are required. For example, to print a filled bar G448 / H832 dots long and 24 dots
high, send the following command:
[Name]Sets the default paper sensibility.
[Format]ASCIIESCDn
Hex1B 44n
Decimal27 6 8n
[Range]
[Description]This command sets the default paper sensibility. The current paper sensibility in use is
also changed.
[Notes]
[Default]
[Reference]
[Example]
n64$B1$
[Name]Copy flash bank into ram bank (16kbytes)
[Format]ASCII ESCF n
Hex 1B46 n
Decimal 2770 n
[Range]1 ≤ n ≤ 6
TPTCM
123-
Page 37
3. PRINTER FUNCTIONS
[Description]The value of “n” determines flash bank:
n = 11
n = 22nd bank
n = 33rd bank
n = 44th bank
n = 55th bank
n = 66th bank
if n = 0 or n > 6 the command is ignored.
[Notes]
[Default]
[Reference]
[Example]
st
bank
n74$B1$
[Name]Turn double-strike mode On/Off.
[Format]ASCIIESC Gn
Hex1B 47n
Decimal27 71n
[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]
nE4$B1$
[Name]Sets negative mode.
[Format]ASCIIESC Nn
Hex1B4En
Decimal2778n
[Description]Sets or cancel printing negative mode.
n = 0Normal print
n <> 0Negative print
[Notes]
[Default]n = 0
[Reference]
[Example]
133-
TPTCM
Page 38
3. PRINTER FUNCTIONS
05$B1$
[Name]Fill ram bank from port (serial or parallel).
[Format]ASCIIESCP16384 bytes
Hex1B5016384 bytes
Decimal278016384 bytes
[Description]This command can transfer graphic page into ram.
G56 H104 bytes is an horizontal dotline of G448 H832 dots; for G292 H157
dotlines.
The number of bytes that make graphic page is G56x292 = 16352H104x157 =
16328,the others G32 H56 bytes must be sent, but are not important.
[Notes]Gindicates TPTCM60x Hindicates TPTCM112x
[Default]n = 0
[Reference]
[Example]
n25$B1$
[Name]Sets font.
[Format]ASCIIESCRn
Hex1B52n
Decimal2782n
[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 = 01hFont 8x16
n = 02hFont 16x24
n = 03hFont 24x32
[Notes]
[Default]n = 0
[Reference]
[Example]
n35$B1$
[Name]Sets paper sensibility.
[Format]ASCIIESCSn
Hex1B53n
Decimal2783n
[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 = $00High
n = $01Normal
n = $02Medium
n = $03Low
n = $04Double copy
[Notes]
[Default]
TPTCM
143-
Page 39
3. PRINTER FUNCTIONS
[Reference]
[Example]
n55$B1$
[Name]Sets underlined mode.
[Format]ASCIIESCUn
Hex1B55n
Decimal2785n
[Description]Sets or cancels the underline printing mode.
n = 0Normal print
n <> 0Underlined mode
[Notes]
[Default]
[Reference]
[Example]
n65$B1$
[Name]Sets the print mode rotated by 90°.
[Format]ASCIIESCVn
Hex1B56n
Decimal2786n
[Description]Sets or cancels the 90° printing flag rotation in according to n :
n = 0Normal print
n <> 0Rotated print
The printing direction depends of the reverse bit.
[Notes]
[Default]
[Reference]
[Example]
75$B1$GGGGGsetyb65HHHHHsetyb401
[Name]Prints a graphic dotline.
[Format]ASCIIESC WG56 bytesH104 bytes
Hex1B57G56 bytesH104 bytes
Decimal2787G56 bytesH104 bytes
[Description]This command prints a dotline (G448 H832 dots) after G56 H104 bytes and feeds
the paper.
[Notes]Gindicates TPTCM60x Hindicates TPTCM112x
[Default]
[Reference]
[Example]
153-
TPTCM
Page 40
3. PRINTER FUNCTIONS
2n1nA5$B1$
[Name]Sets the number of steps for form feed.
[Format]ASCIIESCZn1n2
Hex1B5An1n2
Decimale2 790n1n2
[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]
HnLnC5$B1$
[Name]Set relative print position
[Format]ASCIIESC\nLnH
Hex1B5CnLnH
Decimal2792nLnH
[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]
n16$B1$
[Name]Select justification
[Format]ASCIIESCan
Hex1B61n
Decimal2797n
[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:
TPTCM
163-
Page 41
3. PRINTER FUNCTIONS
nJustification
0, 48Flush left
1, 49Centered
2, 50Flush right
[Notes]• This command is only enabled when inserted at the beginning of a line.
• Lines are justified within the specified printing area.
• Sp aces 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
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
n43$36$B1$
[Name]Select paper sensor to stop printing.
[Format]ASCIIESCc4n
Hex1B6334n
Decimale2 79952n
[Range]0 ≤ n ≤ 255
[Description]Selects the paper sensor used to stop printing when a near paper-end is deleted, using n
as follows :
tiBnO/ffOxeHlamiceDnuFoitcn
0
1---DEVRESER
2- --DEVRESER
3- --DE
4- --DEVRESER
5- --DEVRESER
6- --DEVRESER
7- --DEVRESER
ffO000.delbanerosnesdnellorrepaP
nO01 1.delbanerosnesdne-raenllorrepaP
VRESER
[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]
173-
TPTCM
Page 42
3. PRINTER FUNCTIONS
n53$36$B1$
[Name]Enable/disable front panel buttons
[Format]ASCIIESCc5n
Hex1B6335n
Decimal279953n
[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 p anel 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]
n46$B1$
[Name]Print and feed paper n lines
[Format]ASCIIESCdn
Hex1B64n
Decimal27100n
[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]
n66$B1$
[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 = $01Font 8x16
n = $02Font 16x24
n = $03Font 24x32
[Notes]
[Default]
[Reference]
[Example]
TPTCM
183-
Page 43
3. PRINTER FUNCTIONS
n76$B1$
[Name]Set/reset red printing mode
[Format]ASCIIESCgn
Hex1B67n
Decimal27103n
[Range]0 ≤ n ≤ 1, 48 ≤ n ≤ 49
[Description]Sets and resets red printing mode.
nFunction
0, 48Reset red printing mode
1, 49Set 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]
96$B1$
[Name]Total cut
[Format]ASCIIESC i
Hex1B 69
Decimal27105
[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 TPT1 12H model, the kind of cutter set s tot al or partial cut.
[Default]
[Reference]
[Example]
D6$B1$
[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]
193-
TPTCM
Page 44
3. PRINTER FUNCTIONS
n27$B1$
[Name]Copy ram bank into flash bank (16Kbytes)
[Format]ASCIIESCrn
Hex1B72n
Decimal27114n
[Range]1 ≤ n ≤ 6
[Description]The value of n selects the flash bank :
n = 11st bank
n = 22nd bank
n = 33rd bank
n = 44th bank
n = 55th bank
n = 66th 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]
)ECAFRETNILAIRESYLNO(37$B1$
[Name]Sends ram bank to port (16Kbytes)
[Format]ASCIIESCs
Hex1B73
Decimal27115
[Description]This commands sends 16384 RAM bytes to serial port.
[Notes]
[Default]
[Reference]
[Example]
)ECAFRETNILAIRESYLNO(67$B1$
[Name]Transmit status request.
[Format]ASCIIESC v
Hex1B76
Decimal27118
[Description]This command transmits a byte, where each bit indicates the printer status, to serial
port.
TPTCM
203-
Page 45
3. PRINTER FUNCTIONS
tiBnO/ffOxeHlamiceDnuFoitcn
0
1
2
3
4
5
6
7
[Notes]• This command is executed immediately, even when the dat a buffer is full (Busy ).
[Default]
[Reference]
[Example]
ffO000 dnerepapraeN
nO101ecnadnubaniecneserprepaP
ffO000detcetedtonhctoN
nO202llecotohpmorfdet
ffO000tuorepaP
nO404ecneserprepaP
ffO000desaeleryekdeeFeniL
nO808desserpyekdeeFeniL
ffO000desaeleryekdeeFmr
nO0161desserpyekdeeFmroF
ffO000tcerrocerutarepmetdaeH
nO0223rorreerutarepmetdaeH
ffO000fforotoM
nO0446norotoM
ffO000ror
nO08821.cte,pudaeH,dnerepapoteudrorrE
oF
reoN
cetedhctoN
A7$B1$
[Name]Sets the vertical tab value.
[Format]ASCIIESCz
Hex1B7A
Decimal27122
[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]
[Name]Receive ram bank from serial port
[Format]ASCIIESC { }nLnH
Hex1BFDnLnH
Decimal2725 3nLnH
[Range]0 ≤ nL, nH ≤ 255
233-
TPTCM
Page 48
3. PRINTER FUNCTIONS
[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 horizont al dotline is represented to G28 H52 words.
[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:
[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
253-
TPTCM
Page 50
3. PRINTER FUNCTIONS
• 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]
HnLn23$34$D1$
[Name]Set counter
[Format]ASCIIGSC2nLnH
Hex1D4332nLnH
Decimal296750nLnH
[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]
Decimal296759sa59sb59sn59sr59sc 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
TPTCM
263-
Page 51
3. PRINTER FUNCTIONS
• 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]
n84$D1$
[Name]Select printing position of Human Readable Interpretation ( HRI ) characters
[Format]ASCIIGSHn
Hex1D4 8n
Decimal2972n
[Range]0 ≤ n ≤ 3, 48 ≤ n ≤ 51
[Description]Selects the printing position of HRI characters when printing bar codes.
Decimal2973n
[Range]1 ≤ n ≤ 3, 49 ≤ n ≤ 51
[Description]Transmits the printer ID specified by n follows:
273-
)ECAFRETNILAIRESHTIWYLNO(n94$D1$
TPTCM
Page 52
3. PRINTER FUNCTIONS
nDIretnirPnoitacificepS
)x06MCTPT(A4$
94,1DIledomretnirP
05,2DIepyTwolebelbateeS
15,3DInoisrevMOR)retcarahc4(noisrevMORnosdnepeD
n = 2, Type ID
tiBnO/ffOxeHelamiceDenoiznuF
0ffO000detroppustonsedocretcarahcetyb-2
1
2
3- --DEVRESER
4ffO0000tadexiF
5- --DEVRESER
6- --DEVRESER
7
ffO000deilppustonrettucotuA
nO202deilppusrettuco
ffO000lebaltuohtiwrepaplamrehT
nO404lebalhtiwrepaplamrehT
ffO000noitalum
nO08821noitalumeSOP/CSE
)x211MCTPT(C4$
ofhtiwx211MCTPT(94$
tuA
eTPTmotsuC
)2132BGtnofhtiwx06MCTPT(84$
)2132BGtn
[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]
mtrE5$D1$
[Name]Execute macro
[Format]ASCIIGS^rtm
Hex1D5Ertm
Decimal2994rtm
[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
TPTCM
283-
Page 53
3. PRINTER FUNCTIONS
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]
36$D1$
[Name]Print counter
[Format]ASCIIGSc
Hex1D63
Decimal2999
[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.
Decimal29229
[Description]Reading number of power up of the printer.
333-
TPTCM
Page 58
3. PRINTER FUNCTIONS
[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]
TPTCM
343-
Page 59
3. PRINTER FUNCTIONS
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 commands ahead of them have been executed. The commands are carried out when the circular buffer is free to do
so.
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.
80$
[Name]Back space
[Format]ASCIIBS
Hex08
Decimal8
[Description]Moves print position to previous character.
[Notes]Can be used to put two characters at the same position.
[Default]
[Reference]
[Example]
TPTCM
363-
Page 61
3. PRINTER FUNCTIONS
90$
[Name]Horizontal tab
[Format]ASCIIHT
Hex09
Decimal9
[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]
A0$
[Name]Print and line feed
[Format]ASCIILF
Hex0A
Decimal10
[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]
D0$
[Name]Print and carriage return
[Format]ASCIICR
Hex0D
Decimal13
[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]
)ecafretnilairesylno(n40$01$
[Name]Real-time status transmission
[Format]ASCIIDLEEOTn
Hex1004n
Decimal164n
[Range]1 ≤ n ≤ 4, n=20
373-
TPTCM
Page 62
3. PRINTER FUNCTIONS
[Description]Transmits the selected printer status specified by n in real time according to the following
parameters:
n = 1transmit printer status
n = 2transmit off-line status
n = 3transmit error status
n = 4transmit paper roll sensor status
n = 20 transmit FULL ST ATUS
[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=20: FULL status (6 bytes)
1ST Byte = $10 (DLE)
2ND byte = $0F
3RD byte = Paper status
tiBnO/ffOxeHlamiceDnuFnoitc
0
1Off00 00otdexiF
2
3ffO0000otdexiF
4Off00 00otdexiF
5
6
7- ---.DEVRESER
ffO000.tneserprepaP
nO101.tneserptonrepaP
ffO000.ecnadnubanitneserprepaP
nO404.dner
ffO000.tuptuonitneserptontekciT
nO0223.tuptuonitneserptekciT
ffO000 dnerepaplautriv
nO0446.dnerepaplautriV
epapraeN
toN.
393-
TPTCM
Page 64
3. PRINTER FUNCTIONS
4TH byte = Paper status
tiBnO/ffOxeHlamiceDnuFnoitc
0
1ffO0000otdexiF
2ffO0000otdexiF
3
4ffO0000otdexiF
5
6
7ffO0000o
5TH byte = Recoverable error Status
ffO000.nwoddaehlamrehT
nO101.pudaehlamrehT
ffO000.fforotomrepapgar
On088.norotomrepapgarD
ffO000.desaeleryekFL
On0223.desserpyekFL
ffO000.desaeleryekFF
nO0446.desserpyekFF
D
tdexiF
tiBnO/ffOxeHlamiceDnuFnoitc
0
1Off00 00otdexiF
2ffO0000otdexiF
3
4Off0000otdexiF
5
6
7
ffO000.koerutarepmetdaeH
nO101.rorreerutarepmetdaeH
ffO000.koegatlov
ffO000.rorreegatlovylppusrewoP
ffO000.dnammocegdelwonkcA
nO0223.rorrednammocegdelwonkcatoN
ffO000.etuorrepapeerF
nO0446.majrepaP
ffO000.gnihcraesnirodnuofrekaMkcalB
nO08821.dnuoftonrekaMkcalB
6TH byte = Unrecoverable error Status
tiBnO/ffOxeHlamiceDnuFnoitc
0
1Off00 00otdexiF
2- --DEVRESER
3
4Off0000otdexi
5- --DEVRESER
6- --DEVRESER
7ffO0000otdexiF
ffO000.korettuC
nO101.rorrerettuC
ffO000.koMORPEE
nO08 8.rorreMORPEE
F
ylppusrewoP
TPTCM
403-
Page 65
3. PRINTER FUNCTIONS
81$
[Name]Cancel current line transmitted
[Format]ASCIICAN
Hex18
Decimal24
[Description]Deletes current line transmitted.
[Notes]• Sets the print position to the beginning of the line.
[Default]
[Reference]
[Example]
n02$B1$
[Name]Set right-side character spacing
[Format]ASCIIESCSPn
Hex1B20n
Decimal2732n
[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]
n12$B1$
[Name]Select print modes
[Format]ASCIIESC !n
Hex1B21n
Decimal2733n
[Range]0 ≤ n ≤ 255
[Description]Selects print modes using n (see table below):
413-
TPTCM
Page 66
3. PRINTER FUNCTIONS
tiBnO/ffOxeHlamiceDnuFnoitc
0
1- --DEVRESER
2- --DEVRESER
3
4
5
6
7
[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 lastreceived 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 it alic 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]
ffO000.detcelesAtnofretcarahC
nO101.detcelesBtnofretcarahC
ffO000.detcel
nO808.detcelesedomdednapxE
ffO000.detcelestonedomthgieh-elbuoD
nO0161.detcelesedomthgieh-elbuo
ffO000.detcelestonedomhtdiw-elbuoD
nO0223.detcelesedomhtdiw-elbuoD
ffO000.detcelestonedomcilatI
nO0446.detcelesed
ffO000.detcelestonedomenilrednU
nO08821.detcelesedomenilrednU
D
omcilatI
estonedomdednapxE
HnLn42$D1$
[Name]Set absolute print position
[Format]ASCIIESC$nLnH
Hex1B24nLnH
Decimal273 6nLnH
[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
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. T o
select the font, use $1B $21.
• The user-defined character definitions are cleared when:
433-
TPTCM
Page 68
3. PRINTER FUNCTIONS
$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]
kd...1dHnLnmA2$B1$
[Name]Select bit image mode
[Format]ASCII ESC *mnLnHd1...dk
Hex 1B2AmnLnHd1...dk
Decimal 2742mnLnHd1...dk
[Range]m = 0, 1, 32, 33
0 ≤ nL ≤ 255
0 ≤ nH ≤ G 1H 3
0 ≤ d ≤ 255
[Description]Selects a bit image mode using m for the number of dots specified by nL and nH, as
Decimal2751n
[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]
n43$B1$
[Name]Set/reset italic mode
[Format]ASCIIESC4n
Hex1B34n
Decimal27 52 n
[Range]0 ≤ n ≤ 1, 48 ≤ n ≤ 49
[Description]Turns italic mode on or off, based on the following values of n:
nnoitcnuF
84,0edomcilatiffosnruT
94,1edomcilatinosnruT
[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]
nD3$B1$
[Name]Select peripheral device
[Format]ASCIIESC=n
Hex1B3Dn
Decimal2761n
[Range]0 ≤ n ≤ 255
[Description]Select the device to which the host computer sends data, using n as follows:
TPTCM
463-
Page 71
3. PRINTER FUNCTIONS
tiBnO/ffOxeHlamiceDnoitcnuF
0
1---DEVRESER
2---DEVRESER
3---DEVRESER
4---DEVRESER
5---DEVRESER
6---DEVR
7
[Notes]• When the printer is disabled, it ignores all transmitted data until the printer is enabled
through this command.
[Default]n = 1
[Reference]
[Example]
Decimal2763n
[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]
04$B1$
[Name]Initialize printer
[Format]ASCIIESC@
Hex1B40
Decimal2764
[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]
• 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 processed 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]
Decimal2786n
[Range]0 ≤ n ≤ 1, 48 ≤ n ≤ 49
[Description]Turns 90° rotation mode on/off.
n is used as follows :
nnoitcnuF
84,0edomnoitator°09ffosnruT
94,1edomnoitator°09nosnruT
[Notes]• When underlined mode is turned on, the printer does not underline 90° rotated charac-
ters. All the same it’ s 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]
TPTCM
503-
Page 75
3. PRINTER FUNCTIONS
HnLnC5$B1$
[Name]Set relative print position
[Format]ASCIIESC\nLnH
Hex1B5CnLnH
Decimal2792nLnH
[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]
n16$B1$
[Name]Select justification
[Format]ASCIIESCan
Hex1B61n
Decimal2797n
[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:
nJustification
0, 48Flush left
1, 49Centered
2, 50Flush right
[Notes]• This command is only enabled when inserted at the beginning of a line.
• Lines are justified within the specified printing area.
• Sp aces 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
513-
TPTCM
Page 76
3. PRINTER FUNCTIONS
n43$36$B1$
[Name]Select paper sensor to stop printing.
[Format]ASCIIESCc4n
Hex1B6334n
Decimale2 79952n
[Range]0 ≤ n ≤ 255
[Description]Selects the paper sensor used to stop printing when a near paper-end is deleted, using n
[Name]Print and feed paper n lines
[Format]ASCIIESCdn
Hex1B64n
Decimal27100n
[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]
96$B1$
[Name]Total cut
[Format]ASCIIESCi
Hex1B69
Decimal27105
[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 TPT1 12H model, the kind of cutter set s tot al or partial cut.
[Default]
[Reference]
[Example]
D6$B1$
[Name]Partial cut
[Format]ASCIIESCm
Hex1B6D
Decimal27109
[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]
533-
TPTCM
Page 78
3. PRINTER FUNCTIONS
n27$B1$
[Name]Set/reset red printing mode
[Format]ASCIIESC rn
Hex1B 72n
Decimal27114n
[Range]0 ≤ n ≤ 1, 48 ≤ n ≤ 49
[Description]Sets and resets red printing mode.
nFunction
0, 48Reset red printing mode
1, 49Set 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]
n47$B1$
[Name]Select character code table
[Format]ASCIIESCtn
Hex1B74n
Decimal27116n
[Range]n = 0, 19, 255
[Description]Selects a page n from the character code table, as follows:
[Name]Receive ram bank from serial port
[Format]ASCIIESC{ }nLnH
Hex1BFDnLnH
Decimal27253nLnH
[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 horizont al dotline is represented to G28 H52 words.
[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:
Decimal296759sa59sb59sn59sr59sc 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
613-
TPTCM
Page 86
3. PRINTER FUNCTIONS
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]
n84$D1$
[Name]Select printing position of Human Readable Interpretation ( HRI ) characters
[Format]ASCIIGSHn
Hex1D48n
Decimal2972n
[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 :
nnuFnoitc
84,0detnirptoN
94,1edocrabehtevobA
05,2edocrabehtwoleB
15,3edocrabehtwolebdnaevobahtoB
[Notes]• HRI characters are printed using the font specified by $1D $66.
[Default]n = 0
[Reference]$1D $66, $1D $6B
[Example]
)ecafretnilairesylno(n94$D1$
[Name]Transmit printer ID
[Format]ASCIIGSIn
Hex1D49n
Decimal2973n
[Range]1 ≤ n ≤ 3, 49 ≤ n ≤ 51
[Description]Transmits the printer ID specified by n follows:
TPTCM
623-
Page 87
3. PRINTER FUNCTIONS
nDIretnirPnoitacificepS
94,1DIledomretnirP
05,2DIepyTwolebelbateeS
15,3DInoisrevMOR)retcarahc4(noisrevMORnosdnepeD
tiBnO/ffOxeHlamiceDnoitcnuF
0ffO000detroppustonsedocretcarahcetyb-2
1ffO000
2
3---DEVRESER
4ffO0000otdexiF
5---DEVRESER
6---DEVRESER
7ffO0000otdexiF
ffO000repaplamrehtlebal-noN
nO404repaplamrehtlebaL
)x06MCTPT(A4$
n = 2, Type ID
)x211MCTPT(C4$
)2132BGtnofhtiwx06MCTPT(84$
ofhtiwx211MCTPT(94$
)2132BGtn
deppiuqetonrettucotuA
deppiuqerettucotuA
[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]
HnLnC4$D1$
[Name]Set left margin
[Format]ASCIIGSLnLnH
Hex1D4CnLnH
Decimal2976nLnH
[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 marginPrinting area width
633-
TPTCM
Page 88
3. PRINTER FUNCTIONS
[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 horizontal 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 horizont al movement amount and
it must be in even units of the minimum horizontal movement amount.
• Gindicates TPTCM60x Hindicates TPTCM1 12x
[Default]
GH
:.loc65dna23fI0=Hn=Ln:.loc401fI0=Hn=Ln
:.loc24fI0=Hn41=Ln:.loc08fI61=Hn=Ln
:.loc25fI01=Hn=Ln
[Reference]
[Example]
yx05$D1$
[Name]Set horizontal and vertical motion units
[Format]ASCIIGSPxy
Hex1D50xy
Decimal2980xy
[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]
HnLn75$D1$
[Name]Set printing area width
[Format]ASCIIGSWnLnH
Hex1D57nLnH
Decimal2987nLnH
TPTCM
643-
Page 89
3. PRINTER FUNCTIONS
[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 marginPrinting 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 horizontal 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 horizont al movement amount and
it must be in even units of the minimum horizontal movement amount.
• Gindicates TPTCM60x Hindicates TPTCM1 12x
[Default]
GH
:.loc65dna23fI0=Hn=Ln:.loc401fI0=Hn=Ln
:.loc24fI0=Hn41=Ln:.loc08fI61=Hn=Ln
:.loc25fI01=Hn=Ln
[Reference]
[Example]
mtrE5$D1$
[Name]Execute macro
[Format]ASCIIGS ^rtm
Hex1D5Ertm
Decimal2994rtm
[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.
653-
TPTCM
Page 90
3. PRINTER FUNCTIONS
• 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]
36$D1$
[Name]Print counter
[Format]ASCIIGSc
Hex1D63
Decimal2999
[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
Decimal29104n
[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
00$]kd...1d[mB6$D1$]nd...1d[nmB6$D1$
[Name]Print bar code
[Format]
[Range]
[Description]Selects a bar code system and prints the bar code.
ASCIIGSkmNUL
Hex1D6Bm0 0
Decimal29107m0
ASCIIGSkmn
Hex1D6Bmn
Decimal2910 7mn
0 ≤ m ≤ 6
65 ≤ m ≤ 73
m selects a bar code system as follows:
mmetsysedocraBsretcarahcfo.oNskrameR
0A-CPU11 ≤ k ≤ 2184 ≤ d ≤ 75
1E-CPU11 ≤ k ≤ 2184 ≤ d ≤ 75
2)NAJ(31NAE21 ≤ k ≤ 3184 ≤ d ≤ 75
3)NAJ(8NAE7≤ k
≤ 884 ≤ d ≤ 75
TPTCM
493EDOC1≤ k
5FTI1≤(krebmunneve)84 ≤75£d
6RABADOC1≤ k
739EDOC1≤ k ≤5521≤ d ≤721
8821EDOC2≤ k ≤5521≤ d ≤721
0223EDOC8≤ k ≤ 984 ≤ d ≤ 75
84 ≤ d ≤56,75≤ d ≤,09
84 ≤ d ≤56,75≤ 1d ≤,86
683-
74,64,54,34,73,63,23
85
,74,64,54,34,63
Page 93
3. PRINTER FUNCTIONS
56A-CPU11 ≤ n ≤ 2184 ≤ d ≤ 75
66E-CPU11 ≤ n ≤ 2184 ≤ d ≤ 75
76)NAJ(31NAE21 ≤ n ≤ 3184 ≤ d ≤ 75
86)NAJ(8NAE7≤ n ≤ 884 ≤ d ≤ 75
9693EDOC1≤ n ≤552
07FTI1≤ n ≤55284 ≤ d ≤ 75
[Notes]• If d is outside of the specified range, the printer prints the following message: “BAR
CODE GENERAT OR 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.
• Af ter 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 1 1 (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 select s the first code set.
• Special characters are defined by combining two characters “{“ and one character .
ASCII character “{” is defined by transmitting “{“ twice, consecutively .
17RABADOC1≤ n ≤552
2739EDOC1≤ n
37821EDOC2≤ n ≤5520≤ d ≤721
0923EDOC8≤ n ≤ 984 ≤ d ≤ 75
Decimal29229
[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]
TPTCM
743-
Page 99
4. TECHNICAL SPECIFICATIONS
4.1 TECHNICAL SPECIFICATIONS
T able 4.1 gives the main technical specifications for the printer models.