- 82 -
2.2.12 Commands for Non-volatile Memory
GS ( C pL pH m fn b [c1 c2] [d1...dk]
[Function]
Editing user NV memory
[Outline]
• Erases/stores/sends data of user NV memory area and sends the use
amount/remaining capacity.
• Executes edit processing of user NV memory specified by function code (fn).
fn Code
No.
Function
.
0,48
GS ( C pL pH m fn b c1 c2
Function 0
Erases specified record.
1,49
GS ( C pL pH m fn b c1 c2
d1…dk
Function 1
Stores data in specified record.
2,50
GS ( C pL pH m fn b c1 c2
Function 2
Sends data stored in specified
record.
3,51
GS ( C pL pH m fn b
Function 3
Sends capacity of use (number
of bytes).
4,52
GS ( C pL pH m fn b
Function 4
Sends remaining capacity
(number of bytes).
5,53
GS ( C pL pH m fn b
Function 5
Sends key code list of stored
record.
6,54
GS ( C pL pH m fn b d1 d2
d3
Function 6
Erases all areas of user NV
memory in a lump.
• pL, PH specifies the number of bytes of “m” and the following to (pL+pH×256).
• c1, c2 specifies key code (ID code of record).
• Total capacity of user NV memory can be specified as any of [1K, 64K, 128K, 192K]
bytes by GS ( E. Default value is 1K byte.
[Caution]
• Frequent use of this command may result in damage of NV memory. Use the Write
command to NV memory in consideration of [10 times max./day].
• Following the processing of this command, printer Busy may occur during writing data
in NV memory. While the printer is Busy, it stops receiving process. Therefore, data
transmission (including real-time command) from host is prohibited.