KS55 SERIES OPERATION MANUAL
5.5.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.5.
HEXADECIMAL DUMP mode example.
5.6 - BLACK MARK SENSOR
The KS55 interface has a specific sensor for optical (black) mark detection.
In order to be able of using this feature, the optical mark sensor must be enabled by programming
command (See command
DC3 ESC FS GS
).
The command that sets black mark offsets (
GS ( G
) require two parameters that must be
measured physically on the ticket: ticket length which is the distance between two consecutive cutting
lines, and distance from black mark to next cutting line. This parameters will be saved into non-volatile
memory.
This command takes into account the distance from the black mark sensor and the cutter blade
which is fixed in a particular assembly. For this reason, this distance must be kept if a different
implementation is taken.
19 of 66
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?...