- 83 -
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
Function
No..
Function
0,48 GS ( C pL pH m fn b c1 c2 Function0 Erases specified record.
1,49
GS ( C pL pH m fn b c1 c2
d1…dk
Function1 Stores data in specified record.
2,50 GS ( C pL pH m fn b c1 c2 Function2
Sends data stored in specified
record.
3,51 GS ( C pL pH m fn b Function3
Sends capacity of use
(number of bytes).
4,52 GS ( C pL pH m fn b Function4
Sends remaining capacity
(number of bytes).
5,53 GS ( C pL pH m fn b Function5
Sends key code list of stored
record.
6,54 GS ( C pL pH m fn b d1 d2 d3 Function6
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 x 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.