BTP-M300 Programming Manual
- 35 -
32
≤
d
≤
254
k = (pL + pH
256)
– 5
Total capacity = 8KB
[Notes]
• Data (d1……dk), as the record data of key code (c1, c2), is stored in user NV memory.
[d1…dk] specifies the stored data (record content).
• If the number of data ((pL + pH × 256) – 5) exceeds the reserved capacity of user NV
memory, this command will be ineffective.
(Function 2)GS ( C pL pH m fn b c1 c2 (fn = 2, 50)
[Function]
Query the data record specified by key code (c1,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 = 2, 50
b = 0
32
≤
c1
≤
126
32
≤
c2
≤
126
[Notes]
• Return data not more than 64 bytes; Ethernet interface does not return data.
(Function 3)GS ( C pL pH m fn b (fn = 3, 51)
[Function]
Query the user data space that has been used.
[Format]
ASCII GS ( C pL pH m fn b
Hex 1D 28 43 pL pH m fn b
Decimal
29 40 67 pL pH m fn b
[Range]
(pL + pH × 256) = 3 (
pL = 3, pH = 0)
m = 0
fn = 3, 51
b = 0
[Notes]
• This command is valid for serial, parallel, and USB interface printer.
(Function 4)GS ( C pL pH m fn b (fn = 4, 52)
[Function]
Query the remaining user data space.
[Format]
ASCII
GS ( C pL pH m fn b
Hex
1D 28 43 pL pH m fn b
Decimal 29 40 67 pL pH m fn b
[Range]
(pL + pH × 256) = 3 (
pL = 3, pH = 0)
m = 0
fn = 4, 52
b = 0
[Notes]
• This command is valid for serial, parallel, and USB interface printer.