3. PRINTER FUNCTIONS
TPTCM
35
3-
r
n
H
b
L
b
H
a
L
a
1
C
S
G
r
n
H
b
L
b
H
a
L
a
1
C
S
G
r
n
H
b
L
b
H
a
L
a
1
C
S
G
r
n
H
b
L
b
H
a
L
a
1
C
S
G
r
n
H
b
L
b
H
a
L
a
1
C
S
G
[Name]
Select count mode (A).
[Format]
ASCII
GS
C
1
aL
aH
bL
bH
n
r
Hex
1D
43
31
aL
aH
bL
bH
n
r
Decimal
29
67
49
aL
aH
bL
bH
n
r
[Range]
0
≤
aL, aH
≤
255
0
≤
bL, bH
≤
255
0
≤
n, r
≤
255
[Description]
Selects a count mode for the serial number counter.
• aL, aH or bL, bH specify the counter range.
• n indicates the unit amount when counting up or down.
• r indicates the repetition number when the counter value is
fixed.
[Notes]
• Count-up mode is specified when:
[aL + (aH
×
256)] < [bL + (bH
×
256)] and n
≠
0 and r
≠
0
• Count-down mode is specified when:
[aL + (aH
×
256)] > [bL + (bH
×
256)] and n
≠
0 and r
≠
0
• Counting stops when:
[aL + (aH
×
256)] = [bL + (bH
×
256)] or n = 0 or r = 0
• Setting the count-up mode, the minimum counter value is
[aL + (aH
×
256)] and the maximum value is [bL + (bH
×
256)]. If the counting up reaches a value that exceeds the
maximum, it resets to the minimum value.
• Setting the count-down mode, the maximum counter value
is [aL + (aH
×
256)] and the minimum value is [bL + (bH
×
256)]. If the counting down reaches a value less than the
minimum, it resets to the maximum value.
• When this command is executed, the internal count that
indicates the repetition number specified by r is cleared.
[Default]
aL = 1, aH = 0, bL = 255, bH = 255, n = 1, r = 1
[Reference]
GS C 0, GS C 2, GS C ;, GS c
[Example]
Содержание TPTCM112-PC
Страница 1: ...TPTCM Kiosk and ticket printer TPTCM 60 mm 112 mm User Manual www custom it ...
Страница 21: ...1 INSTALLATION AND USE TPTCM 7 1 Fig 1 5 ATTENTION Before inserting the paper make sure it is cut cleanly ...
Страница 136: ...4 TECHNICAL SPECIFICATIONS TPTCM 4 4 60 14 9 4 4 90 8 9 34 9 Asse di stam pa Fig 4 2 Side view Fig 4 3 Top view ...