TS1700/TK18 PRINTERS OPERATION MANUAL
5.8.2- Hexadecimal dump mode
To enter the hexadecimal mode, proceed in the same way as in the continuous self-test, but
keeping pressing the button until printing "
Enter in hexadecimal
mode?...
".
Then continue with the button pressing for four seconds
until the text "
~~~ HEXADECIMA MODE ~~~
" has been
printed.
This mode can be very helpful for the application developer during the setup test time, as it allows
detecting 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.
Turn off the printer to quit the hexadecimal mode.
NOTES:
(1) For any received characters under 20h, the ASCII
‘.’ will not be printed.
(2) During the hexadecimal dump mode, the
DEL EOT
command does not work.
(3) It must be taken into account that if the number of
bytes is less than the minimum amount required to
print one line (9 bytes), the printer will not print. It is
recommended to complete the hexadecimal dump
by sending at least 9 bytes (for example 00h).
(4) It is also possible to enter the hexadecimal mode
through the
GS (A
command.
Fig.5.7.
HEXADECIMAL DUMP mode example.
5.9. E
RROR PROCESSING
When an error occurs, the printer visually notifies its type through the LED. This fact allows the
final user to have a direct and visual reference of the current printer status.
On the other hand, the printer status and all its possible errors can also be monitored via software
through the “DEL EOT n” command or activating the automatic status reporting “GS a n” command. In
this way, the application developer can have more complete information on the printer status, therefore
being able to act accordingly.
FENIX
recommends that developers include in their applications a flow chart like the one shown
below, to have monitored the printer.
23/62
1B 21 00 1B 330A 1B 2004
. ! . .3. . . .
1B 61 01 1B 4500 1D 4200
a. . E. .B. .
1B 2D00 1B 56300A 1D 21
-. .V0. . !U
55544553540A 1D 21 00
UTEST. . !.
1B 61 30 1B 33 01 1B 20 01
. a0.3. . . .
1B 4D00 1B 7400 1D 4C00
M. .t. . L. .
00 1B 4500 1D 4200 1B 2D
. E. .B . .-.
00 1B 56300A546578 74
.V0 .Text .
0A2D2D2D2D0A4645 4E
- - - - . FE
49582070 72696E 7465
NIX print
722073 61 6D706C6520
er sample
7469636B65740A0A0A
ticket . . .
0A0A0A 1B 6D
. . . . m
Enter hexadecimal mode?...