Command tables – Bematech KC-4112 Rev.1.1 User Manual
Page 22

User’s Manual
22
Chapter 8
Command tables
Command tables
Command tables
Command tables
Command tables
Operation
ASCII
Dec
Hex
Description
ESC @
64
40
Initializes the kiosk printer.
ESC b n
98
62
Disable PNE status (n=1) or reflect the PNE status in the PE signal (n=0).
ESC L
76
4C
The PE signal reflects if the paper is in the presenter or not. Each time this
command is received the printer will switch the PE status from the near-
end paper sensor to the presenter sensor.
ESC M
77
4D
The PE signal reflects the near end paper sensor.
ESC w
119
77
Performs a paper cut.
ESC y n
121
79
Turns the front panel keys on (1) or off (0).
ESC m
109
6D
Performs a partial cut if the printer does not have a presenter installed.
ESC p n
112
70
Enable (n=1) or disable (n=0) the retractable function.
ESC s n
115
73
Programs the retractable function time in seconds.
ESC x
120
78
Enable Dump Mode.
ESC z 1/0
122
7A
Enable automatic line feed (n=1).
ESC i
105
69
Performs a paper cut.
Vertical positioning
ASCII
Dec
Hex
Description
ESC C n
67
43
Programs the page size in lines where n is the number of lines (single height).
The standard is 12 lines (of single height).
ESC c n1 n2
99
63
Programs the page size in millimeters where Size=0,125 mm*n1*n2.
ESC J n
74
4A
Performs the feeding of n*0,125 mm of paper.
FF
12
0C
Feeds one page.
LF
10
0A
Feeds one line.
ESC 2
50
32
Line feed of 1/6” – default line feed.
ESC 3 n
51
33
Line feed of n/144 of an inch, where n goes from 16(d) up to 255(d).
ESC f 1 n
102
66
Vertical skipping of n characters.
ESC A n
65
41
Performs the feeding of n*0,375 mm of paper.
Horizontal positioning
ASCII
Dec
Hex
Description
ESC f 0 n
102
66
Horizontal skipping of n characters.
ESC Q n
81
51
Program right margin to column n.
ESC I n
108
6c
Program left margin to column n.
ESC a n
97
61
Aligning the characters. Centering if n=1 or left end alignment if n=0.