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