User manual
APOS KANJI User Manual Page 37 / 45
Ref : 3103039-FDE Issue A
4.1.43. GS C2
(Description) Set binary counter value
(Format) <1Dh> <43h> <32h> <n1> <n2>
(Comments) Counter value = n1 + n2 x 256
Default values are n1 = 1, n2 = 0
If the counter value is out of range it will be converted to the maximum (if
counting-down) or minimum (if counting-up) value defined by GS C1 or GS C.
(Cross reference) GS C0, GS C1, GS C, GS c
4.1.44. GS C
(Description) Select decimal count mode
(Format) <1Dh> <43h> <3Bh>
<n1> <3Bh> <n2> <3Bh> <n3> <3Bh> <n4> <3Bh> <n5> <3Bh>
(Comments) With this counter, all parameters are entered as binary-coded decimal digits
and separated by a semi-colon character, <3Bh>. Any omitted parameter will
keep its previous value.
n1 is the start value of the counter
n2 is the end value of the counter
The counter will initially take the value given by n5
If start > end, the counter will increment after each time the command GS c is
used. If end > start, the counter will decrement after each time the command
GS c is used. When the counter exceeds the value of end it will reset to the
value of start.
The increment or decrement step is the value of n3. Setting this value to 0
will stop the counter. The counter will reset to the value start only n4 times.
After this it will stop counting. Also, setting this value to 0 will stop the
counter.
0 <= n1, n2, n5 <= 65535
0 <= n3, n4 <=255
(Cross reference) GS C0, GS C1, GS C2, GS c