Bematech KC-4112 Rev.1.1 User Manual
Page 23

KC-4112 . Revision 1.1
23
Character types
ASCII
Dec
Hex
Description
ESC - n
45
2D
Underlined mode on (n=1) or off (n=0).
ESC 4
52
34
Italic mode on.
ESC 5
53
35
Italic mode off.
ESC E
69
45
Emphasized mode on.
ESC F
70
46
Emphasized mode off.
ESC t n
116
74
Selects code page: n=2 for CODEPAGE 850 and n=3 for CODEPAGE 437.
Default=CODEPAGE 850.
ESC S n
83
53
n=0 (enable superscript characters)
n=1 (enable subscript characters)
ESC T
84
54
Disable superscript and subscript modes
ESC ! n
33
21
Select print mode
Print width, character width and height
ASCII
Dec
Hex
Description
DC2
18
12
Condensed mode (92 columns) off.
DC4
20
14
One-line expanded mode off.
ESC d n
100
64
Double height on (n=1) or off (n=0).
ESC H
72
48
69-column mode on (default).
ESC P
80
50
69-column mode on (default).
ESC SI
15
0F
Condensed mode (92 columns) on.
ESC SO
14
0E
One-line expanded mode on.
ESC V
86
56
One-line double height on.
ESC W n
87
57
Expanded mode on (n=1) or off (n=0).
SI
15
0F
Condensed mode (92 columns) on.
SO
14
0E
One-line expanded mode on.
Bit images and graphics
ASCII
Dec
Hex
Description
ESC $ n1 n2
36
24
Fill in blank bit columns, from the actual column until column number
(n1+n2*256), where n1+n2*256
≤
832.
42 33
2A 21
24-bit graphics. Programs bit image for 24 bits, in double density where
n1+n2*256 is the number of bit-columns that will be sent (see below)
and b1...bn are the bytes that compose the bit image. For each column
one may need 3 bytes to complete. So, if you need to send an image with
an 8-column width you may send 24 bytes to fill those columns. A full
line has 832 bit columns so a full line will need 832*3 = 2496 bytes.
75
4B
8-bit graphics. Selects the “8 pin” bit image (compatible with matrix
printers) where you use n1+n2*256 columns, with 1 byte per column
thus using a lower resolution and up to 832 columns.
ESC * ! n1
n2 b1...bn
ESC K n1
n2 b1...bn