
C O N F I D E N T I A L
Paper roll
Miscellaneous commands GS C ;
Ver. 4.0
p. 1331
GS C ;
[Name]
Select counter mode (B)
[Format]
ASCII
GS
C
;
sa
;
sb
;
sn
;
sr
;
sc
;
Hex
1D
43
3B
sa
3B
sb 3B sn 3B
sr
3B
sc
3B
Decimal 29
67
59
sa
59
sb 59 sn 59
sr
59
sc
59
[Range]
“0”
≤
sa
≤
“65535”
“0”
≤
sb
≤
“65535”
“0”
≤
sn
≤
“255”
“0”
≤
sr
≤
“255”
“0”
≤
sc
≤
“65535”
[Default]
sa
= “1”,
sb
= “65535”,
sn
= “1”,
sr
= “1”,
sc
= “1”
[Printers not featuring this command]
TM-T88II,
TM-U200B/D,
TM-U300A/B
[Description]
Selects a count mode for the serial number counter by using character strings.
•
sa
and
sb
specify the counter ranges (maximum and minimum values) for the serial
number counter.
•
sn
specifies the stepping amount for counting up or down.
•
sr
specify the repetition number of printing for the counter value.
•
sc
specifies the serial number counter value.
Count mode Conditions
Minimum value Maximum value
Count-up
sa
<
sb
,
sn
≠
0, and
sr
≠
0
sa
sb
Count-down
sa
>
sb
,
sn
≠
0, and
sr
≠
0
sb
sa
Count-stop
sa
=
sb
,
sn
= 0, or
sr
=
0