CONFIDENTIAL
Paper roll Counter printing commands GS C ;
Ver. 10.01 p. 640
GS C ;
SETTING COMMAND
[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 296759
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-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 serial number counter value, the stepping amount, and the
repetition number by using character strings.
•
sa
and
sb
specify the serial number counter ranges (maximum and minimum values).
•
sn
specifies the stepping amount for counting up or down.
•
sr
specifies the repetition number with the counter value fixed.
•
sc
specifies the serial number counter value.
Counter range
Count mode Parameters 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“
Counter printing commands
obsolete command
obsolete command