
BTP-M300 Programming Manual
- 34 -
fn
Command format
S/N
Functions
0, 48
GS ( C pL pH m fn b c1 c2
0
Delete data record specified by c1 and
c2
1, 49
GS ( C pL pH m fn b c1 c2
[d1...dk]
1
Store data in the specified record
2, 50
GS ( C pL pH m fn b c1 c2
2
Query the specified data record
3, 51
GS ( C pL pH m fn b
3
Query the used user data space
4, 52
GS ( C pL pH m fn b
4
Query the remaining user data space
5, 53
GS ( C pL pH m fn b
5
Query data record list
6, 54
GS ( C pL pH m fn b d1 d2 d3
6
Delete stored data of all users
• Frequent command execution may cause damage to NV memory. Therefore, it is
recommended to write the NV memory 10 times or less a day.
• During the processing of this command, the printer is in busy status. Because the data
now is being inputted into NV memory at that moment, the printer stops receiving other
commands. Hence during this command operation, other commands (including real-time
commands) are not allowed to be sent to the printer.
• When function 2, 3, 4, 5 is executed, data cannot be transmitted until the returned status
is received.
(Function 0)GS ( C pL pH m fn b c1 c2 (fn = 0, 48)
[Function]
Delete data record specified by c1 and c2.
[Format]
ASCII GS ( C pL pH m fn b c1 c2
Hex 1D 28 43 pL pH m fn b c1 c2
Decimal 29 40 67 pL pH m fn b c1 c2
[Range]
(pL + pH × 256) = 5 (pL = 5, pH = 0)
m = 0
fn = 0, 48
b = 0
32
≤
c1
≤
126
32
≤
c2
≤
126
(Function 1)GS ( C pL pH m fn b c1 c2 d1...dk (fn = 1, 49)
[Function]
Store the user-defined data.
[Format]
ASCII
GS ( C pL pH m fn b c1 c2 d1…dk
Hex
1D 28 43 pL pH m fn b c1 c2 d1…dk
Decimal 29 40 67 pL pH m fn b c1 c2 d1…dk
[Range]
6
≤
(
pL + pH × 256)
≤
65535 (0
≤
pL
≤
255, 0
≤
pH
≤
255)
m = 0
fn = 1, 49
b = 0
32
≤
c1
≤
126
32
≤
c2
≤
126
Содержание BTP-M300
Страница 1: ...Programming Manual Receipt Printer BTP M300 Shandong New Beiyang Information Technology Co Ltd ...
Страница 2: ......
Страница 8: ......