Gs C 0 M N - Citizen BD2-2220 Command Reference Manual

Citizen printer command reference
Hide thumbs Also See for BD2-2220:
Table of Contents

Advertisement

GS C 0 m n

support model
[Function]
Setting the numbering print mode
[Code]
<1D>H<43>H<30>H<m><n>
[Range]
0≦m≦5
0≦n≦2
[Outline]
[The specification which is common to the model]
This command sets the numbering (serial number counter) print mode.
"m" denotes the number of print columns.
m = 0
m = 1 to 5
n = 0
n = 1
n = 2
[Caution]
If either "m" or "n" has a value beyond their ranges, that setting will becomes invalid.
[Default]
m=0、n=0
[See Also]
GS C 1、GS C 2、GS C;、GS c
[Sample Program]
LPRINT CHR$(&H1D);"C0";
LPRINT CHR$(0); CHR$(0);
GOUSAB *CNT
LPRINT CHR$(&H1D);"C0";
LPRINT CHR$(1); CHR$(0);
GOUSAB *CNT
LPRINT CHR$(&H1D);"C0";
LPRINT CHR$(3);CHR$(0);
GOUSAB *CNT
LPRINT CHR$(&H1D);"C0";
LPRINT CHR$(3); CHR$(1);
GOUSAB *CNT
LPRINT CHR$(&H1D);"C0";
LPRINT CHR$(3); CHR$(2);
GOUSAB *CNT
END
CT-S280
CT-S300
PMU2XXX
Prints the columns indicated by numeral. In this case, "n" has no meaning.
Indicates the maximum number of columns to be printed.
Prints the counter in "m" columns.
"n" specifies a printing position within the printing columns.
Prints the data right justified. The blank columns are spaced.
Prints the data right justified. The blank columns are filled with "0".
Prints the data left justified. The right blank will become invalid.
[Print Results]
12345
67890
11 12 13 14 15
016017018019020
21 22 23 24 25
CT-S2000
CT-S4000
*CNT
FOR I=1 TO 5
LPRINT CHR$(&H1D);"c";
NEXT I
LPRINT CHR$(&HA);
RETURN
Counts from 1 to 5 at m = 0 and n = 0.
Counts from 6 to 10 at m = 1 and n = 0.
Counts from11 to 15 at m = 3 and n = 0.
Counts from 16 to 20 at m = 3 and n = 1.
Counts from 21 to 25 at m = 3 and n = 2.
- 145 -
BD2-2220
CT-S310

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ct-s310Pmu2xxxCt-s280Ct-s300Ct-s2000Ct-s4000

Table of Contents