Confidential
EPSON
TITLE
SHEET
REVISION
NO.
SHEET
NEXT
TM-U220A
Specification
(For Argentina Fiscal)
61
62
A
GS ( C
p
L
p
H
m fn b [c1 c2] [d1...dk]
[Name]
Edit NV user memory
[Description]
•
Edits data in the NV user memory.
•
p
L
,
p
H
specify (
p
L
+
p
H
×
256) as the number of bytes after
p
H
(
m, fn, b, [c1 c2],
and
[d1...dk]
).
•
fn
specifies the function.
•
c1
,
c2
specify the key code (that identifies the record).
•
[d1...dk]
specify the process of each function.
fn
Format
Function
No.
Function
0, 48
GS ( C
p
L
p
H
m fn b c1 c2
0
Deletes the specified record.
1, 49
GS ( C
p
L
p
H
m fn b c1 c2
d1...dk
1
Stores data in the specified record.
2, 50
GS ( C
p
L
p
H
m fn b c1 c2
2
Transmits the data in the specified
record.
3, 51
GS ( C
p
L
p
H
m fn b
3
Transmits the number of bytes of the
memory used.
4, 52
GS ( C
p
L
p
H
m fn b
4
Transmits the number of bytes of the
remaining memory (unused area).
5, 53
GS ( C
p
L
p
H
m fn b
5
Transmits the key code list.
6, 54
GS ( C
p
L
p
H
m fn b d1 d2 d3
6
Deletes all data in the NV user memory.
[Notes]
•
Frequent write command executions by an NV memory write command may damage
the NV memory. Therefore, it is recommended to limit writing the commands into the
NV memory to 10 times or less a day.
•
If the power is turned off while this command is being executed, the printer may go
into an abnormal condition. Do not turn the power off while this command is being
executed.
•
While processing this command, the printer may become BUSY while writing the data
to the NV memory and stops receiving data. Therefore, be sure not to transmit data
including the real-time commands during the execution of this command.
•
After transmitting <Function 2, 3, 4, or 5>, do not transmit the subsequent data until
the status is received. And it will be necessary to perform the ESC/ POS
handshaking protocol procedures when using <Function 2 and 5>.
<Function 0>
GS ( C
pL pH m fn b c1 c2
(
fn
= 0, 48)
[Format] ASCII GS
( C
p
L
p
H
m fn b c1 c2
Hex 1D
28
43
p
L
p
H
m fn b c1 c2
Decimal 29 40 67
p
L
p
H
m fn b c1 c2
[Range] (
p
L
+
p
H
×
256) = 5 (
p
L
= 5,
p
H
= 0)
m
= 0
fn
= 0, 48
b
= 0
32
≤
c1
≤
126
32
≤
c2
≤
126
[Description]
•
Deletes the record specified by the key codes (
c1, c2
)
in the NV user memory.