Citizen CBM-270 User Manual page 86

Line thermal printer
Hide thumbs Also See for CBM-270:
Table of Contents

Advertisement

[Caution]
If the N5 counter start value is beyond the counter range specified with N1 and N2, it is
assumed to be N1 = N5.
than "0" through "9" , the printer will invalidate the data up to that parameter and handle the
subsequent data as normal print data.
[Default]
N1 = 1
N2 = 65535
N3 = 1
N4 = 1
N5 = 1
[See Also]
GS
[Sample Program]
LPRINT CHR$ (&H1D) ; "C0" ;
LPRINT CHR$ (3) ; CHR$ (0) ;
LPRINT CHR$ (&H1D) ; "C" ;
LPRINT "50 ; 0 ; 5 ; 2 ; 50 ; " ;
GOSUB * CNT
LPRINT CHR$ (&H1D) ; "C ; " ;
LPRINT "50 ; 0 ; 5 ; 2 ; 5 ; " ;
GOSUB * CNT
END
[Print Result]
GS c
[Function]
Printing the counter
[Code]
<1D>H<63>H
[Outline]
This command prints the serial number counter data. After setting the current counter value
in the print buffer as the print data (Character string), it increments or decrements the counter
according to the set count mode.
[Caution]
When setting the value in the print buffer, its format depends on the GS C0 command.
count mode depends on the GS C1 or GS C; command.
these commands if exceeded by executing the GS c command, the counter will be initialized
to the set default.
[See Also]
GS
[Sample Program]
See the sample programs and print results for the commands on Pages 68 through 71.
If each value of N1 through N5 contains a character code other
C0,
GS
C1,
GS
C0,
GS
C1,
GS
C2,
GS
c
* CNT
When setting a count-down range = 0 to 50, step value
= 5, repeat count = 2, and start value = 50 to print a
counter value.
When setting a count-down range = 0 to 50, step value
= 5, repeat count = 2, and start value = 5 to print a
counter value.
C2,
GS
C ;
[Print Result]
71
CBM-270 User's Manual
FOR I=1 TO 6
LPRINT CHR$ (&H1D) ; "c" ;
NEXT I
LPRINT CHR$ (&HA) ;
RETURN
If the counter final value set with
The
CITIZEN

Advertisement

Table of Contents
loading

Table of Contents