CONFIDENTIAL
Paper roll Counter printing commands GS C 1
Ver. 10.01 p. 637
GS C 1
SETTING COMMAND
[Name] Select count mode (A)
[Format] ASCII GS C 1
aL aH bL bH nr
Hex 1D 43 31
aL aH bL bH nr
Decimal 296749
aL aH bL bH nr
[Range] 0 ≤ (
aL
+
aH
× 256) ≤ 65535 (0 ≤
aL
≤ 255, 0 ≤
aH
≤ 255)
0 ≤ (
bL
+
bH
× 256) ≤ 65535 (0 ≤
bL
≤ 255, 0 ≤
bH
≤ 255)
0 ≤
n
≤ 255, 0 ≤
r
≤ 255
[Default] (
aL
+
aH
× 256) = 1 (
aL
= 1,
aH
= 0)
(
bL
+
bH
× 256) = 65535 (
bL
= 255,
bH
= 255)
n
= 1,
r
= 1
[Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-P60, TM-U230, TM-U220, TM-U210,
TM-U300A/B
[Description] Sets the serial number counter range, the stepping amount, and the repetition number.
•
aL
,
aH
and
bL
,
bH
specify the serial number counter ranges (maximum or minimum value).
•
n
specifies the stepping amount for counting up or down.
•
r
specifies the repetition number with the counter value fixed.
[Recommended Functions]
This command is supported by some of the printer models and will not be supported by future models.
Future models will not support counter value.
[Notes]
■ In a count-up setting, when the GS c is executed, the counter value exceeds the maximum value
(
bL
+
bH
× 256), restart counting from the minimum value (
aL
+
aH
× 256).
Counter range
Count mode Parameters Minimum value Maximum value
Count-up
aL
+
aH
× 256 <
bL
+
bH
× 256 and
n
≠ 0 and
r
≠ 0
aL
+
aH
× 256
bL
+
bH
× 256
Count-down
aL
+
aH
× 256 >
bL
+
bH
× 256 and
n
≠ 0 and
r
≠ 0
bL
+
bH
× 256
aL
+
aH
× 256
Count-stop
aL
+
aH
× 256 =
bL
+
bH
× 256 or
n
= 0 or
r
= 0
Counter printing commands
obsolete command
obsolete command