Decimal - Epson L60IIP - TM B/W Direct Thermal Printer Information Manual

Information guide
Table of Contents

Advertisement

GS C ; sa; sb; sn; sr; sc;
[Name]
Select count mode (B)
[Format]
ASCII
Hex

Decimal

[Range]
"0" sa
"0" sb "65535"
"0" sn "255"
"0" sr
"0" sc "65535"
GS C ; sa ; sb ; sn ; sr ; sc ; selects a count mode for the serial number counter, and specifies the value
of the counter.
sa, sb, sn and sr are all displayed in ASCII characters using the codes for "0" to "9". sa and sb specify
the counter range. sn indicates the stepping amount for counting up or down. sr indicates the
repetition number with the counter value fixed. sc indicates the counter value. The default settings
are as follows: sa="1", sb="65535", sn="1", sr="1", and sc="1".
Count-up mode is specified when sa < sb and sn is not equal to 0 and sr is not equal to 0. When count-
up mode is specified, sa is the minimum counter value and sb is the maximum counter value. If
counting up reaches a value exceeding the maximum, it is resumed with the minimum value. If the
counter value set by sc is outside the counter operation range, the counter value is forced to convert to
the minimum value by executing the GS c command.
Count-down mode is specified when sa > sb and sn is not equal to 0 and sr is not equal to 0. When
count-down mode is specified, sa is the maximum counter value and sb is the minimum counter
value. If counting down reaches a value less than the minimum, it is resumed with the minimum
value. If the counter value set by sc is outside the counter operation range, the counter value is forced
to convert to the maximum value by executing the GS c command.
Counting stops when sa = sb or sn = 0 or sr =0.
Program Example
PRINT #1, CHR$(&H1D);"C;300;1;1;2;100;";
PRINT #1, CHR$(&H1D);"C0";CHR$(4);CHR$(1);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
1-66 Command Descriptions
GS
C
1D
43
29
67
"65535"
"255"
;
sa
;
sb
;
sn
sa
3B sb 3B sn 3B sr 3B
3B
59
sa
59 sb 59 sn 59 sr 59
Print Sample
0100
0100
0099
0099
0098
;
sr
;
sc
;
sc 3B
sc 59
Rev. A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Esc/pos tm-l60iiEsc/pos tm-l60iip

Table of Contents