EasyManuals Logo

Citizen CBM-1000 User Manual

Citizen CBM-1000
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #164 background imageLoading...
Page #164 background image
— 146 —
GS C ; n1 ; n2 ; n3 ; n4 ; n5 ;
[Function] Setting the numbering counter mode (B)
[Code] <1D>H<43>H<3B>H<n1><3B>H<n2><3B>H<n2>
<3B>H<n3><3B>H<n4><3B>H<n5><3B>H
<n1>,<n2>,<n3>,<n4>,<n5> are character codes.
[Range] 0
n1 , n2 , n5 65535
0
n3 , n4 255
[Outline] This command sets the numbering (serial number counter)
mode and a counter value.
n1 : Counter default
n2 : Counter final value
n3 : Counter step value
n4 : Idential counter print count
n5 : Counter start value
n1 < n2 : Count-up system
n1 > n2 : Count-down system
n1 = n 2 or n3 = 0 or n4 = 0 : Counter stop
[Caution] If the n5 counter start value is beyond the counter range specified
with n1 and n2, it is assumed to be n1 = n5.
If each value of n1 through n5 contains the character code other
than “0” through “9”, the printer will invalidate the data up to
that parameter and handle the subsequent data as normal data.
[Default] n1 = 1
n2 = 65535
n3 = 1
n4 = 1
n5 = 1
[See Also] GS C0 , GS C1 , GS C2 , GS c
[Sample Program]
[Print Result]
LPRINT CHR$(&H1D) ;”C0”;
LPRINT CHR$(3);CHR$(0);
LPRINT CHR$(&H1D);”C;”;
LPRINT ”50;0;5;2;50;
GOUSAB *CNT
LPRINT CHR$(&H1D);”C;”;
LPRINT ”50;0;5;2;5”;
GOUSAB *CNT
END
*CNT
FORI = 1 TO 5
LPRINT CHR$(&H1D);”c”;
NEXT I
LPRINT CHR$(&HA);
RETURN
When setting a count-down range = 0 to 50, step
value = 5, repeat count = 2, and start value = 50 to
50 50 45 45 40 40
<
print a counte value.
5 0 50 45 40 35
<
When setting a count-down range = 0 to 50, step
value = 5, repeat count = 1, and start value = 5
to print a counter value.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Citizen CBM-1000 and is the answer not in the manual?

Citizen CBM-1000 Specifications

General IconGeneral
BrandCitizen
ModelCBM-1000
CategoryPrinter
LanguageEnglish

Related product manuals