Citizen Systems CT-S2000 Printer User Manual


 
- 112 -
2.2.13 Commands for Non-volatile Memory
GS ( C pL pH m fn b [c1 c2][d1...dk]
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310
support model
PMU2XXX
[Function] Editing user NV memory
[Outline] [The specification which is common to the model]
• 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.
Sends capacity of use
3,51 GS ( C pL pH m fn b Function3
(number of bytes).
Sends remaining capacity
4,52 GS ( C pL pH m fn b Function4
(number of bytes).
Sends key code list of stored
5,53 GS ( C pL pH m fn b Function5
record.
Erases all areas of user NV
6,54 GS ( C pL pH m fn b d1 d2 d3 Function6
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 192K 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.