3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
SMICE-PS
55
3-
[Notes]
• If n or m is out of the defined range, the previously set print
mode is not changed.
• If n = 0, m is not applicable.
[Default]
n = 0, m = 0
[Reference]
GS C 1, GS C 2, GS C ;, GS c
[Example]
n = 3,m = 0
n = 3, m = 1
n = 3, m=2
!!
1
001
1
!!
!"
indicates a space
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.