Chapter
3
Configuring The KSSM Emulation With Control Codes
Define Pattern for Special Printing Effect
ASCII Code ESC ( X n
Hex Code
Dec Code
Purpose
Comment
Define User-Defined Character
ASCII Code ASSC
Hex Code
Dec Code
Purpose
Comment
40
n
a
a
1
2
1
2
1B 28 58 n
n
a
a
1
2
1
2
27 40 88 n
n
a
a
1
2
1
2
Defines the pattern to be used in background or to fill up
outlined characters.
a
:
0 – To be filled as background
1
1 – To be used as fill pattern to fill outlined characters
a
:
0 – Black on white, normal
2
1 – White on black
2 – Dotted
a
:
Treat different colours as all black
3
Where:
n
= 3
1
n
= 0
2
a
= 0, 1
1
0 <= a
<= 2
2
0 <= a
<= 6
3
This command covers interline spacing for our printer in both
DBCS and SBCS modes.
0
2
a1 a2 d1...d144
ASSC
30 32
a1 a2 d1...d144
ASSC
48 50
a1 a2 d1...d144
Sets the ASCII format data for a user-friendly character. The
user-defined characters can be printed by sending a1 a2 to the
printer.
Where:
a1 = high byte code point
a2 = low byte code point
d1...d144 = 144 bytes ASCII format data
This command takes effect only in DBCS mode.
a
3
a
3
a
3