Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (Revision 20120510)
Page 37
1 or GS C ;, it is forced to convert to
the maximum value set by GS c.
Select count
mode (B)
GS C ; s1 ;
s2 ; s3 ; s4 ;
s5 ;
1D 43 3B s1
3B s2 3B s3
3B s4 3B s5
s1 through s5 are all character
strings made up of the ASCII
characters 0 through 9. s1 and s2
range from 0 to 65535 and s3
through s5 range from 0 to 255. s1
and s2 specify the counter range. s3
= the amount to increment the count
by. S4 = the repetition number when
the counter value is fixed. s5 = the
counter value. Count-up mode is
selected by s1 < s2 and s3 and s4
are not =0. . Count-down mode is
selected by s1 > s2 and s3 and s4
are not =0. Counting stops when s1
= s2 or s3 = 0 or s4 = 0.
Print counter
GS c
1D 63
Sets the serial counter value in the
print buffer and increments or
decrements the counter value based
on the count mode selected by GS C
0 and either GS C 1 or GS C ;. In
count up mode the counter value is
set to the minimum value if it goes
out of the range set by GS C 1 or GS
C ;. In count down mode the counter
value is set to the maximum value if
it goes out of the range set by GS C
1 or GS C ;.
Counter Commands