RS232 Serial connector pin assignments .......………………………………….............. 15
PC parallel connector .......................…….........…………………………………............. 17
List of commands.......................................................................................................... 30
5/65
FENIX IMVICO
TK14 OPERATION MANUAL
IMPORTANT NOTES IN TK14 THERMAL PRINTER MANAGEMENT
In order to preserve the life of the printer, it is necessary to keep in mind some precautions in the handling
of the TK14 printer. Please read carefully the following points in order to make a good use of the printer.
SECURITY PRECAUTONS
•
Before using the printer, read carefully section 2-
NEVER
•
printer.
•
Turn off the printer immediately if it produces smoke, a strange smell or an unusual noise. Keeping on
using the printer could cause fire. Unplug the equipment immediately and contact your official
distributor.
NEVER
•
different connections could permanently damage the printer.
•
Use a power supply voltage whose output voltage is within the specification range stated in this
manual. Over voltage can permanently damage the printer. Under voltage can cause malfunctions.
NEVER
•
equipment, unplug the power cable immediately and then contact your technical service.
•
Make sure the printer is on a steady, horizontal, securely fixed surface. If the printer fell down, it could
break or damage.
NEVER
•
NEVER
•
NEVER
•
circuit, print head breaking or general failure of the printer.
NEVER
•
NEVER
•
NEVER
•
•
As the printer contains electromagnets (inside of the motor), it should not be used in excessively dirty
environments or places with dust or metal particles.
NEVER
•
highly shortened.
NEVER
•
•
Avoid touching with metal objects, such as screwdrivers or tweezers, the print head thermal elements
as well as the electronic printed circuit. They are delicate parts.
•
Never touch with your hands the areas around the print head and the motor surface as they become
very hot during and just after printing; wait 15 seconds to let them cool down.
NEVER
•
and dirt can stick to their surface and cause damage by electrostatic discharge.
•
The thermal paper contains Na+, K+ and Cl- ions that can cause harm to the print head elements.
Therefore, use only the specified paper.
•
If the printer has not been used for long period of time and the paper was loaded, the paper could
become deformed by the drive roller pressure. It is recommended to make it advance at least 30 mm
before printing again.
•
For security reasons, unplug the printer if it is not going to be used over a long period of time.
Don’ t print continuously (without stopping) for more than 6 minutes.
•
connect the external power supply with the wrong polarity. This could permanently damage the
connect cables with different connectors from the ones mentioned in this manual. Making
wet TK14 thermal printer with water or any other liquid. If any liquid is spilled inside of the
use the printer in high humidity or dirty places.
place heavy objects on top of the printer and never lean on it.
put any object inside of the printer, as it could cause hardware damage on it, such as short-
shock the TK14 printer.
disassemble or modify the TK14 printer.
try to repair the TK14 printer. Please contact your official distributor in case of failure.
print without paper loaded or without the cover closed, as the thermal print head life can be
pull the paper out when the cover is closed. Use the paper advance button instead.
touch the surfaces of the print head thermal elements or the electronic printed circuit, as dust
INSTALLATION.
6/65
FENIX IMVICO
CLEANING PROCEDURE AND PRECAUTIONS
•
TK14 OPERATION MANUAL
In order to clean the thermal print head, proceed as indicated by the following steps:
1. Unplug the power supply cable and remove the 4 screws (2 in each side) holding the thermal print
mechanism. Open the printer cover. Wet a cotton sponge in alcohol (ethanol, methanol or IPA),
and use it in order to clean the thermal elements of the print head and to remove the possible
accumulation of paper particles found on the cover, roller and nearby surfaces.
2. Wait for alcohol to evaporate before inserting the paper roll and closing the cover.
FENIX recommends cleaning the thermal print head periodically (each 2 or 3 months) in order to keep
the print quality.
NOTES:
!
The print head could be hot after printing. Make sure it has thoroughly cooled down
before proceeding to clean it.
!
Never touch the thermal elements of the print head with your hands.
!
Never use metallic or piercing elements for the cleaning of the print head, as they
could scratch it.
Thermal
head
Screws
Fig. a.
Thermal print head cleaning.
RECOMMENDATIONS
The plug has to be located near the printer and have to be eas ily obtainable
•
•
Before connecting any communication data cable, check the printer is working properly by executing
.
the self-test.
•
Set the TK14 in a place where the connection cables do not suffer stretching or cross with each other.
7/65
FENIX IMVICO
TK14 OPERATION MANUAL
0 – INTRODUCTION
The TK14 is a high performance thermal printer. Its compact and functional design covers many
professional uses (as in supermarkets, hotels, hospitals, restaurants, and so on.)
It is capable of printing text, graphics, logo and barcodes.
It can be used in laboratories, industrial and professional environments.
The main features of the TK14 are:
•
Simple installation and easy maintenance.
•
Low noise thermal printing.
•
Full-logic ticket presentation through intelligent processor, controlling even printer status.
•
Paper width: 58 mm.
•
High reliability: 100 million pulses. Abrasion resistance: 50 Km.
•
Power supply: 12V to 24V DC.
•
No-paper, paper-near-end and paper jam sensors.
•
Up to 80 mm paper roll diameter.
•
High speed printing up to 62,5mm/s.
•
Printing resolution: 8 dots/mm (203 dpi).
•
Passive cut of paper.
•
Nozzle ticket presenter.
•
IEEE 1284 parallel and serial RS232C data input interface on-board.
•
Two internal character fonts (A font = 12x24 dots. B font = 8x16 dots).
•
Scalable font (independent scale in X/Y-axis), up to 64 times.
•
Programmable character and line space.
•
Bold and reverse character capabilities
•
Graphic bitmap printing capabilities.
•
Several format Bar Code (EAN13, Code39, Code128 and ITF)
•
Control code based on ESC/POS commands (*).
•
Hexadecimal mode for easy software debugging.
•
Automatic paper load.
•
Extended operating temperatures range (-30ºC to +70ºC).
•
Self test, hexadecimal mode and configuration mode features.
•
One logo load capability, through Windows driver.
•
Windows 95, 98 & 2000 drivers and demo/configuration program.
This manual is the printer operations’ guide and is intended for the application designer. The following
sections contain a detailed description of both the hardware and the configuration software that allow
obtaining the maximum benefit of the printer possibilities.
(*) ESC/POS are registered trademarks of Seiko Epson Corporation.
8/65
FENIX IMVICO
TK14 OPERATION MANUAL
1 – GENERAL SPECIFICATIONS
1.1- Printing specifications
1) Printing method:Thermal line printing
2) Dot density:203 dpi x 203 dpi
(‘dpi’: dots per inch. 1 inch = 25.4mm)
(203 dpi = 8 dots per mm)
3) Printing direction:Unidirectional with friction feed.
4) Printing width:48 mm (384 dots).
5) Printing speed: High speed mode: up to 62,5mm/s
(The printing speed could vary automatically depending on the print head
temperature as well as the command processing and the data
transmission speed).
NOTES:
"
Printing speed depends on the data transmission interface, the c om bination of c ontrol
commands and the print head temperature.
"
Low printing speed could cause intermittent printing. It is recommended to transmit
data to the printer as quickly as possible.
6) Paper feed speed: 62,5 mm/s (continuous paper feed)
7) Characters per line (by default):A font: 24
B font: 32
8) Space between characters (by default): 4 dots (0.5 mm)
9) Line spacing (by default): 3.75mm
1.2- Character specifications
1) Number of characters:Alphanumeric characters:95
Extended graphics: 128 per page
2) Character structure:A font: 12 x 24 dots (1.5 x 3 mm).
B font: 8 x 16 dots (1 x 2 mm).
A font is selected by default.
3) Character size:
StandardDouble heightDouble widthDouble width/
Double height
Width x height
(mm)
A Font1,5 x 3241,5 x 6243 x 3123 x 612
B Font1 x 2321 x 4322 x 2162 x 416
cpl Width x height
(mm)
cpl Width x height
(mm)
cpl Width x height
(mm)
cpl
The space between the characters is not included.
Characters can be scaled up to 64 times bigger than their normal size.
cpl: characters per line.
9/65
FENIX IMVICO
TK14 OPERATION MANUAL
1.3- Passive cutter
The TK14 has a passive cutter system. After present the ticket printed in the nozzle, user can take it and,
himself, cuts the paper, without any TK14 automatic action.
1.4- Paper specifications
1) Paper type: thermal paper roll
2) Paper width:58 +0/-1mm
3) Paper roll size: up to a maximum of
80 mm
of diameter (
25mm
inner diameter)
4) Specified thermal paper:
At –5ºC to 50ºC #
At –30ºC to 70ºC#
At 5ºC to 40ºC #
TF50KS-E2D
TF77KS-E2
TL69KS-HG76
TL51KS-R2
TL69KS-R2
TW80KK-S
(High heat-resistant paper)
(High heat-resistant paper)
(2-ply thermal paper)
(59µm paper )
(95µm paper)
(label paper)
From Nippon Paper Industries
1.5- Internal buffer
The
TK14
printer contains a
10 Kbytes
internal memory, whose functionality is dynamically shared by the
receiving buffer.
This big receiving buffer allows the printer working in the following way: Firstly, all data are buffered, and
afterwards the printing is done at the maximum possible speed, without it being affected by the
communications time processing.
1.6- Electrical specifications
1) Power supply voltage:12V to 24V DC ± 10%
2) Peak current consumption (ambient temperature, 64dots activated): 3A (approx.)
1.7- Environmental conditions
1) Temperature range:Working temperature range: -30ºC to 70ºC
Storage temperature range: -30 a 60ºC (without paper loaded, in
a dry place).
10/65
FENIX IMVICO
TK14 OPERATION MANUAL
2 – INSTALLATION
2.1- TK14 INSTALLATION CONSIDERATIONS
There are some general considerations to take into account when installing the TK14 printer.
A wrong installation can cause many serious problems like paper jam, difficult maintenance of the printer,
difficulty in changing the paper roll, etc.
Moreover, a correct installation can prevent the printer from being damaged by external agents, such as
weather or vandalism.
This printer is thought to be fixed in a bigger case or structure, or another kind of appropriate chassis.
The basic points that a correct installation must follow are:
•
Allow enough space and
accessibility to reach the
maintenance procedure points
in case it is needed.
Take notice that all user
accessible parts are in the
left and rear side of the
printer, like the next picture shows:
Power supply and
comunication
connectors
Led and buttons
Platen lever
Paper roll
Printed ticket
Fig. 2.1-
•
Smooth exit of the ticket.
Prevent problems with static electricity due to the
nature of the used materials. Be sure to make a
good earth connection.
TK14 accessibility
.
11/65
FENIX IMVICO
TK14 OPERATION MANUAL
For these reasons, FENIX suggests the following systems as solutions to a correct installation:
The printer must be set quite near the front side of the user’s chassis.
Special care in the design of the part which goes from the printer outlet to the paper guide (paper jams
can occur due to an inappropriate design).
As the printer is placed very near the user’s chassis, some system must be implemented in order to move
the printer when accessing the printing head (i.e. giving the fixing holes of the chassis an oval shape to
allow the printer moving forward and backward).
MINIMAL NOZZLE
HOLE DIMENSION IN
THE USER FRONT
PANEL
Fig. 2.2-
Nozzle hole dimension.
Depending on the construction materials, care must be taken with static electricity; otherwise tickets may
get stuck in the paper guide and never reach the receptacle.
Be sure to make a good earth connection, performing one of the following schemes:
a)
The earth connection is at
Power
supply
C0N1
J1
earth
Power
supply
C0N1
J1
Fig. 2.3-
Tk14
shorted
Chassis
Tk14
NOT shorted
Chassis
the power supply and shorted
with the negative terminal.
The chassis is connected to
earth shorting the jumper J1.
b)
The negative terminal is
floating.
The chassis is connected to
earth by a cable from the
main earth connection.
M3 Screw + Grower
TK14 earth connection
.
12/65
FENIX IMVICO
TK14 OPERATION MANUAL
2.2- POWER SUPPLY
+12V to +24V
The TK14 is powered by an external power supply
by means of a female polarized connector of 4 pins
that includes a security anchor. The power supply
voltage must be verified before making the connection
between the supply and the printer.
The power supply male connector must be a
JST
VH396T-010
VH396-04-H
(housing)
(contact), or an equivalent model.
Fig. 2.4-
GND
TK14 power supply connector.
NOTES:
(1) If the number of dots that are energized at the same time is increased, a higher current will flow;
therefore, the user should use a power supply with an adequate current capacity.
(2) When designing lines and bit images, take the printing ratio and print duty into consideration.
(3) Print quality may be poor if the printing ratio (energizing pulses/dot line) or print duty is high.
(3) Average energizing pulse width is defined as 64 of 192 dots/dot line that are energized.
WARNING: Beware not to invert the polarity of power supply. This may irremediably
damage the printer. Use the 4 terminals (4 wires) with 1 mm² minimum section everyone.
IMPORTANT NOTE ABOUT POWER SUPPLY:
The necessary supply of power depends on the content to print on the ticket. A 60W power supply
covers all adverse possibility (printing ratio of 100% black at any temperature). However, if the
print ratio is not over 60%, a 40W power supply can be used. Any way, power supply must meet
the peaks current that mechanism requires, which are determined by the following formula:
Ipeak = [(number of printing dots) x 8,3] / 176 [A]
= 3,9A
= 0,38A
Ω
1 dot line
2 dot lines
peak = 5,1A (5ms)
I
Input current
peak= 2,2A ( 40ms)
I
(motor) = 0,5 A
I
(feed paper without printing)
shunt=0,02
R
i=12V
V
peak
I
standby
I
Fig. 2.5-
Current
consumption
example.
13/65
FENIX IMVICO
TK14 OPERATION MANUAL
2.3- RS-232 SERIAL INTERFACE
2.3.1- RS-232 Serial interface specifications
•
Data transmission type: Serial
•
Synchronization:Asynchronous
•
Flow control: DTR/DSR control
•
Signal levels (RS232):MARK = -3 to -15 VLogic ‘1’/OFF
SPACE = +3 to +15 VLogic ‘0’/ON
•
Speed: 4800, 9600, 19200, 38400 bps (bps: bits per second)
•
Data length:8 bits
•
Parity:none, even, odd
•
Stop bits:Fixed to 1
•
Connector (user side): JST
PHDR-18VS
(housing)
SPHD-001T-P0.5
(contact) or an equivalent model.
NOTE:
(1) Speed and parity depend on the settings (refer to section 3.6.2).
2.3.2- Change between online and offline mode
The printer is in offline mode:
1) When powering up or resetting the printer, until the printer is ready to receive data.
2) When the platen is opened.
3) After pressing the Paper feed button (FEED) while the paper advances.
4) When ‘out of paper’ causes the printer to stop printing.
5) When the power supply has a temporal abnormal voltage change.
6) When an error has occurred.
14/65
FENIX IMVICO
2.3.3- Serial RS-232 interface pins assignment
The assignments of the terminals of the RS-232 connector and the functions of its signals are described in
the following table:
TK14 OPERATION MANUAL
Signal
Pin
20TXDOutputData transmission line.
21RXDInputData reception line.
22RTSOutputThis signal indicates whether the printer is busy. SPACE
24SG-Signal ground.
23DTROutputThis signal indicates whether an error occurs.
Othernc---Not connected
(*1) Definition of ‘data receiving buf fer f ull’: the st ate of the printer becom es ‘buff er f ull’ when the receiving
buffer increases to 10 Kbytes maximum.
Note: The printer ignores the received data when the free space in the receiving buffer is 0 bytes.
name
Signal
direction (from
the printer
point of view)
Table 2.1-
Pins Assignments of RS-232 connector terminals.
Function
indicates that the printer is ready to receive data, and
MARK indicates that the printer is busy.
Pin #21Pin #19
Pin #23
Fig. 2.6-
2.3.5- PC serial interface connection
PC
FEMALE DB9
Fig. 2.7-
RXD
TXD
GND
DSR
CTS
2
3
5
6
8
shield to chassis
Housing: PHDR-24VS (JST)
Contact: SPHD-001T-P0.5
Serial RS-232 interface pins.
TK14
20
21
23/24
19
22
(JST)
TXD
RXD
GND
DTR
RTS
Pin #20
Pin #22
Pin #24
PC serial cable.
NOTES:
•
Same configuration in the printer and in the host system should be set.
•
The communication protocol should be set properly so that the transmitted data can be received
2.4.1- Compatibility mode (Data transmission from host system to the printer: Centronics
NIBBLE MODE
).
compatible)
*Any system sending data to the printer (PC, PLC, custom board, et cetera) is considered to be a host
system.
The compatibility mode supports compatibility with the Centronics parallel interface.
a) Specifications
Data transmission:8-bit parallel
Synchronization: nSTB signal externally provided
Protocol: nACK (acknowledge) and BUSY signals
Signal levels: TTL compatible
Connector (user side): JST
PHDR-18VS
(housing)
SPHD-001T-P0.5
(contact) or an equivalent model.
b) Switching between online and offline mode
The printer does not provide any switch for online/offline mode. The printer is in offline mode in the
following cases:
1) When powering on or until the printer becomes ready for data transmission after it is initialized by
the reset signal from the interface
2) During the self-test.
3) When the platen is opened.
4) During paper advance using the paper advance button (paper feed).
5) When the printer stops printing due to ‘out of paper’.
6) When a temporal voltage abnormality happens to the power supply.
7) When an error occurs.
c) Timing diagram of data reception
Data n Data n+1
Data
nStrobe
tSetup tSTB
Busy
TReady tBUSY
tHold
Peripheral Busy
nAck
tReply tACK
tnBUSY
tNext
16/65
FENIX IMVICO
TK14 OPERATION MANUAL
Description Sy mbol
Specification
Min(ns) Max(ns)
Data hold time tHold 750 - Data setup time tSetup 750 - STROBE pulse width tSTB 750 - READY cycle idle time tReady 0 - BUSY output delay time tBUSY 0 500
Data processing time
ACKNLG pulse width
BUSY release time
tReply 0
tACK 500
tnBUSY 0
∞
10µs
∞
ACK cycle idle time tNext 0 --
2.4.2- Reverse mode (Data transmission from the printer to the host system)
The transmission of the printer status to the host system is implemented according to the IEEE1284
standard (
2.4.3- Parallel interface pins assignment for each mode
The ‘n’ prefix used before a signal name means that they are active in ‘0’ logic level. If the host system
does not provide any of the signal lines mentioned above, both communication types could fail.
(2)
It is recomm ended to use twisted pair cables (signal/ground), with the return sides connected to the
system signal ground level.
(3)
Do not ignore the nACK and BUSY signals during data transmiss ions. An attempt to transmit data
without nACK or BUSY control signals might cause lost data.
(4)
The interface cables should have the minimum required possible length (maximum recommended
length: 2 m).
Pin #15 (nc)
Pin #1
Pin #2
Pin #18
Fig. 2.8-
2.4.4- PC parallel interface connection
PC
Housing
MALE DB25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fig. 2.9-
15
16
17
18/25
Contact:
STB
D0
D1
D2
D3
D4
D5
D6
D7
CK
BUSY
PE
SELECT
UTOFEED
ERR
INIT
SELECTIN
GND
:
PHDR-24VS (JST)
SPHD-001T-P0.5 (JST)
Parallel interface pins.
TK14
1
2
3
4
5
6
7
8
9
10
11
12
14
18
13
17
16
23/24
Pin #19
Pin #19
PC parallel cable.
Shield to chassis
NOTES:
•
Same configuration in the printer and in the host system should be set.
•
The communication protocol should be set properly so that the transmitted data can be received
without errors.
18/65
FENIX IMVICO
3 – BASIC OPERATIONS
3.1- PAPER LOADING
When the printer runs out of paper, there are two ways of loading paper: automatic and manual.
Before starting the paper load sequence, please make sure the paper roll has been placed in the right
way.
Place the paper roll in the right direction. The thermal paper has only a side, which can be printed
(thermal side). If the user don’t know which one it is, just scratch the paper: the thermal side will
show up the track on.
3.1.1- AUTOMATIC PAPER LOAD
1) Make sure the TK14 is power supplied.
2) Open the printing head and remove paper
from inside the mechanism (if there is any).
3) Make sure that the platen is closed.
4) Make sure the paper end is cut in a straight
way as shown in the next figure:
TK14 OPERATION MANUAL
5) Put the paper end in the mechanism inlet.
6) Push the paper in until the TK14 detects it and
starts the auto-load sequence.
7) Wait until the auto-load sequence extracts the
paper from the printer outlet.
Fig.3.1NOTE:
In the automatic paper load, the printer motor runs at low speed, because the printer needs the
maximum motor torque. Running at low speed, the motor is noisier, but it is not a wrong performing.
3.1.2- MANUAL PAPER LOAD
1) Open the platen and remove the paper (if there is any).
2) Keep the platen opened.
3) Make sure the paper end is cut in a sharp way
as shown in the next figure:
Fig.3.2-
Automatic paper load.
Platen opened.
4) Put the paper end in the mechanism inlet.
5) Push the paper in until it reaches the mechanism
outlet (about 3 cm).
6) Close the platen.
NOTE: After the paper has been loading, push the PFEED button and pick up the ticket, leaving
the next ticket ready to be printed on the top.
19/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.2- BUTTONS FUNCTIONS
PFEED
BUTTON
Fig. 3.3-
1) PFEED Button
.
Functions:
•
If pressed on start-up, it activates the
•
If pressed together with PROG button on start-up, they activate the
•
During
•
Paper feeding using the paper FEED button cannot be performed under the following
PROGRAMMING MODE
this is the
conditions:
•
The paper roll end sensor detects a paper end.
•
When the printer thermal head is opened.
PROG
BUTTON
TK14 led and buttons.
SELF-TEST MODE.
“YES”
button.
LED indicator
HEXADECIMAL MODE
.
2) PROG Button
.
Functions:
•
If pressed on start-up, it activates the
•
If pressed together with PFEED button on start-up, they activate the
MODE
•
During
.
PROGRAMMING MODE
PROGRAMMING MODE
this is the
“NO”
button.
.
HEXADECIMAL DUMP
3.3- PAPER SENSORS
The TK14 has two specific photo sensors for paper: ‘out of paper’ and ‘near-end paper’.
The out of paper sensor has the basic function of informing the printer controller about the existence of
paper (on the printing line). Because there are some actions (as an example, printing without paper) that
could seriously damage the mechanism, this error blocks all the printer activities.
The ‘near-end paper’ sensor detects when the paper roll is near its end of file. This error, by default, does
not stop printing, but through the
detection stops the printing. If a
10 meters
of paper remain (approximately).
ESC c 4
25mm
command, it can be achieved that the ‘near-end paper’
inner diameter paper roll is used, the sensor will trigger when
The final user can detect these errors by the LED, and the application developer can test them through the
DEL EOT
command, being able to act accordingly.
Near-end paper sensor:
sensor will trigger when
10 meters
of paper
remain (approximately).
Fig.3.4-
Near-end paper sensor localization.
20/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.4- OPEN PLATEN SENSOR
When this sensor detects the opening of the platen, it lights the orange LED, blocking all the activity
related to printing.
NOTE: If TK14 detects no paper or platen open while is printing, the current and the following data
will be lose. The control error must be done before sending any byte data. ( See 3.7.4 and
3.7.5 points, flow diagrams of the error detection).
3.5- LED INDICATOR
TK14 has one indicator led to visually inform the printer status.
The led lights GREEN whether the TK14 is powered on without errors.
The led lights ORANGE whether the TK14 does not have paper and/or the platen is opened.
The led lights RED (BLINKING) if there has been any error in the TK14 (See section:
PROCESSING
).
3.7- ERROR
3.6- SPECIAL PRINTING MODES
Besides the normal printing mode, in which all the received data are pr inted according to the settings or
conditions fixed by the commands, the TK14 printer allows two special working modes : the s elf -t est mode,
programming mode and the hexadecimal mode.
3.6.1- Self-test mode
The TK14 provides the self-test mode with
two different functionality: showing information on the
features of that particular printer model and verifying
the printing.
To enter the self-test mode, the printer must be
powered on while keeping pressed the paper
advance button (FEED).
The TK14 will start printing a report, which
allows checking the features of this particular
model, like the firmware current version, control
functions of the communications protocol, and so on.
If, once this printing has been finished, the
FEED is still kept pressed, the TK14 will start printing
continuously and repetitively a character map
until it finally concludes the self-test by printing
‘* * completed * *’.
This second option of the self-test mode has the goal to
validate the printing speed and quality.
Fig. 3.5-
SELF-TEST mode example.
21/65
FENIX IMVICO
SYES
TK14 OPERATION MANUAL
3.6.2- Programming mode
The TK14 has a PROGRAMMING MODE in order to set up some parameters of the printer, without
sending any command neither setting micro-switches.
In this mode, the printer makes some questions to the user. These questions must be answered by
pressing one of the two push buttons.
PFEED
button means
“YES”
and
“PROG”
button means
“NO”
.
To start the programming mode, turn off the printer and,
holding the PROG button pressing, turn on the printer.
Then the printer asks for the configurable parameters.
These are the configurable parameters during
PROGRAMMING MODE:
•
Baudrate: 4800, 9600, 19200 or 38400 baud.
•
Parity for serial transmission: ODD, EVEN, NO parity.
•
Cutter mode: total cut, partial cut or passive cut
(no cutter).
•
Wait until ticket pickup:
Allways select “passive cut” for TK14
.
Enabling this option, user can not print a new
ticket if the actual printed ticket has not been
picked up; therefore, it can avoid a possible paper
jam. User has to send the
GS V
command at the
ticket end. While TK14 is waiting the ticket pick
up, BUSY signal will remain active (BUSY=1).
This option is enabled by default.
Alternately, user can make this control himself,
by the
DEL EOT
command, testing the ticket pick
up flag.
NO
YES
NO
NO
NO
YE
NO
Any way,application programmer has to estimate
the property application consequences and
choose the correct option.
•
Paper quality:
a) Normal paper
TF50KS-E2D
TF77KS-E2 (or similar)
b) Wide temperature paper
TL51KS-R2
TL69KS-R2 (or similar)
c) High sensitive paper
TL69KS-HG76 (label paper)
Fig. 3.6-
•
Carry Return: Enable / Disable CR command.
Next figure shows how the printer asks for the configurable
parameters:
NO
PROGRAMMING MODE example.
22/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.6.3- Hexadecimal dump mode
In this mode, all the data received from the host
system is printed, without processing any command,
in hexadecimal and its corresponding ASCII.
This mode can be very helpful for the application
developer during the setup test time, as it allows to
detect and eliminate possible errors (as out of range
parameters, non valid command sequences, errors in
the communication channel, etc.), comparing what it
has theoretically been sent to the printer to what it is
really being received.
To enter hexadecimal mode, proceed with the
following steps:
a) Keeping the paper advance button (FEED) and
program button (PROG) pressed, switch the
power on.
b) The TK14 will print the text ‘~~~~HEXADECIMAL
MODE~~~~’, and it will remain waiting for
receiving data. As soon as the received bytes
received complete one line (9bytes), they will be
printed automatically.
Turn off the printer to quit the hexadecimal mode.
Fig. 3.6-
NOTES:
(1) For any received characters that are under 20h, the ASCII ‘.’ will be printed.
(2) During the hexadecimal dump mode, the
DEL EOT
(3) It must be taken into account that if the number of bytes is not bigger than the minimum
amount required to print one line (9bytes), the TK14 will not print. It is recommended to
complete the hexadecimal dump by sending at least 9bytes (for example 00h).
(4) It is also possible to enter the hexadecimal mode through the
HEXADECIMAL DUMP mode example.
command does not work.
GS ( A
command.
23/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.7- ERROR PROCESSING
3.7.1- Error types
When an error happens, the TK14 visually notifies the error type through the led, locatednext to the
buttons. This fact allows the final user to have a direct and visual reference on the current printer status.
On the other hand, the printer status and all its possible errors can also be obtained via software through
DEL EOT
the
command. In this way, the application developer can have more complete information on
the printer status, therefore being able to act accordingly.
The errors detected by the interface are the following: ‘near-end paper’, hardware error, power supply
voltage error and printing head temperature error.
When any of these errors happen, the led blinks with a different blinking timing sequence for each of
them. If no error happens the led will light permanently green.
ERROR
‘NEAR-END
PAPER’
PAPER
JAM
HARDWARE
VOLTAGE
ERROR
TEMPERATURE
No Paper /
Platen open
Led ON
Led OFF
Led ON
Led OFF
Led ON
Led OFF
Led ON
Led OFF
Led ON
Led OFF
Led ON
Led OFF
Sequence (RED BLINKING)
(a = 0,5 seconds , b = 2 seconds.)
a
b
11
2
4
Orange (no blinking)
2
t
t
4
66
7
t
7
Fig. 3.8-
LED Blinking sequence (RED).
More information on these errors can be found below:
NEAR-END PAPER ERROR
[Description]This error happens when the ‘near-end paper’ sensor detects that the paper roll is close to
be finished. This means that using a paper roll with an external diameter of
inner diameter of
25 mm
, the sensor will trigger the error when there are still
80 mm
and
10 meters
of
paper approximately.
[Recover action]This indication should be really taken as a
warning
, not as an error as such. The action
depends on the application and the developer’s criteria. To recover from this error, user
must change the paper roll.
[Notes] Depending on the settings of command
point
4. CONTROL COMMANDS
). If this error is set to stop the printing, it will be
“ESC c 4”
this error stops the printing or not (see
detected as any other error. If this error is not set to stop the printing, user must detect it
by polling the status bytes. This error is indicated in the parallel port depending on the
conditions set by the
”ESC c 3”
command (See point
4. CONTROL COMMANDS
).
24/65
FENIX IMVICO
TK14 OPERATION MANUAL
HARDWARE ERROR
[Description] At initialization, the printer internally checks its hardware devices. If they do not function
properly, an error occurs.
[Recover action] This error cannot be recovered. One of the control board components might be damaged
and should be replaced or repaired.
POWER SUPPLY VOLTAGE ERROR
[Description] The power supply voltage is out of range (12V to 24V DC + 10%).
[Recover action] This is a recoverable error. Unplug the power supply from the printer and check if the
output voltage of the power supply is within the specified range. Replace it in case it is
not working properly.
[Note] When this error occurs, some parts of the printer may be damaged. If this happens, the
printer will be unable to recover itself and some of its components are likely to be
replaced.
THERMAL HEAD TEMPERATURE ERROR
[Description] Due to very continuous use of the printer, or due to environmental conditions, the
temperature in the thermal head may reach levels (above 80ºC), which can damage the
printer itself. When this situation occurs, an error must be indicated in order to protect the
printer from abrasion.
[Recover action] The printing recovers automatically from this error when the thermal print head
temperature drops below 60ºC again.
[Note]This error can happen if the ambient temperature is very high and the printer is working
continuously with high-density printing.
NO PAPER ERROR
[Description] The out of paper sensor detects there is not paper on the printing line.
[Recover action] This error disappears loading a new paper roll in the printer (see section 3.1.
Paper
loading).
[Note] This error stops the printing and it cannot be restarted until it is not recovered.
This error is indicated in the parallel port depending on the conditions set by
the
”ESC c 3”
command (See point
4. CONTROL COMMANDS
).
PLATEN OPENED ERROR
[Description]The platen unit is open.
[Recover action] This error disappears when closing the platen.
[Note]This error stops the printing and it cannot be restarted until it is not recovered.
This error is indicated in the parallel port depending on the conditions set by
the
”ESC c 3”
command (See point
4. CONTROL COMMANDS
).
25/65
FENIX IMVICO
t
d
t
d
d
d
TK14 OPERATION MANUAL
PAPER JAM ERROR
[Description] When printing a ticket, the paper must run across the printer mechanism and the
presenter unit without any obstacle. Moreover, the ticket has to be the minimum length
in order to the user may catch it.
IMPORTANT NOTES:
THE MINIMUM TICKET LENGTH IS 120 mm.
•
ANY TICKET WITH LENGTH MINOR THAN 120 mm WILL CAUSE PAPER JAM.
FENIX SUGGEST A 160 mm MAXIMUM TICKET LENGTH TO AVOID VANDALIC
•
ACTIONS.
[Recover action] This is a Non-recoverable error.
User must turn OFF the printer and remove the paper jam.
s
1
)
Open the platen and try to remove
the jam pulling the paper backwards.
r
3
)
Try to remove the paper jam using forceps
or similar tool.
n
2
)
If step 1
s
) has not effect: remove the 2 screws
holding the cutter and take out it from the printer.
BE CAREFUL! THE SHAPPENING
BLADE MEY CAUSE DAMAGE
r
4
)
If step 3
r
) has not effect: remove the 4
screws holding the head mechanism and take
out from the printer.
Fig. 3.9-
Paper jam recovery.
26/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.7.2- Printer operation when an error happens
When the TK14 detects an error (except the near-end paper), it executes the following operations:
•
It stops all printing operations.
•
The red led blinks or orange permanently lights.
3.7.3- Data reception error (serial interface only)
If one of the following errors happens during the serial interface data communication, the printer prints
‘?’ or ignores the data.
•
Parity error.
•
Synchronization error.
•
Overlap error.
3.7.4- Flow diagram of the error detection for the serial port
BEGINNING
NO
nDTR = 0
YES
NO
nRTS = 0
YES
END OF
TRANSMISSION
YES
SENDS
1 BYTE
NO
SEND COMMAND
DEL EOT
READS THE PRINTER
STATUS AND IDENTIFIES
THE ERROR
END
Fig.3.10-
Serial port error flow diagram.
27/65
FENIX IMVICO
TK14 OPERATION MANUAL
3.7.5- Flow diagram of the error detection for the parallel port
The TK14 meets the IEEE-1284 standard, in the nibble mode variant.
Compatibility mode
PERIPHERAL
Data transfer
PERIPHERAL
does not have
data to send
Host system
busy
Data not
available
PERIPHERAL
Busy,ACK,PE,/ERR
DEL EOT command not
previously sent
Host system does
not receive data
byte.
Peripheral does
not have more
data to send
Host system
Data transfer
HOST SYSTEM requires
Negotiation
Reverse data
reverse transfer
transfer
HOST
SYSTEM.
Forward idle
Host system
requires
data byte
Interface
returns to
compatibility
Negotiation
error
DEL EOT command
send previously
PERIPHERAL has
data to send
Host system
busy.
Data
available
END
HOST SYSTEM
END request
Fig.3.11-
Nibble mode phase transitions.
NOTES:
(1) The circles represent the IEEE1284 phases.
(2) This diagram can not be considered as the true state diagram.
The host system can request the negotiation phase at any time, but the TK14 will only return a
(3)
status byte if the host system has send the DEL EOT command previously.
(4) If the printer control of the host system does not have enabled or implemented the nibble mode
according to the IEEE-1284 interface, only the com patibility mode will make communication pos sible.
In this case, the error signaling is reduced to the information provided by the PError and nFault pins.
28/65
FENIX IMVICO
4 – CONTROL COMANDS
4.1- COMMAND NOTATION
[Name]The command name.
[Format]The coding sequence.
[Range]It provides the allowed range for the arguments.
[Description]It describes the command functionality.
[Notes]It provides important information in command usage and warnings, if needed.
[Defect]It provides the default values, if any, for the command parameters.
[Reference]It lists related commands.
[Examples]It shows examples on how to use the command.
4.2- TERM DEFINITIONS
1) Receiving buffer.
2) Printing buffer.
TK14 OPERATION MANUAL
It is the buffer that stores the r eceived data (com m ands and data). T hey are stored tempor ally in
the buffer and are sequentially processed later.
The printing buffer is a buffer that holds the data of the image to be printed.
3) Printable area.
It is the maximum range in which the printing is possible under the printer specifications.
The printable area for this printer is the following:
"
The horizontal direction length is 48 mm.
4) Inch
Length unit. One inch is 25.4 millimeters.
5) MSB
Most significant bit.
6) LSB
Least significant bit.
7) Base line.
Standard position where the characters are printed. The following drawing shows the position of
normal characters in standard mode:
✻1. When the font selected is A type (12x24 dots), this height is 18 dots.
When the font selected is B type (8x16 dots), this height is 14 dots.
29/65
FENIX IMVICO
TK14 OPERATION MANUAL
4.3- DESCRIPTION OF THE CONTROL COMMANDS
Command List
CommandName
LF
CR
DLE EOT
ESC t
ESC SP
ESC !
ESC 2
ESC 3
ESC @
ESC E
ESC G
GS B
ESC J
ESC M
ESC a n
ESC c 3
ESC c 5
ESC d
GS !
GS ( A
GS L
GS T
GS V
GS f
GS H
GS h
GS k
GS w
GS v 0
FS p
FS q
Print and line feedX31
Print and carriage returnX31
Real-time status transmissionX31
Select character code tableX33
Set right-side character spacingX33
Select print mode(s)X33
Select default line spacingX34
Set line spacingX34
Initialize printerXX34
Turn emphasized mode on/offX34
Turn double-strike mode on/offX34
Turn white/black reverse printing mode on/offX35
Print and feed paperX35
Select character fontX35
Select justificationx36
Select paper sensor to output PE signalX36
Enable/disable panel buttonsX37
Print and feed n linesX37
Select character sizeX37
Execute test printX38
Set left marginX38
Set print position to the beginning of print lineX39
Feed paper to cut paper lineX39
Select font for HRI charactersX39
Select printing position of HRI charactersX40
Set bar code heightX40
Print bar codeX40
Set bar code widthX42
Print raster bit imageX42
Print NV bit imageX43
Define NV bit imageX44
Command
classification
ExecutingSetting
Page
Table 4.1-
Command List.
30/65
FENIX IMVICO
TK14 OPERATION MANUAL
LF
[Name] Print and line feed
[Format]ASCIILF
Hex0A
Decimal 10
[Description] Prints the data in the print buffer and feeds one line, based on the current line spacing.
[Note]This command sets the print position to the beginning of the line.
[Reference]
ESC 2, ESC 3
.
CR
[Name] Print and carriage return
[Format]ASCIICR
Hex0D
Decimal 13
[Description]When automatic line feed is enabled, this command operates the same as LF; when
automatic line feed is disabled, this command is ignored.
[Notes]
•
This command is set at the start-up, via the PROGRAMMING MODE
(see point
•
Sets the print starting position to the beginning of the line.
[Reference]
LF
3.6.2- PROGRAMMING MODE
).
DLE EOT n
[Name] Real-time status transmission
[Format]ASCIIDLE EOT
Hex10 04
Decimal 16 04
≤
n
[Range] <01>H ≤
<04>H
n
n
n
[Description]Transmits the selected printer status specified by n in real-time, according to the following
parameters:
n
= <01>H: Transmit printer status
n
= <02>H: Transmit offline status
n
= <03>H: Transmit error status
n
= <04>H: Continuous paper sensor status
n
= <05>H: Paper sensor status
[Notes]
•
The status is transmitted whenever the data sequence <10>H<04>H<n>
≤
n
( <01>H ≤
•
The printer transmits the current status. Each status item is represented by one-byte of
<05>H) is received.
data.
•
The printer transmits the status without confirming whether the host computer can
receive data (in serial interface).
•
The printer executes this command upon receiving it.
•
This command is executed even when the printer is offline, the receiver buffer is full, or
there is an error status with a serial interface model.
•
If a not recovery error occurred, the bit 2 in the Printer Status (n=1) will be
indeterminate.
n
= <01>H:
Printer status
BitOFF/ONFunction
0OFFNot used. Fixed to OFF
1ONNot used. Fixed to ON
2OFFNot used. Fixed to OFF
3
OFFOnline
ONOffline
4ONNot used. Fixed to ON
5OFFDoes not wait for online error recovery
ONWaits for online error recovery
6-Undefined
7OFFNot used. Fixed to OFF
31/65
FENIX IMVICO
TK14 OPERATION MANUAL
n
= <02>H:
Offline status
BitOFF/ONFunction
0OFFNot used. Fixed to OFF
1ONNot used. Fixed to ON
2
OFFPlaten is closed (Thermal head is closed)
ONPlaten is open (Thermal head is open)
3-Undefined
4ONNot used. Fixed to ON
5
6
OFFNo paper-end stop
ONPrinting is being stopped
OFFNo error
ONError occurred
7OFFNot used. Fixed to OFF
n
= <03>H:
Error status
BitOFF/ONFunction
0OFFNot used. Fixed to OFF
1ONNot used. Fixed to ON
2OFFNot used. Fixed to OFF
3xNot used.
4ONNot used. Fixed to ON
5
6
OFFNo unrecoverable error
ONUnrecoverable error occurred
OFFNo auto-recoverable error
ONAuto-recoverable error occurred
7OFFNot used. Fixed to OFF
Bit 6:Bit 6 is ON when printing is stopped due to high print head temperature
until the print head temperature drops sufficiently.
n
= <04>H:
Continuous paper sensor status
BitOFF/ONFunction
0OFFNot used. Fixed to OFF
1ONNot used. Fixed to ON
2-Undefined
OFFPaper near-end sensor: Paper present
3
ONPaper near-end sensor: Paper not
present
4ONNot used. Fixed to ON
5-Undefined
6
OFFPaper real-end sensor: Paper present
Paper real-end sensor: Paper not present
7OFFNot used. Fixed to OFF
n = <05>H:
Paper sensor status
BitOFF/ONFunction
0OFFNot used. Fixed to OFF
1ONNot used. Fixed to ON
2-Undefined
3
OFFTicket not pick up
ONTicket pick up
4ONNot used. Fixed to ON
5-Undefined
6-Undefined
7OFFNot used. Fixed to OFF
32/65
FENIX IMVICO
TK14 OPERATION MANUAL
ESC t n
[Name]Select character code table
[Formato]ASCIIESCt
Hex1B 74
Decimal27 116
[Range]
n
=<00>H ,
n =
<11>H
n
n
n
[Description]Selects page n from the character code table.
n
Page
0PC437 (U.S.A., standard Europe)
17PC866 (Cyrillic)
[Default]
[Reference]
n
= 0
APPENDIX F
ESC SP n
[Name] Set right-side character spacing
[Format]ASCIIESC SP
Hex 1B 20
Decimal 27 32
≤
≤
n
[Range]<00>H
<FF>H
[Description]Sets the character spacing for the right side of the character to [
(
n x
0.0049”)].
n
n
n
n x
0.125 mm
[Notes]
•
The right side character spacing for double-width mode is twice the normal
value. When characters are enlarged, the right-side character spacing is n times
normal value.
This command is effective only when sent at the beginning of a line.
•
[Default]
[Reference]
n
= <04>H
APPENDIX A
ESC ! n
[Name]Select print mode(s)
[Format]ASCIIESC !
Hex 1B 21
Decimal 27 33
[Range]<00>H ≤
n ≤
<FF>H
n
n
n
[Description]Selects print mode(s) using n as follows:
[Notes]
BitOFF/ONHexFunction
OFF00
0
Character font A (12 x 24).
ON01Character font B (8 x 16).
1----Undefined.
2----Undefined.
The command is enabled only when processed at the beginning of the line.
•
This command executes justification in the printing area.
[Reference]
ESC !
[Example]
Left justification Centering Right justification
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ESC c 3 n
[Name]Select paper sensor(s) to output paper end signals (PE in parallel interface)
[Format]ASCIIESC c 3
Hex1B 6333
Decimal27 9951
[Range]0 ≤
n ≤
255
n
n
n
[Description]Selects the paper sensor(s) to output paper end signals.
Each bit of n is used as follows:
BitOFF / ONHexFunction
OFF00Paper roll near-end sensor disabled0
ON01Paper roll near-end sensor enabled
OFF00Paper roll near-end sensor disabled1
ON02Paper roll near-end sensor enabled
OFF00Paper roll end sensor disabled2
ON04Paper roll end sensor enabled
OFF00Paper roll end sensor disabled3
ON08Paper roll end sensor enabled
4-7--Undefined
[Notes] The command is available only with a parallel interface and is ignored with a serial interface.
•
It is possible to select multiple sensors to output signals. Then, if any of the sensors detects
a paper end, the paper end signal is output.
•
Sensor is switched when executing this command. The paper end signal switching be
delayed depending on the receive buffer state.
•
If either bit 0 or bit 1 is on, the paper roll near-end sensor is selected as the paper sensor
outputting paper-end signals
•
If either bit 2 or bit 3 is on, the paper roll end sensor is selected as the paper sensor
outputting paper-end signals.
•
When all the sensors are disabled, the paper end signal always outputs a paper present
status.
[Default]
n
= 12
36/65
FENIX IMVICO
TK14 OPERATION MANUAL
ESC c 5 n
[Name]Enable/disable panel buttons
[Format]ASCIIESC c 5
Hex 1B 63 35
Decimal 27 99 53
[Range]0 ≤
n ≤
255
n
n
n
[Description]Enables or disables the panel buttons.
•
When the LSB of n is 0, the panel buttons are enabled.
•
When the LSB of n is 1, the panel buttons are disabled.
[Notes] Only the lowest bit of n is valid.
•
In this printer, only the FEED button can be disable.
[Default]
n
= 0
ESC d n
[Name]Print and feed n lines
[Format]ASCIIESC d
Hex 1B 64
Decimal 27 100
[Range]<00>H ≤
n ≤
<FF>H
n
n
n
[Description]Prints the data in the print buffer and feeds n character lines.
[Notes] This command sets the print starting position to the beginning of the line.
•
This command does not affect the line spacing set by
•
The maximum paper feed amount is 1016 mm {40”}. If the paper feed amount
ESC 2
or
ESC 3
.
spacing) of more than 1016 mm {40”} is specified, the printer feeds the paper only
1016 mm {40”}.
•
Every line feed corresponds to the current selected font height (24 dots for Font A and
16 dots for Font B).
[Reference]
ESC 2, ESC 3.
(n x
line
GS ! n
[Name]Select character size
[Format]ASCIIGS !
Hex1D 21
Decimal 29 33
[Range]<00> ≤
n ≤
<FF>H (1 ≤ vertical number of times ≤ 8, 1 ≤ horizontal number of times ≤ 8)
n
n
n
[Description]Selects the character height using bits 0 to 3 and selects the character width using bits 4
to 7, as follows:
BitOFF / ONHexFunction
0
Character height selection. See Table 2.
1
2
3
4
Character width selection. See Table 1.
5
6
7
Table 1Table 2
Character Width Selection Character Height Selection
[Description] Executes a test print with a specified test pattern on a specified paper.
•
pL, ph
•
n specifies the paper to be tested.
specifies (pL+(phx256)) for the number of the bytes after ph (n and m).
n
<30>H
Paper
Paper roll
<31>H
<32>H
•
m specifies a test pattern.
m
Test pattern
<31>HHexadecimal dump
<32>HPrinter status print
<33>HRolling pattern print
[Details] This command has enabled only when processed at the beginning of a line.
•
After the test print is finished, the printer resets itself automatically. Therefore, data
already defined before this command is executed, such as user-defined buffer and print
buffer are cleared; and each setting returns to the default value.
GS L
nL nH
[Name]Set left margin
[Format]ASCIIGS L
Hex1D 4C
Decimal 27 76
nL nH
nL nH
nL nH
[Range]<00>H ≤ nL ≤ <FF>H
<00>H ≤ nH ≤ <FF>H
[Description]Sets the left margin using
•
The left margin is set to [(
nL
and nH.
nL + nH
x 256) x 0.125 mm].
[Notes]
[Default]
[Reference]
Printable area
Left margin
•
This command is effective only when processed at the beginning of the line.
•
This commands affects text, graphic and bar code printing.
nL
= <00>H,
nH
= <00>H
APPENDIX A
38/65
FENIX IMVICO
TK14 OPERATION MANUAL
GS T n
[Name]Set print position to the beginning of print line
[Format]ASCIIGS T
Hex1D 54
Decimal 27 84
[Range]
n
= <00>H or n = <01>H
n
n
n
[Description]Sets the print position to the beginning of print line.
•
n specifies the data processing in the print buffer.
n
Printing position
<00>HSets the print position to the beginning of print line after deleting all
data in the print buffer.
<01>HSets the print position to the beginning of print line after printing all data
in the print buffer.
GS V m
[Name] Feeds paper to the passive cutter line.
[Format]ASCIIGS V
Hex1D 56
Decimal 27 86
[Range]
m
= <01>H
m
m
m
[Notes]
There are 26 mm of distance between the thermal head line and the passive
•
cutter line. This command arranges the ticket to be cut, feeding paper
automatically.
•
This command is effective only when processed at the beginning of a line.
Afterwards the ticket is cutting by the user, the printer feeds the paper back to the
printing position.
Sending this command, user informs to TK14 that actual ticket is completely
•
finished; so TK14 can make internal controls to right performance.
GS f n
[Name]Select font for Human Readable Interpretation (HRI) characters
[Format]ASCIIGS f
Hex1D 66
Decimal 27 102
[Range]
n
= <00>H or <01>H
n
n
n
[Description]Selects a font for the HRI characters used when printing a bar code.
n
selects a font from the following table:
n
Font
<00>HFont A (12x24)
<01>HFont B (8x16)
[Notes]
•
HRI indicates Human Readable Interpretation
GS H
.
[Default]
[Reference]
•
HRI characters are printed at the position specified by
•
HRI characters are always printed at X-Scale = 1 and Y-Scale = 1
n
= <01>H
GS H, GS k
39/65
FENIX IMVICO
TK14 OPERATION MANUAL
GS H n
[Name]Select print position for HRI characters.
[Format]ASCIIGS H
Hex1D 48
Decimal 29 72
[Range]
n
= 0/3
n
n
n
[Description]Selects the print position of HRI characters when printing a bar code.
n
selects the print position as follows:
n
Printing position
0Not printed
1Above the bar code
2Below the bar code
3Both above and below the code bar
[Notes]
•
HRI indicates Human Readable Interpretation
•
HRI characters are printed using X-scale = 1, Y-scale = 1 and the font specified by
[Default]
[Reference]
n
= <02>H
GS f, GS k
GS h n
[Name]Select bar code height
[Format]ASCIIGS h
Hex1D 68
Decimal 27 104
n
n
n
[Range]<01>H ≤ n ≤ <FF>H
[Description]Selects the height of the bar code.
n
specifies the bar code height in the vertical direction [n x 0.0625 mm (0.0049”)].
[Default]
[Reference]
GS k
m n d1...dn
n
= <A0>H (10mm)
GS k
[Name]Print bar code
[Format]ASCIIGS k
Hex1D 6B
Decimal 27 107
m n d
m n d
m n d1...dn
1...
1...
dn
dn
[Range] m= <43>H , m = <45>H, m= <46>H or m= <49>H
(n
and d depend on the bar code system used).
[Description]Selects a bar code system and prints the bar code.
m
selects a bar code system as follows:
GS f.
[Notes]
m
Bar Code System Number of CharactersRemarks
<43>HEAN13 n = <0C>H
<45>HCODE39
<46>HITF
<01>H ≤ n ≤ <FF>H<30>H ≤ d ≤ <39>H, <41>H ≤ d
<01>H ≤ n ≤ <FF>H
(even number)
<49>HCode128
•
n indicates the number of bar code data bytes, and the printer processes n bytes from
<02>H ≤ n ≤ <FF>H<00>H ≤ d ≤ <7F>H
the next character data as bar code data.
•
If n is outside the specified range, the printer stops command processing and
processes the following data as normal data.
•
If d is outside the specified range, the printer only feeds paper and processes the
following data as normal data.
•
If the horizontal size exceeds printing area, the printer only feeds the paper.
•
This command feeds as much paper as is required to print the bar code, regardless of
This command is enabled only when no data exists in the print buffer. When data
exists in the print buffer, the printer processes the data following m as normal data.
•
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.
•
The number of data for the ITF bar code must be even numbers. When an odd
number of bytes of data is input, the printer ignores the last received data.
•
When Code128 (m=49h) is used:
1. Refer to
APPENDIX E – CODE 128 BAR CODE
for the information for the
Code128 bar code and its code table.
2. When using Code128 in this printer, take the following points into account for data
transmission:
# The top of the bar code data string must be the 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. The ASCII character “{“
is defined by transmitting “{“ twice consecutively.
[Example] Example data for printing “Ref. 258710”
In this example, the printer first prints “No.” Using CODE B, then prints the
following numbers using CODE C.
Fig. 4.1-
GS k
73 11 123 66 82 101 102 46 123 67 25 87 10
Code128 code example.
3. If the top of the bar code data is not the code set selection character, the printer stops
command processing and processes the following data as normal data.
4. If the combination of “{“ and the following character does not apply any special
character, the printer stops command processing and processes the following data as
normal data.
5. If the printer receives characters that cannot be used in the special code set, the
printer stops command processing and processes the following data as normal data.
6. The printer does not print HRI characters that correspond to the shift characters or
code set selection characters.
7. HRI character for the function character is space.
8. HRI characters for the control character (<00>H to <1F>H and <7F>H) are space.
<Others> Be sure to keep spaces on both right and left sides of a bar code. (Spaces are different
depending on the types of the bar code.)
[Reference]
GS h, GS w
41/65
FENIX IMVICO
TK14 OPERATION MANUAL
GS w n
[Name]Set bar code width
[Format]ASCIIGS w
Hex1D 77
Decimal 27 119
n
n
n
[Range]<02>H ≤ n ≤ <06>H
[Description]Sets the horizontal size of the bar code.
n specifies the bar code width as follows:
NV bit image means a bit image which is defined in a non-volatile memory by
and printed by
•
This command is not effective when the specified NV bit image has not been defined.
•
This command is effective only when there is no data in the print buffer.
•
This command is not affected by print modes (emphasized, double-strike, underline,
•
If the printing area width set by
line, the following processing is performed only on the line in question. However, in NV
bit image mode, one vertical line means 1 dot in normal mode (
double-height mode (
49H) and in quadruple mode (
ModeVertical
m
FS p
≤
.
nm
nm
< 51>H
Horizontal
Dot Density
GS L
=
m
2, 50H), and it means 2 dots in double-width mode (
=
m
3, 51H).
Dot Density
for the NV bit image is less than one vertical
=
m
0, 48H) and in
FS q
=
m
1,
[Reference]
➀
The printing area width is extended to the right in NV bit image mode up to one line
vertically. In this case, printing does not exceed the printable area.
➁
If the printing area width cannot be extended by one line vertically, the left margin is
reduced to accommodate one line vertically.
•
If the downloaded bit-image to be printed exceeds one line, the excess data is not
printed.
•
This command feeds dots (for the height n of the NV bit-image) in normal and double-
×
width modes, and (for the height
quadruple modes, regardless of the line spacing specified by
•
After printing the bit image, this command sets the print position to the beginning of
the line and processes the data that follows as normal data.
Total available data area = 16380 bytes (16KB-4Bytes)
[Description]Define the NV bit image specified by n .
•
n specifies the NV bit image number (always 1).
•
L
H
x
x
,
specifies (xL+ xH × 256) × 8 dots in the horizontal direction for the NV bits
image you are defining.
•
L
y
, yH specifies (yL+ yH × 256) × 8 dots dots in the vertical direction for the NV bit
image you are defining.
[Notes] From the beginning of the processing of this command till the finish, mechanical
operations (including initializing the position of the printer head when the cover is open,
paper feeding by using the FEED button, etc.) cannot be performed.
•
NV bit image means a bit image which is defined in a non-volatile memory by
and printed by
•
This command is effective only when processed at the beginning of the line.
•
This command is effective when 7 bytes <FS∼yH> is processed as a normal value.
•
When the amount of data exceeds the capacity left in the range defined by
H
y
, the printer processes
•
The d indicates the definition data. In data (d) a 1 bit specifies a dot to be printed and
FS p
.
L
x
, xH, yL, y
H
out of the defined range.
FS q
L
x
, xH, yL,
a 0 bit specifies a dot not to be printed.
•
The definition area in this printer is a maximum of 16KBytes-4Bytes.
•
Once a NV bit image is defined, it is not erased by performing
ESC @
, reset or power
off.
•
This command performs only definition of a NV bit image and does not perform
FS p
command.
[Reference]
printing. Printing of the NV bit image is performed by the
FS p
IMPORTANT NOTE.- FENIX has provided a powerful utility to his Windows driver, that
makes logo load extremely easy and useful.
Taking advantage of high features in drawing and im age handl e sof tware like Word,
Paint, PhotoShop, etc. the user can load 1 l ogo, selecting in “Device operation”
(TK14 Windows driver) the correct option.
We suggest to adjust the logo selecting “Driver mode” option unti l get the size, the
layout and the arrangement desired. After, the user only must reprint with the option
“Load Logo 1” selected, and the logo will be stored at the same way that last printing.
44/65
FENIX IMVICO
TK14 OPERATION MANUAL
APPENDIX A – SPECIFICATIONS
Printing method
Dot density
Printing direction
Printing width
Character per line (default)
Character spacing (default)
Character structure
Character size (mm)
Character number
Print speed
Paper feed speed
Line spacing (default)
Paper roll
Thermal line printing
203 dpi x 203 dpi (dpi = dots per inch.
1 inch=25.4mm)
8 dots x mm
Unidirectional with friction feed
48 mm (384 dots)
Font A: 42 Font B: 56
0.5 mm (4 dots)
Font A: 12 x 24 dots (1.5 x 3 mm).
Font B: 8 x 16 dots (1 x 2 mm).
Font A is the default.
Font AFont B
Standard: 1.5 x 3
Double-width: 3 x 3
Double-height: 1.5 x 6
Double width/height: 3 x 6
Alphanumeric characters: 95
Extended Graphics: 128 per page
High speed mode: up to 62,5 mm/s
(The printing speed could vary automatically depending on
the print head temperature as well as the command
processing and the data transmission speed).
62,5 mm/s (continuous paper feed)
0.99 mm
Width: 58 +0/-1mm
Maximum outside diameter: 80 mm (50 m approx.)
Minimum inner diameter: 25mm
Standard: 1 x 2
Double-width: 2 x 2
Double-height: 1 x 4
Double width/height: 2 x 4
Minimum ticket length
Maximum ticket length suggested
Thermal paper type
Interface (compatible)
Receive buffer
Power supply
Peak current consumption
(64 dots activated)
Life span (at 25ºC )
Activation pulse resistance
Abrasion resistance
Temperature
Overall dimensions (mm)
Weight (without paper)
120 mm
160 mm
At –5ºC to 50ºC #
At –30ºC to 70ºC#
paper)
At 5ºC to 40ºC #
From Nippon Paper
Industries
RS-232C and IEEE 1284 (Nibble mode)
10 Kbytes
12V to 24V DC ± 10%
100 millions pulses or more (print ratio=12,5%).
50 Km or more.
Operating: -30 to 70ºC
Storage: -35 to 75ºC, except for paper.
198,3 x 95 x 121,7 (H x W x D)
TF50KS-E2D
TF77KS-E2
TL69KS-HG76
TL51KS-R2
TL69KS-R2
TW80KK-S
3A (approx.)
1 Kg (approx.)
(label paper)
(High heat-resistant
(High heat-resistant
(2-ply thermal paper)
(59µm paper )
(95µm paper)
paper)
45/65
APPENDIX B – IF1500 CONNECTORS AND BUTTONS
Serial RS232 and
Parallel
CENTRONICS
(IEEE1284)
Comunication
connector
POWER
SUPPLY
connector
IF1500
LOW
PAPER
connector
TICKET
PICKUP
connector
IFCON1500
INTERCONNECTION
LTP1245
(Seiko)
LINE
THERMAL
PRINTER
MECHANISM
PAPER
FEED
BUTTON
PROG
BUTTON
STATUS
LED
ACU6205 (Seiko)
AUTOCUTTER UNIT
APPENDIX C – EXTERNAL APPEARANCE
COTES IN mm
FENIX IMVICO
TK14 OPERATION MANUAL
APPENDIX D – HOW TO ORDER
AVAILABLE ACCESORIES
TK14-58-XX
nil :
:
xx
Special version
Standard type
custom-made type (under agreement only)
PARTNUMBERDescription
FAPOS-1
FA-40TK
RS232-6
CENTRONIC-7
T58X80X25,4
Standard 80 mm diameter paper roll for 58
Power supply close frame
Power supply open frame
Serial cable 1,5m
Centronic cable 1,5m
48/65
FENIX IMVICO
APPENDIX E – CODE128 BAR CODE
In Code128 bar code system, it is possible to represent 128 ASCII characters and 2-digit numerals using
one bar code character that is defined by combining one the 103 bar code characters and 3 code sets.
Each code set is used for representing the following characters:
E.1 Description of the CODE128 Bar Code
Code set A
•
Code set B
•
Code set C
•
The following special characters are also available in Code128:
SHIFT
-
In code set A, the character just after SHIFT is processed as a character for code set B. In code set
B, the character just after SHIFT is processed as the character for code set A.
SHIFT character cannot be used in code set C.
TK14 OPERATION MANUAL
: ASCII characters 00H to 5FH
: ASCII characters 20H to 7FH
: 2-digit numeral characters using one character (100 numerals from 00 to 99)
characters
- Code set selection character (
This character switches the following code set to code set A, B or C.
- Function character (
The usage of function characters depends on the application software. In code set C, only FNC1 is
available.
USA, Standard Europe (International Character Set: USA).
53/65
FENIX IMVICO
€
TK14 OPERATION MANUAL
Page 0
(Continued): 80H to FFH
54/65
FENIX IMVICO
TK14 OPERATION MANUAL
b) Page 17
PC866:
.
Cyrillic.
55/65
FENIX IMVICO
e
APPENDIX G – TESTING SOFTWARE
TK14 OPERATION MANUAL
The TK14 printer is delivered together with a Windows-based, testing program. This program is an easy
way to explore the TK14´s main features.
To install the program, run the “SETUP.EXE” file and follow the instructions on the screen.
The program is intended for three purposes:
• PC communication port configuration.
• Printer Status.
• Sample ticket.
These three parts are distinguished in the program main window. And they are explained next.
PC COMMUNICATION PORT CONFIGURATION
TK14 Testing Softwar
Serial port
configuration
Serial or parallel
port selection
56/65
FENIX IMVICO
e
TK14 OPERATION MANUAL
PRINTER STATUS
When enabling the printer status window, the program tests the printer’s sensors and notifies every
significant error or printing status.
The program tests the printer’s status once. In some errors, there may be a little time delay from the
moment when the error is produced until the printer notifies it.
TK14 Testing Softwar
57/65
FENIX IMVICO
e
TK14 OPERATION MANUAL
SAMPLE TICKET
With this feature, user can appreciate different formats of text by choosing the attributes of the desired
text.