REGO Thermal Printer Technical Manual
www.regotek.com
47
GS g 0 m nL nH Initialize maintenance counter
[Name]
Initialize maintenance counter
[Format]
ASCII
GS
g
0
m nL nH
Hex
1D
67
30 m nL nH
Decimal
29
103
48 m nL nH
[Range]
m =0
(nL + nH × 256) = 20, 21, 50, 70 (nL = 20, 21, 50, 70, nH = 0)
[Description]
Set the resettable maintenance counter specified by (nL + nH×256) to 0.
nL + nH × 256
Maintenance counter [Units]
Hex
Decimal
14
20
Number of line fed. [Lines]
15
21
Number of head energizations. [Times]
32
50
Number of auto cutter operations. [Times].
46
70
Duration of printer operation. [Hours].
[Notes]
Frequent write command executions by an NV memory write command may damage the NV
memory. Therefore, it is recommended to write to the NV memory less than 10 times a day.
If the power is turned off or the printer is reset via an interface while this command is being
executed, the printer may go into an abnormal condition. Do not turn the power off or do not
reset the printer via an interface 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, do not transmit data from the host computer while
the printer is BUSY.
[Reference]
GS g 2
GS g 2 m nL nH Transmit maintenance counter
[Name]
Transmit maintenance counter
[Format]
ASCII
GS
g
2
m nL nH
Hex
1D
67
32 m nL nH
Decimal
29
103
50 m nL nH
[Range]
m =0
(nL + nH × 256) = 20, 21, 50, 70, 148, 149, 178, 98
(nL = 20, 21, 50, 70, 148, 149, 178, 198 , nH = 0)
[Description]
Transmit the value of the maintenance counter specified by (nL + nH × 256).
nL + nH × 256
Maintenance counter [Units]
Kind of counter
Hex
Decimal
14
20
Number of line feeds. [Lines]
Resettable (can be
reset)
15
21
Number of times head is energized.
[Times]
32
50
Number of auto cutter operations.
[Times].
46
70
Duration
of
printer
operation.
[Hours].
94
148
Number of line feeds. [Lines]
Cumulative
95
149
Number of times head is energized.