
BTP-M300 Programming Manual
- 38 -
Decimal 29 40 69 pL pH
fn d1 d2 d3
[Range]
(pL + pH × 256) = 4 (
pL = 4 , pH = 0)
fn = 2
d1 = 79
d2 = 85
d3 = 84
[Notes]
• Clear receive buffer and print buffer.
• Printer executes initialization operation.
(Function 3)GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1] (fn = 3)
[Function]
Change the settings of memory switch through the value of b.
[Format]
ASCII GS ( E pL pH fn [a1 b18 … b11] … [ak bk8 … bk1]
Hex 1D 28 45 pL pH fn [a1 b18 … b11] … [ak bk8 … bk1]
Decimal 29 40 69 pL pH fn [a1 b18 … b11] … [ak bk8 … bk1]
[Range]
10
≤
(pL + pH × 256)
≤
65530 (0
≤
pL
≤
255, 0
≤
pH
≤
255)
fn = 3
a = 2,8
b = 48, 49, 50
[Default]
All switches are set to off (b = 48)
[Notes]
•
Change the settings of memory switch through the value of b.
• b = 48, the corresponding bit is off.
• b = 49, the corresponding bit is on.
• b = 50, the corresponding bit does not change.
• a = 2 (Memory switch 2)
Status byte
Function
Value
2-1,2-2 Undefined
50
Simplified Chinese character set mode: GB18030
48
2-3
Simplified Chinese character set mode:GB2312
49
2-4 ~ 2-8
Undefined
50
• a = 8 (Memory switch 8)
Status byte
Function
Value
8-1 ~ 8-4
Undefined
50
When top cover is open, printer returns paper end error.
48
8-5
When top cover is open, printer returns cover open error.
49
8-6,8-7 Undefined
48
The error of opening top cover is auto-recovery error.
48
8-8
The error of opening top cover is unrecoverable error.
49
(Function 4)GS ( E pL pH fn a (fn = 4)
[Function]
Query the status of memory switch via a.
[Format]
ASCII GS ( E pL pH fn a
Hex 1D 28 45 pL pH fn a
Decimal 29 40 69 pL pH fn a
Содержание BTP-M300
Страница 1: ...Programming Manual Receipt Printer BTP M300 Shandong New Beiyang Information Technology Co Ltd ...
Страница 2: ......
Страница 8: ......