Beruflich Dokumente
Kultur Dokumente
IF9000 interface
Operation Manual – Version 3
November - 2010
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Revision list for the TK51 thermal printer series operation manual.
2/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
INDEX
3/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
4 – CONTROL COMMANDS............................................................................... 40
4.1- COMMAND NOTATION..................................................................... 40
4.2- TERMS EXPLANATION..................................................................... 40
4.3- CONTROL COMMANDS DESCRIPTION.......................................... 41
4/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
In order to preserve the life of the printer, it is necessary to keep in mind some
precautions in the handling of the TK51/IF9000. Please read carefully the
following points in order to make a good use of the printer.
SAFETY PRECAUTIONS
• Before using the printer, read carefully section 2-INSTALLATION.
• NEVER connect the external power supply with the wrong polarity. This could
permanently damage the 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 connect cables with different connectors from the ones mentioned in this
manual. Failing on doing so could permanently damage the printer.
• Use a power supply 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 wet TK51/IF9000 with water or any other liquid. If any liquid is spilled inside the
equipment, unplug the power cable immediately and contact the technical service.
• Make sure the printer is on a steady, securely fixed surface. If the printer falls down, it
could break or damage.
• NEVER use the printer in high humidity or in locations with high risk of fire.
• NEVER place heavy objects on top of the printer and never lean on it.
• NEVER put any object inside of the printer, as it could cause hardware damage on it,
such as short-circuit, print head breaking or general failure of the printer.
• NEVER shake the TK51/IF9000.
• NEVER disassemble or modify the hardware of the TK51/IF9000.
• NEVER try to repair the TK51/IF9000. Please contact your official distributor in case of
failure.
• 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 print without paper loaded or without the cover closed, as the thermal print head
life can be highly shortened.
• Avoid touching accessible parts with metallic 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 after printing to let
them cool down.
• NEVER touch the surfaces of the print head thermal elements or the electronic printed
circuit, as dust and dirt can stick to their surface and cause damage by electrostatic
discharge. Moreover, some electronic components can get very hot during operation.
• 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 safety reasons, unplug the printer if it is not going to be used over a long period of
time.
• Do not print continuously (without stopping) for more than 6 minutes.
5/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
In order to clean the thermal print head, proceed as indicated by the following steps:
Paper cutter
Head lever
Thermal Head
NOTES
! NEVER touch the thermal elements of the print head with your hands.
! NEVER use metallic or piercing elements to clean the print head, as they
could scratch it.
! The print head could be hot after printing. Make sure it has thoroughly
cooled down before proceeding to clean it.
! Before connecting any communication data cable, check the printer is
working properly by executing the self-test.
6/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
0 – INTRODUCTION
This manual is the printer operations’ guide and is intended for the designer’s
application. The following sections contain a detailed description of both the hardware
and the configuration software that allow obtaining the maximum benefit of the
TK51/IF9000.
7/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
1 – GENERAL SPECIFICATIONS
b) Print Head:
c) Dot density: 203 dpi x 203 dpi (dpi: dots per inch (25.4mm)).
(8 dots/mm)
8/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Number of
simultaneously
activated dots
Maximum 29,4 A
640
Rated 26,7 A
Maximum 20,6 A
448
Rated 18,7 A
Maximum 11,8 A
256
Rated 10,7 A
128 Maximum 5,9 A
Rated 5,4 A
c) Paper width:
d) Paper roll:
25 mm 150 mm
MINIMUM MAXIMUM
9/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
This big receiving buffer allows the printer working in the following way: Firstly, all data
is buffered, and afterwards the printing is performed at the maximum possible speed
without being affected by the communications time processing.
10/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
2 – INSTALLATION
There are some general considerations to take into account when installing the
TK51printer.
A wrong installation might cause many issues 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.
The TK51 is intended to be used in combination with the SEIKO CAP9000 series printer
mechanisms, and so, to result in a finished printer. This printer has been thought to be
installed in a bigger case or structure, or another kind of appropriate chassis.
• 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.
• Avoid the final user’s access to the printer outlet.
• Allow enough space and accessibility to reach the maintenance procedure points in
case it is needed. These points are:
✔ Printer Head and auto-cutter.
✔ Paper roll.
✔ Connectors.
✔ Leds and push-buttons.
Paper Roll
11/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
For these reasons, FENIX suggests the following systems as solutions to a correct
installation:
175 mm minimum
approx.
67 mm for TK51-60
87 mm for TK51-80
119 mm for TK51-112 8mm
250 mm minimum
approx.
When big paper rolls are being used, a damping system to avoid any sudden change in
the paper strain (over 0,98N) is needful, since the step motor has the smallest driving
torque when it reaches the highest speed (250 mm/s). So, the backlash of paper
feeding system can be avoided.
The following picture shows the FENIX TK51 tension roller performed.
12/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
CN1:
power supply
CN2:
Communication LTP9000 serie
interface: printer mechanisms
"Parallel Centronics,
" RS-232 or
" USB
13/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Attach power supply cable to the 3-pin micro connector. Verify power supply voltage
before making the connection.
The connector is a female 3-pin HOSIDEN type, which have the following pin-out:
24V DC nc
GND
Fig. 2.5- Power supply connector as seen from outside the TK51/IF9000.
The TK51/IF9000 requires one power source: VCC (24V DC) for driving the thermal
head and motor. The power supply must meet the following conditions:
✔ 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 capability.
✔ When designing lines and bit images, take the printing ratio and print duty into
consideration.
✔ Print quality may be poor if the printing ratio or print duty is high.
Definitions:
• Printing ratio: the number of printing dots (energizing pulses)/dot line.
• Print duty: the number of printing dots (energizing pulses)/ elements/ paper
feed amount (two steps, including non-printing area)
WARNING: Beware not to invert the polarity of power supply. This may
irremediably damage the printer.
The current demand depends on the density of the printout. A 150W power
supply covers all adverse possibility (printing ratio of 100% black at any
temperature). However, if the average print ratio is not over 25%, a 60W power
supply can be used. Anyway, power supply must meet the peaks current that
mechanism requires, which are determined by the following formula:
14/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Rshunt=0,02 Ω
Input current
Vi=12V
Ipeak = 5,1A (5ms)
Ipeak = 3,9A
Istandby = 0,38A
I(motor) = 0,5 A
(feed paper without printing)
1 dot line
2 dot lines
15/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
The IF9000 arranges a terminal to connect the system EARTH to printer GND signal.
Between both terminals, there is a filter circuit implemented:
EARTH
R53
1M C3
GND
This RC filter avoids a current drift when the EARTH circuit is not good (there is not
EARTH connection or is defective, other noisy device in the system is injecting spurious
in the main power supply, etc).
If the installation system EARTH is very good (impedance<5 Ohm), it will be possible to
have a direct and optimum EARTH-GND connection, by shorting C3 pads (it is not
mounted by default).
NOTE The baud rate, and parity settings can be changed (refer to point 3.4.2-
PROGRAMMING MODE).
16/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
17/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
The TK51/IF9000 serial input/output signals (RXD, /RTS and TXD) can be RS232C
level or TTL level (see APPENDIX F- HOW TO ORDER).
The TK51/if9000 receives and checks serial data according to the transmission baud
rate programmed.
If the input data is not printed correctly, the transmission conditions between the host
device and the TK51/IF9000 do not probably match. If this happens, the character “?”
is continuously printed and user must adjust the transmission conditions so that they
match.
Serial data output (TXD): output pin, SUB-D9-3
• Data is output according to the programmed transmission conditions.
Serial data input (RXD): input pin, SUB-D9-2
• Data input port
• Data is input from the host device according to the programmed transmission
conditions.
Serial busy (/RTS): output pin, SUB-D9-7
• Indicates whether or not the printer is ready to receive data.
• When the /RTS signal is “LOW”, data can be input.
Data terminal ready (/DTR): output pin, SUB-D9-4
• Indicates whether the printer is ON_LINE/OFF_LINE.
• When the /DTR signal is “LOW”, the printer is ON_LINE.
•
*Any system sending data to the printer (PC, PLC, custom board, etc) is considered to
be a host system.
The compatibility mode supports compatibility with the Centronics parallel interface.
Specifications
Data transmission: 8-bit parallel
Synchronization: nSTB signal externally provided
Protocol: nACK (acknowledge) and BUSY signals
Signal levels: TTL compatible
Connector (user side): 36 pin MALE CENTRONICS (IEEE 1284 Type B).
18/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
tHold
nStrobe
tSetup tSTB
TReady tBUSY
nAck
tnBUSY
tReply tACK
tNext
Specification
Description Symbol
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 tReply 0 ∞
ACKNLG pulse width tACK 500 10µs
BUSY release time tnBUSY 0 ∞
ACK cycle idle time tNext 0 --
19/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
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 (NIBBLE MODE).
Pin D-SUB25 PC
Source Compatibility Mode Nibble Mode
Number PIN Num.
1 Host /Strobe HostClk 1
2 Host/Ptr Data0 (LSB) Data0 (LSB) 2
3 Host/Ptr Data1 Data1 3
4 Host/Ptr Data2 Data2 4
5 Host/Ptr Data3 Data3 5
6 Host/Ptr Data4 Data4 6
7 Host/Ptr Data5 Data5 7
8 Host/Ptr Data6 Data6 8
9 Host/Ptr Data7 (MSB) Data7 (MSB) 9
10 Printer /Ack PrtClk 10
11 Printer Busy PrtBusy/Data3,7 11
12 Printer PE AckDataReq/Data2,6 12
13 Printer Select Xflag/Data1,5 13
14 Host /Autofeed HostBusy 14
15 Nc Nd
16 GND GND 18-25
17 FG FG 18-25
18 Printer Logic-H Logic-H
19-30 GND GND 18-25
31 Host /Init /Init 16
32 Printer /Error /DataAvail/Data0,4 15
33 GND Nd
34 Printer DK_status Nd
35 Printer +5v Nd
36 Host /SelectIn 1284-Active 17
Nc: Not connected Nd: Not defined
20/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
NOTES
✔ 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.
✔ It is recommended to use twisted pair cables (signal/ground), with the return sides
connected to the system signal ground level.
✔ Do not ignore the nACK and BUSY signals during data transmissions. An attempt to
transmit data without nACK or BUSY control signals might cause lost data.
✔ The interface cables should have the minimum required possible length (maximum
recommended length: 2 m).
Pin 18 Pin 1
Pin 36 Pin 19
21/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Leds and buttons on the TK51/IF9000 can be installed through connector CN7. Just
follow next connections (or see in APPENDIX F):
User side
1
POWER
2 LED
PAPER
END LED
CON7 3
ERROR
4 LED
PAPER
FEED
5
PROGRAM
IF9000 side
6
Fig. 2.10- Leds and buttons connections.
22/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Moreover than the no-paper sensor provided by the CAP9000 mechanism, the
TK51/IF9000 includes two connectors to control the outside paper status. In both of
them must be connected reflective optical sensors (see next table).
Through the paper-near-end sensor (CON8) user can control how much paper remain,
and therefore, to order a new paper reload before to fully exhaust the paper roll.
The ticket pick-up sensor (CON9) informs to the system if the last ticket printed has
been picked-up, so that it can take the suitable action. The status of these sensors can
be tested by the DEL EOT command. Next picture shows an example built in the TK51
printer (see in APPENDIX-F).
CON9
CON8
1
IF9000
side 2
Housing: QH250-03H
Contact: QH250T-010
(Plastron) User side
Fig. 2.11- Paper-near-end and ticket pick-up connectors.
The optical sensor ratings must be in accordance with the following tables:
23/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
The user can adjust the near-end paper sensor position to determine what quantity of
paper (meters) wants to have from the detection. Next pictures show an approximate
reference of remainder paper, and how a nib (like a rivet) can help you to locate the
forto-sensor.
2 meters approx.
10 meters approx.
24/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
3 – BASIC OPERATIONS
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 one surface
which can be printed (thermal side). In order to know which one it is, just scratch
the paper: the thermal side will show up the track on.
NOTE
✔ 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.
25/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
1) Open the printing head and remove the paper (if there is any).
2) Keep the printing head open.
3) Place the paper roll in the right direction. The thermal paper has only a
side which SEIKO CAP9000 series can print (thermal side). If you don’t knows
which one is it, just scratch the paper: the thermal side will show up the track on.
4) Put the paper end in the mechanism inlet.
5) Push the paper in until it reaches the mechanism outlet.
6) Close the printer head.
• PFEED Button.
" PAPER FEEDING: when the TK51/IF9000 is powedred on pressing the button
will feed the paper, except for the following conditions:
a) the paper roll end sensor detects a paper end
b) the printer thermal head is opened
c) another non-recoverable error is present
" PROGRAMMING MODE: in this mode, pressing the button means “YES”.
" WHEN OPTICAL MARK IS ENABLED: the TK51/IF9000 will feed paper until
black mark (500mm max.) and will prepare the next ticket according to
GS ( F command.
• PROG Button.
" PROGRAMMING MODE: if pressed on start-up it activates this mode.
" PROGRAMMING MODE: in this mode, pressing the button means “NO”.
" If pressed when the printer is already started, the TK51/IF9000 feeds and cuts
paper, cleaning the nozzle.
PROG
button
FEED
button
26/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
NOTE
When this LED is ON indicates one of these three situations:
✔ There is no paper at the printer inlet.
✔ The thermal head is open.
✔ Both previous situations.
Besides the normal printing mode, in which all the received data are printed according
to the settings or conditions fixed by the commands, the TK51/IF9000 allows three
SPECIAL MODES which must be set at the moment of turning on the printer or via
commands.
The printer provides the self-test mode with two different functionality: showing
information of the settings of that particular printer model and verifying the printing.
To enter the self-test mode, the printer must be powered on while keeping pressing the
button. The TK51/IF9000 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 button is kept pressed; the printer 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 of validating the printing speed and quality.
27/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Printer Rolling
status pattern
28/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
1 NO
2 YES
CON7 3
4
PFEED
5
PROG
6
To enter the programming mode, turn off the printer, and keep on pressing the PROG
button when turn on the printer. Then the printer asks for the configurable parameters.
29/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Next figure shows how the printer asks for the configurable parameters:
Answers .by means of the push-buttons pressed:
" PFEED
YES
NO "PROG
" PROG
NO
NO " PROG
NO " PROG
The hexadecimal dump prints the data transmitted from the host computer as
hexadecimal numbers and their corresponding ASCII characters.
In this mode, no commands are processed. All the received data is printed as it is in
Hexadecimal mode.
This mode can be very helpful for the application developer during the setup test time,
as it allows detecting and eliminating possible errors (like 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.
30/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
To enter the hexadecimal dumping, turn off the printer, and keep on pressing both the
“PFEED” and the “PROG” buttons when turn on the printer. Then the printer first will
print the text “Hexadecimal Dump” and will print the received print data in hexadecimal
numbers and in its corresponding ASCII characters.
NOTES
✔ For any received characters under 20H,
the ASCII “.” will be printed
✔ During the hexadecimal dump, no commands
are processed.
✔ It must be taken into account that if the
number of bytes is less than the
minimum amount required to print one line
(9 in 60mm, 11 in 80mm and 16 in
112mm), the printer will not print.
It is recommended to complete the
hexadecimal dump by sending at least
16 bytes.
✔ It is also possible to enter the hexadecimal
mode through the GS (A command.
✔ User can end the hexadecimal dump by
turning the power off.
The TK51/IF9000 reports the error toward the host by both software and hardware,
depending on the communication interface used.
In the three communication interface, the status and all its possible errors, can be
monitored via software through the DEL EOT command. In this way, the application
developer can have more complete information on the printer status, therefore being
able to act accordingly.
• SERIAL PORT: When an error occurs, the DTR signal goes to active level
(logical “HIGH” level). Use the DEL EOT command to make whole information
about it.
31/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
• USB PORT: There is not a special signal to indicate error. It must consult by
means of command (DEL EOT).
When an error happens, the TK51/IF9000 visually also notifies the error type through
the error led located next to the buttons, with a different blinking timing sequence for
each of them. If no error happens the error led is switched-off. This fact allows the final
user to have a direct and visual reference of the current printer status.
NOTE
✔ “Paper near-end” and “Ticket not pick-up” are given only as informative
flags to the system application, so the TK51/IF9000 does not take any
action; really, they are not estimated as errors.
Blinking pattern
ERROR
(a = 0,5 s., b = 2 s.)
a
PAPER NEAR- Led ON
b
END
Led OFF t
Led ON
OPTICAL
MARK Led OFF
t
Led ON
HARDWARE
Led OFF
t
Led ON
CUTTER
Led OFF
t
Led ON
Power supply
VP Led OFF
t
Led ON
TEMPERATURE
Led OFF
t
a
Ticket NOT Led ON
pick-up
Led OFF 1s t
32/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
[Description] The out of paper sensor detects there is not paper on the printing
line. When the head lever is turning down the printer will also detect
it the same way.
[Recover action] This error disappears loading a new paper roll in the printer, or the
head lever is turning up (see section 3.1. LOADING PAPER).
[Note] This error stops the printing while it is not recovered.
[Description] The paper-near-end sensor does not detect the paper roll. This
error is given only as informative flag (no action is taken). So,
the user must decide what to do when this error comes, e.g. send a
message to maintenance for paper roll reload.
[Recover action] To recover from this error, user must change the paper roll.
[Description] After cutting a ticket, the printer checks the right position of the cutter
blade and will indicate an error if it has not returned to its home
position. An object (or another mechanical reason) may
be obstructing the cutter blade, making it impossible to cut the ticket.
[Recover action] Not attempt turn up the head lever, because this can damage
the cutter blade. The printer tries to automatically recover from this
error at printer initialization (turning the printer on). Remove the
external paper or objects, and try recovering the cutter blade turning
the printer on some times. If the cutter blade had been recovered,
turn up the head lever and remove the internal paper or objects. If the
cutter blade is still blocked, cutter unit must be replaced. See also
APPENDIX C for manual recovering.
33/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
[Description] The pick-up sensor detects paper in the nozzle. This error is given
only as informative flag (no action is taken). So, the user must
decide what to do when this error comes, e.g. before printing the
following ticket, the application can check out if the previous one has
been picked-up, and do not print the next until it is picked-up.
[Recover action] To recover from this error, the ticket has to be picked-up (after it has
been cutting).
[Description] The optical mark sensor does not detect/find the black mark. This
error is given when:
a) The paper does not have black mark.
b) The black mark is not in the right position.
c) The black mark does not have the right size or intensity.
[Recover action] This is a Non-recoverable error. User must turn the printer off, and
check the paper and black mark characteristics.
[Note] The maximum amount of paper feed until find the black mark is 0,5m.
34/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
BEGINNING
NO
SEND COMMAND
nDTR = 0 DEL EOT
YE
READS THE PRINTER
NO STATUS AND IDENTIFIES
THE ERROR
nRTS = 0
YE
SENDS
1 BYTE
NO
END OF
TRANSMISSION
YES
END
35/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
The TK51/IF9000 meets the IEEE-1284 standard, in the nibble mode variant.
Compatibility mode
Host system HOST
PERIPHERAL Data transfer Interface
SYSTEM. returns to END
Data transfer Forward idle compatibility
mode
PERIPHERAL
Busy,ACK,PE,/ERR
NOTES
✔ The host system can request the negotiation phase at any time, but the
TK51/IF9000 will only return a status byte if the host system has send the
DEL EOT command previously.
✔ The circles represent the IEEE1284 phases.
✔ This diagram can not be considered as the true state diagram.
✔ 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 compatibility mode will
make communication possible. In this case, the error signaling is reduced to the
information provided by the PError and nFault pins.
36/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
The TK51/IF9000 has a specific sensor for optical (black) mark detection. To make use
of this feature, the optical mark sensor must be programmed by buttons (See point
3.4.2- PROGRAMMING MODE).
The black mark must be placed in the back right side (opposed to printing side), and
must satisfy the minimum dimensions showed in the follow picture.
The back surface spectral reflectivity should be 4% and below.
The “black mark” may be replaced by a hole in the paper.
The Seiko LTP9000 series printer mechanisms have the cut, the print and the mark
sensor positions fixed. Since the black mark can be placed anywhere along the allowed
ticket area, user can fit a printing and cutting offsets for right operating sequence.
By default, the print offset and the cutting offset are set to the head position and the
cutter position, respectively (offsets=0).
22 mm
position (PP)
11mm
37/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Some points must be taken in account when using paper with black mark.
There are three commands for handling marked paper:
• GS ( F... " Set offset values. This command allows setting the distances between
the optical mark and the ticket cutting position (cut offset) and the start ticket printing
position (print offset). These distances can be executed forward or backward.
• GS FF " Feed paper until printing position. This command feeds paper until finding
next black mark. Then moves the ticket, forward or backward, placing it at the
printing position (print offset).
• GS V m n " Cut paper. This command feeds paper until finding next optical mark.
Then moves the ticket, backward or forward, placing it at the cutting position (cut
offset). Cuts, and then moves the next ticket, forward or backward, to the printing
position (print offset).
• ESC j n " Paper back feed. Auxiliary command to back feed paper when use
tickets with especial black mark configuration.
NOTES
✔ Pressing the PFEED button, when the Black Mark is enabled, performs
like GS V m n command.
✔ The maximum amount of paper feed until find the black mark is 0,5m.
✔ If the host application uses the Windows driver, can also handle the
optical mark by the available settings.
38/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
Start printing
Paper feed
Fixed positions
1-2 .- Ticket n is in the start 1 into the printer
mechanism
printing position" Prints
until finish the last line. TICKET n
TICKET n+1
Start printing
End printing
2
Start printing
End printing
39/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
4 – CONTROL COMMANDS
1) Receive buffer
The receiver buffer is a buffer that stores, as it is, the data received from the host
(the reception data). The data received is stored in the receiver buffer
temporarily, and is then processed sequentially.
2) Print buffer
The print buffer is a buffer that stores the image data to be printed.
3) Ignore
The state in which all codes, including parameters, are read in and discarded,
and nothing happens.
4) Inch
An unit of length. One inch is 25.4 mm.
5) MSB
Most Significant Bit
6) LSB
Least Significant Bit
7) Baseline
The standard position for character data stored in the print buffer.
The illustration below shows normal character positions:
40/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
LF
[Name] Print and line feed
[Format] ASCII LF
Hex 0A
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] ASCII CR
Hex 0D
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 effective only by means of programming buttons
(see point 3.4.2 PROGRAMMING MODE).
• Sets the print starting position to the beginning of the line.
[Reference] LF
DLE EOT n
[Name] Real-time status transmission
[Format] ASCII DLE EOT n
Hex 10 04 n
Decimal 16 4 n
[Range] <01>H ≤ n ≤ <04>H
[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>
( <01>H ≤ n ≤ <05>H) is received.
• The printer transmits the current status. Each status item is represented by
one byte.
• 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.
41/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
42/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC SP n
[Name] Set right-side character spacing
[Format] ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
[Range] <00>H ≤ n ≤ <FF>H
[Description] Sets the character spacing for the right side of the character to
[n x 0.125 mm (n x 0.0049”)].
[Notes]
• The right side character spacing for double-width mode is twice the normal
value.
This command is effective only when sent at the beginning of a line.
[Default]
n = <04>H
43/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC ! n
[Name] Select print mode(s)
[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
[Range] <00>H ≤ n ≤ <FF>H
[Description] Selects print mode(s) using n as follows:
[Notes]
• When both double-height and double-width modes are selected, quadruple-
size characters are printed.
• When some characters in a line are double or more height, all the characters
in the line are aligned at the baseline.
• ESC E can also select the emphasized mode. Be careful when uses both
command.
• ESC M can also select character font type. However, the setting of the last
received command is effective.
• GS ! can also select character size. However, the setting of the last received
command is effective.
• If this command is not received at the beginning of a line, and the character
font is to be changed, all previous data in the print buffer is printed and the
ticket is placed at the beginning of the next line.
[Default] n = <00>H
[Reference] ESC M, ESC E, ESC G, GS !
ESC 2
[Name] Select default line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Selects 3.75 mm (30 x 0.125 mm) line spacing.
[Reference] ESC 3.
44/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC 3 n
[Name] Set line spacing
[Format] ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n
[Range] <00>H ≤ n ≤ <FF>H
[Description] Sets the line spacing to [n x 0.125 mm].
[Default] n = <1E>H
[Reference] ESC 2
ESC @
[Name] Initialize printer
[Format] ASCII ESC @
Hex 1B 40
Decimal 27 64
[Description] Clears the data in the print buffer and resets the printer settings to the
settings that were in effect when the power was turned on.
[Notes]
• The data in the receiver buffer is not cleared.
• This command does not involve a hardware reset.
ESC J n
[Name] Print and feed paper
[Format] ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
[Range] <00>H ≤ n ≤ <FF>H
[Description] Prints the data in the print buffer and feeds the paper [n x 0.0625 mm
(0.0024”)].
[Notes]
• After printing is completed, this command sets the print starting position to the
beginning of the line.
• The paper feed amount set by this command does not affect the values set by
ESC 2 or ESC 3.
ESC j n
[Name] Back feed paper
[Format] ASCII ESC j n
Hex 1B 6A n
Decimal 27 106 n
[Range] <00>H ≤ n ≤ <FF>H
[Description] Back feeds the paper [n x 0.0625 mm (0.0024”)].
[Notes]
• This command is only effective when the optical mark sensor is enabled.
• Allows readjust the paper position when the black mark has surpassed the
black mark sensor, and it is needed back feed paper to prepare the cutting .
45/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC M n
[Name] Select character font
[Format] ASCII ESC M n
Hex 1B 4D n
Decimal 27 77 n
[Range] n = <00>H, <01>H
[Description] Selects the character font.
n Function
<00>H Character Font A (12 x 24) selected
<01>H Character Font B (8 x 16) selected
[Notes]
• ESC ! can also select character font types. However the setting of the last
received command is effective.
• This command must be sent at the beginning of a line. If it is sent in the middle
of a line, all previous data in the print buffer is printed and the ticket is placed
at the beginning of the next line.
[Reference] ESC !
ESC a n
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Description] Aligns all the data in one line to the specified position.
n selects the justification as follows:
n Justification
0, 48 Left justification
1, 49 Centering
2, 50 Right justification
[Notes]
• 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 ABC ABC
ABCD ABCD ABCD
ABCDE ABCDE ABCDE
46/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC c 5 n
[Name] Enable/disable panel buttons
[Format] ASCII ESC c 5 n
Hex 1B 63 35 n
Decimal 27 99 53 n
[Range] 0 ≤ n ≤ 255
[Description] Enables or disables the on-board buttons.
• When the LSB of n is 0, the on-board buttons are enabled.
• When the LSB of n is 1, the on-board buttons are disabled.
ESC d n
[Name] Print and feed n lines
[Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n
[Range] <00>H ≤ n ≤ <FF>H
[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 ESC 2 or ESC 3.
• The maximum paper feed amount is 1016 mm {40”}. If the paper feed amount
(n x line 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.
ESC i
[Name] Full Cut
[Format] ASCII ESC i
Hex 1B 69
Decimal 27 105
[Description] Cuts the paper fully in the current position.
[Notes]
• If this command is sent without cutter connection or the cut is not whole
make, TK51/IF9000 enter cutter error status.
• The interval between each cutting operation must be 2 seconds or more.
• When the black mark sensor is set to be effective, the printer feeds
paper to (black mark ± [(value which is set by GS ( F) x 0.125mm])
and cuts it. After cutting, it feeds paper to the position specified by the
command GS ( F. See point 3.6- OPTICAL MARK.
[Reference] GS ( F, ESC m, GS V
47/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC m
[Name] Partial Cut
[Format] ASCII ESC m
Hex 1B 6d
Decimal 27 109
[Description] Cuts the paper partially (incomplete cut in the middle of the paper) in the
current position.
[Notes]
• If this command is sent without cutter connection or the cut is not whole
make, TK51/IF9000 enter cutter error status.
• The interval between each cutting operation must be two seconds or more.
• This command performs the partial cut even when the black mark is
enabled, but any action relative to black mark is performed.
[Reference] ESC i, GS V.
ESC t n
[Name] Select character code font
[Format] ASCII ESC t n
Hex 1B 74 n
Decimal 27 116 n
[Range] <30>H ≤ n ≤ <33>H
[Description] Selects the character fonts between the internal character fonts and the
Windows loaded character fonts.
ESC E n
[Name] Turn emphasized mode on/off
[Format] ASCII ESC E n
Hex 1B 45 n
Decimal 27 69 n
[Range] 0 ≤ n ≤ 255
[Description] Turns emphasized mode on or off
When the LSB of n is 0, emphasized mode is turned off.
When the LSB of n is 1, emphasized mode is turned on.
[Notes]
• Only the least significant bit of n is enabled.
• This command and ESC ! turns on and off emphasized mode in the same
way. Be careful when this command is used with ESC !.
[Default] n=0
[Reference] ESC !, ESC G
48/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC G n
[Name] Turn on/off double-strike mode
[Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n
[Range] 0 ≤ n ≤ 255
[Description] Turns double-strike mode on or off.
When the LSB of n is 0, double-strike (emphasized) mode is turned off.
When the LSB of n is 1, double-strike (emphasized) mode is turned on.
[Notes]
Printer output is the same in double-strike mode and in emphasized mode.
[Default] n=0
[Reference] ESC E
ESC - n
[Name] Turns on/off underline mode
[Format] ASCII ESC - n
Hex 1B 2D n
Decimal 27 45 n
[Range] 0 ≤ n ≤ 255
[Description] Sets the underline mode. Only the least significant two bits are valid for n:
• n = 0 : Underline mode is turned off.
• n = 1 : Set the underline thickness to 1-dot.
• n = 2,3 : Set the underline thickness to 2-dots.
[Notes] ESC ! command can turns off the underline mode.
[Default] n=0
[Reference] ESC !
GS B n
[Name] Turn white/black reverse printing mode
[Format] ASCII GS B n
Hex 1D 42 n
Decimal 29 66 n
[Range] 0 ≤ n ≤ 255
[Description] Turns on or off white/black reverse printing mode.
When the LSB of n is 0, white/black reverse mode is turned off.
When the LSB of n is 1, white/black reverse mode is turned on.
[Notes]
• Only the lowest bit of n is valid.
• When white/black reverse printing mode is on, it also applied to character
spacing set by ESC SP.
• This command does not affect bit image, user-defined bit image, bar code
and HRI characters.
• This command does not affect the space between lines.
[Default] n=0
49/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS FF
[Name] Feed marked paper to print starting position
[Format] ASCII GS FF
Hex 1D 0C
Decimal 29 12
[Description] Feeds paper until finding the black mark. Then moves the ticket, forward
or backward, placing it at the printing position.
[Notes]
• This command is only effective when the optical mark sensor is enabled.
• This command sets the next print position to the beginning of the line.
• The maximum amount of paper feed until find the black mark is 0,5m.
[Reference] GS ( F
GS ! n
[Name] Select character size
[Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
[Range] <00>H ≤ n ≤ <77>H
[Description] Selects the character height using bits 0 to 3 and selects the character
width using bits 4 to 7, as follows:
x 2 01 11 21 31 41 51 61 71
Vertical size (HEIGHT)
x 3 02 12 22 32 42 52 62 72
x 4 03 13 23 33 43 53 63 73
x 5 04 14 24 34 44 54 64 74
x 6 05 15 25 35 45 55 65 75
x 7 06 16 26 36 46 56 66 76
x 8 07 17 27 37 47 57 67 77
[Notes]
• This command is effective for all characters, except for HRI characters.
• When characters are enlarged with different sizes on one line, all the
characters on the line are aligned at the baseline.
• The ESC ! command can also turn double-width and double-height modes on
or off. However, the setting of the last received command is effective.
[Default] n = <00>H
[Reference] ESC !, APPENDIX A- CHARACTER CODE TABLES
50/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS ( A pL pH n m
[Name] Execute test print
[Format] ASCII GS ( A pL pH n m
Hex 1D 28 41 pL pH n m
Decimal 29 40 65 pL pH n m
[Range] (pL + (pH x 256)) = 2 (where pL = <02>H, pH = <00>H)
<30>H ≤ n ≤ <32>H
<31>H ≤ m ≤ <33>H
[Description]
• Executes a test print with a specified test pattern on a specified paper.
• pL, ph specifies (pL+(phx256)) for the number of the bytes after ph (n and
m).
• n specifies the paper to be tested.
n Paper
<30>H Paper roll
<31>H
<32>H
m Test pattern
<31>H Hexadecimal dump
<32>H Printer status print
<33>H Rolling 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.
• The printer cuts the paper at the end of the test print.
51/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS ( F pL pH a m nL nH
[Name] Set print/cut offsets related to black mark
[Format] ASCII GS ( F pL pH a m nL nH
Hex 1D 28 46 04 00 a m nL nH
[Range] pL = <04>H, pH = <00>H (fixed)
<01>H ≤ a ≤ <02>H
m = <00>H,<01>H
0 ≤ (nL + nH x 256) ≤ 65535
(where <00>H ≤ nL ≤ <FF>H, <00>H ≤ nH ≤ <FF>H)
[Description] This command is only effective when the optical mark sensor is enabled.
Set adjustment value(s) for the printer operations specified by a.
a Function
<01>H Offset for the printing start position
<02>H Offset for the cutting position
m Function
<00>H Specifies forward paper feeding direction
<01>H Specifies backward paper feeding direction
• nL and nH specifies the setting value to [(nH x 256 + nL) x 0.125 mm].
For instance, nHnL = <0001>H = 0,125 mm
[Notes]
• The offset for the cutting position is always referenced to black
mark. The offset for the printing start position is referenced to
cutting position.
• Take into account the fixed distances between
optical sensor##"printing line# #"cutting line in the Seiko
LTP9000 mechanisms (see point 3.6- OPTICAL MARK).
• This parameters are saved in non-volatile memory.
[Default] For a=1 " m=0 and nHnL=0; For a=2 " m=0 and nHnL=0.
[Reference] GS FF, GS V, ESC i, ESC m
52/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS E n
[Name] Select the printing speed.
[Format] ASCII GS E n
Hex 1D 45 n
[Range] n = <00>H, <10>H, <20>H, <30>H
[Description] Selects the printing speed.
n Printing speed
<00>H 250 mm/s (max)
<10>H 200 mm/s (max)
<20>H 150 mm/s (max)
<30>H 100 mm/s (max)
[Notes] This command can be used when the power supply does not give
the current request (less speed" less average current), or when an
accurate outline quality is desirable (less speed " best outline
quality).
[Default] n = <00>H
GS H n
[Name] Select print position for HRI characters.
[Format] ASCII GS H n
Hex 1D 48 n
Decimal 29 72 n
[Range] n = <00>H to n = <03>H
[Description] Selects the print position of HRI characters when printing a bar code.
n selects the print position as follows:
n Printing position
<00>H Not printed
<01>H Above the bar code
<02>H Below the bar code
<03>H Both 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 GS f.
[Default] n = <02>H
[Reference] GS f, GS k
53/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS L nL nH
[Name] Set left margin
[Format] ASCII GS L nL nH
Hex 1D 4C nL nH
Decimal 29 76 nL nH
[Range] <00>H ≤ nL ≤ <FF>H
<00>H ≤ nH ≤ <FF>H
[Description]
• Sets the left margin using nL and nH.
• The left margin is set to [(nL + nH x 256) x 0.125 mm].
Printable area
Left margin
[Notes]
• This command is effective only when processed at the beginning of the
line.
• This commands affects text, graphic and bar code printing.
[Default] nL = nH = <00>H
[Reference] APPENDIX A- CHARACTER CODE TABLES
GS T n
[Name] Set print position to the beginning of print line
[Format] ASCII GS T n
Hex 1D 54 n
Decimal 29 84 n
[Range] n = <00>H or n = <01>H
[Description]
Sets the print position to the beginning of print line.
• n specifies the data processing in the print buffer.
n Printing position
<00>H Sets the print position to the beginning of print line after deleting all
data in the print buffer.
<01>H Sets the print position to the beginning of print line after printing all data
in the print buffer.
54/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
1) GS V m 2) GS V m n
[Name] Select cut distance and cut paper
[Format] 1) ASCII GS V m
Hex 1D 56 m
Decimal 29 86 m
2) ASCII GS V m n
Hex 1D 56 m n
Decimal 29 86 m n
[Range] 1) m = <01>H
2) m = <42>H; 0 ≤ n ≤ 255
[Description] Selects a distance for cutting paper and executes a full cut. The value of
m selects the distance as follows:
m Cutting distance
<01>H Cuts the paper in the current position.
<42>H Feeds paper (“cutting-D” + [n x 0,0625mm]), and cuts the paper.
55/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS f n
[Name] Select font for Human Readable Interpretation (HRI) characters
[Format] ASCII GS f n
Hex 1D 66 n
Decimal 29 102 n
[Range] n = <00>H or <01>H
[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>H Font A (12x24)
<01>H Font B (8x16)
[Notes]
• HRI indicates Human Readable Interpretation.
• HRI characters are printed at the position specified by GS H.
• HRI characters are always printed at X-Scale = 1 and Y-Scale = 1
[Default] n = <01>H
[Reference] GS H, GS k
GS h n
[Name] Select bar code height
[Format] ASCII GS h n
Hex 1D 68 n
Decimal 29 104 n
[Range] <01>H ≤ n ≤ <FF>H
[Description]
Selects the height of the bar code.
n specifies the number of dots in the vertical direction (n x 0.125mm).
[Default] n = <A2>H (162 dots#"20,25mm)
[Reference] GS k
56/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS k m n d1...dn
[Name] Print bar code
[Format] ASCII GS k m n d1...dn
Hex 1D 6B m n d1...dn
Decimal 29 107 m n d1...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:
57/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
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 stop 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 stop 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
58/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS v 0 m xL xH yL yH d1 ... dk
[Name] Print raster bit image
[Format] ASCII GS v 0 m xL xH yL yH d1...dk
Hex 1D 76 30 m xL xH yL yH d1...dk
Decimal 29 118 48 m xL xH yL yH d1...dk
[Range] <00>H ≤ m ≤ <03>H
<00>H ≤ xL ≤ <FF>H
<00>H ≤ xH ≤ <FF>H where 1 ≤ (xL + xH x 256) ≤ 128
<00>H ≤ yL ≤ <FF>H
<00>H ≤ yH ≤ <08>H where 1 ≤ (yL + yH x 256) ≤ 4095
<00>H ≤ d ≤ <FF>H
k = (xL + xH x 256) x (yL + yH x 256) (k ≠ 0)
[Description] Selects raster bit-image mode. The value of m selects the mode, as
follows:
59/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS w n
[Name] Set bar code width
[Format] ASCII GS w n
Hex 1D 77 n
Decimal 29 119 n
[Range] <02>H ≤ n ≤ <06>H
[Description] Sets the horizontal size of the bar code.
n specifies the bar code width as follows:
[Default] n = <03>H
[Reference] GS k
60/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
FS p n m
[Name] Print NV bit image
[Format] ASCII FS p n m
Hex 1C 70 n m
Decimal 28 112 n m
[Range] n = <01>H
<30>H ≤ m ≤ <33>H
[Description]Prints a NV bit image n using the mode specified by m.
Vertical Horizontal
m Mode Dot Dot
Density Density
<30>H Normal 203.2 dpi 203.2 dpi
<31>H Double-width 203.2 dpi 101.6 dpi
<32>H Double-height 101.6 dpi 203.2 dpi
<33>H Quadruple 101.6 dpi 101.6 dpi
[dpi: dots per 25.4 mm]
[Reference] FS q, GS v 0
61/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
[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 FS q and printed by FS p.
• 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 xL, xH, yL, yH, the printer processes xL, xH, yL, yH out of the
defined range.
• The d indicates the definition data. In data (d) a 1 bit specifies a dot to
be printed and 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 printing. Printing of the NV bit image is performed by the FS p
command.
[Reference] FS p
62/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
FS DC2 ESC
[Name] Serial number transmission
[Format] ASCII FS DC2 ESC
Hex 1C 12 1B
Decimal 28 18 27
[Description] Transmits the interface exclusive serial number. This number consists of
12 hexadecimal digits (6 bytes). Transmission order is from least
to most significant byte.
Example: Serial number = 12D4AC78F38E
GS I n
[Name] Firmware version transmission
[Format] ASCII GS I n
Hex 1D 49 n
Decimal 29 73 n
[Range] n = <33>H
[Description] Transmits the firmware version number.
63/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC V n
[Name] Character rotation
[Format] ASCII ESC V n
Hex 1B 56 n
Decimal 27 86 n
[Range] <30>H ≤ n ≤ <32>H
[Description] Rotes the characters using the mode specified by n.
n Function
<30>H Normal
<31>H Right 90º rotated
<32>H Left 90º rotated
Normal mode Right 90º rotation mode Left 90º rotation mode
(default)
In both left and right 90º rotated modes, the characters lines transmission
order changes from the normal mode, because can be printing several lines at
once.
Example for right 90º ratation mode: Paper feed direction
[Default] n = <30>H
[Reference] GS !
64/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
ESC { n
[Name] Inverse printing mode
[Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n
[Range] n = <30>H , n = <31>H
[Description] Turns inverse printing mode on/off.
n Function
<30>H Inverse printing mode off
<31>H Inverse printing mode on
Paper feed
direction
Inverse printing Inverse printing
mode OFF mode ON
[Notes]
• Each character is printed upside down (180º rotating) and the
sequence of characters is printed backwards as well. The character
sent fist is printed al the right margin and subsequent characters are
printed from right to left. The characters lines transmission order
changes from the normal mode, because the first line is sent to the
printer must be the last to appear on the ticket, and the last line is sent
must be the first to appear on the ticket.
• When inverse mode is setting, the rotated mode (90º) is disabled.
• This command is enabled only when processed at the beginning of a
line.
[Default] n = <30>H
65/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
GS a n
[Name] Automatic status report
[Format] ASCII GS a n
Hex 1D 61 n
Decimal 29 97 n
[Range] n = <30>H , n = <31>H
[Description] Enable/disable automatic status report.
n Function
<30>H Disabled automatic status report
<31>H Enabled automatic status report
• When enabling the automatic status report, the printer remains in this state
indefinitely, until it becomes disabling, or until switch the power off.
• After enabling the automatic status report, the printer returns the 5 states
mentioned in the command DLE EOT n, every 0.5 seconds in the following
order:
[Default] n = <30>H
[Reference] DEL EOT
66/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
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 image handle software like
Word, Paint, PhotoShop, etc. the user can load 1 logo, selecting in “Device
operation” (TK51 Windows driver) the correct option.
We suggest adjusting the logo selecting “Driver mode” option until get the size,
the layout and the arrangement desired. Afterwards, the user just have to reprint
with the option “Load Logo” selected, and the logo will be stored same way that
last printing.
67/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
______________________________________________________
APPENDIX A – CHARACTER CODE TABLE
______________________________________________________
The TK51/IF9000 has built in the following full character code table, in both
font A(12x24) and font B(8x16) formats:
68/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
___________________________________________________________________
APPENDIX B – WINDOWS CHARACTER FONT LOADER
SOFTWARE
___________________________________________________________________
- Allows the user to load directly into the printer's non-volatile memory any TrueType font installed
under Windows Operating System in order to be used by the printer in command mode (with no need
of the driver).
- The user has the possibility of changing the height and width of the whole character set or any
individual character as well as its vertical and horizontal offset (position inside each character cell).
- The program permits to insert any special character (up to 144) into the character set.
- Bold ant Italic character modes are supported.
- The edited font can be saved and loaded into printer with a particular name that will be printed on the
selftest page.
- Load up to two additional character tables.
- Allows to test easily any loaded font with its different modifiers as char and line spacing, X and Y
scale, etc.
- During execution, user can change the character code table by the ESC t n command.
69/82
FENIX IMVICO TK51/IF9000 OPERATION MANUAL
____________________________________________________________________
APPENDIX C – RECOVERY FROM AUTOCUTTER ERROR
____________________________________________________________________
• If an object, such as a push pin or paper clip, drops in the autocutter and causes the
autocutter to lock up, the printer will enter error state.
If it is not a critical problem, the autocutter will return automatically to its home
position.
If the autocutter can not return to its home position by itself, turn the printer off. Insert
a Phillips screwdriver through the slot as shown in figure C.1 and into the screw in
the worm gear of the motor axis. Then, turn the screw until blade retreats.
• If you cannot rotate the motor gear, rotate it in the reverse direction to loosen it; then
press the paper feed button. Open the platen unit (see figure a), remove the jammed
paper, and reinstall the paper roll. Then close the platen unit.
Insert Phillips
screwdriver and
turn it till blade
retreats
70/82
__________________________________________________________________
APPENDIX D – EXTERNAL APPEARANCE
____________________________________________________________________
• IF9000 INTERFACE
Maximum height: 20 mm
FENIX IMVICO TK51 OPERATION MANUAL
• TK51 PRINTER
73/82
APPENDIX E – SPECIFICATIONS
74/82
FENIX IMVICO TK51 OPERATION MANUAL
TK51/IF9000 – X-X-X
PARTNUMBER Description
FAPOS-1 Power supply close frame (jack-2 Terminals)
FAPOS-1/1 Power supply close frame (4 terminals)
FA-40TK Power supply open frame
RS232-5 Serial cable 1,5m
CENTRONIC Centronic cable 1,5m
Standard 110 mm diameter paper roll for 60mm (xx=60), 80mm (xx=80),
TxxX110X25 82mm (xx=82) or 112mm (xx=12)
Standard 150 mm diameter paper roll for 60mm (xx=60), 80mm (xx=80),
TxxX150X25 82mm (xx=82) or 112mm (xx=12)
Fotocélula IF9000 paper near-end photo-sensor
IFPULSA500 TK51 led and push buttons
Fotocélula
IFPULSA500
FAPOS-1
75/76
FENIX IMVICO TK51 OPERATION MANUAL
__________________________________________________________________
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:
• Code set C: 2-digit numeral characters using one character (100 numerals from 00
to 99)
- SHIFT characters
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.
The usage of function characters depends on the application software. In code set
C, only FNC1 is available.
76/76
FENIX IMVICO TK51 OPERATION MANUAL
77/76
FENIX IMVICO TK51 OPERATION MANUAL
78/76
FENIX IMVICO TK51 OPERATION MANUAL
79/76
FENIX IMVICO TK51 OPERATION MANUAL
___________________________________________________________________
APPENDIX H – TESTING SOFTWARE
____________________________________________________________________
The TK15/TS1600 printer is delivered together with a Windows-based, testing program. This program is
an easy way to explore the TK15/TS1600’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.
PRINTER BEING
TESTED
80/76
FENIX IMVICO TK51 OPERATION MANUAL
There are three main sections which are Printer Configuration, Sample Ticket and Printer Status.
PRINTER CONFIGURATION
In this section we can set all the configuration parameters related to the printer settings as
communication setup and paper width.
SAMPLE TICKET
• Text to print: Write here any character string (up to 50 characters) to be printed on the ticket.
• Character size: By X-Scale and Y-Scale it is possible to change the width and height of the
character (from 1 to 8, 1-Normal, 2-Double, etc.)
• Line and Char Spacing: Each unit means an increment of 0.0625 mm of either character or line
space.
• Left Margin: Each unit means an increment of 0.125 mm of margin of the left hand side.
• Number of lines: By setting this the program will repeat the text sample line as many times as
specified.
• Char Type: Allows you to swap between font sizes A and B and also between the two different
character tables.
• “B” and “N”: Standing for Bold and Negative.
• Barcode: It will print the code written as a barcode of any of the four types supported.
• Graphic: It prints the graphic selected.
• Logo: It allows loading or erasing a logo into printer memory as well as printing it. When a logo is
being load, the graphic options will be disabled.
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.
BUTTONS
• Save settings Button: By clicking this button the configuration parameters set will be load into
printer memory.
• Restore Default Button: This button will restore the default configuration parameters (Port:
COM1, Baud Rate: 9600, etc.)
• Print Button: Prints a customized ticket according to the properties set.
• Selftest Button: Prints a Selftest ticket.
• Check Status: Launches the status checking. After a while the status LEDs will light up to show
if any problem has been detected.
81/76
FENIX IMVICO TK51 OPERATION MANUAL
82/76