EasyManua.ls Logo

GPRINTER GP-2120T - Device Reconfiguration Commands; Set Counter

GPRINTER GP-2120T
81 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
THERMAL BARCODE PRINTER SERIES 68
Device Reconfiguration Commands
66. SET COUNTER
Description
Counter can be a real counter or a variable.
This setting sets the counter number in program and their increments.
There are three different kind of counters: digit (0~9~0), lower case letter
(a~z~a) and upper case letter (A~Z~A).
Syntax
SET COUNTER @n step
@n = Expression
Parameter Description
@n n: counter number. There are 51 counters available
(@0~@50) in the printer.
step The increment of the counter, can be positive or
negative.
-999999999<= step <=999999999
If the counter is used as a fixed variable, please set
the increment to 0.
Expression Initial string. String length is 101 bytes
Example
SIZE 3,3
GAP 0,0
DENSITY 8
SPEED 6
DIRECTION 0
REFERENCE 0,0
SET COUNTER @1 1
@1="00001"
SET COUNTER @2 5
@2="AB000001"
CLS
TEXT 50,50,"3",0,1,1,@1
BARCODE 50,100,"39",48,1,0,2,4,@2
PRINT 2,1
See Also
PRINT, TEXT, BARCODE

Other manuals for GPRINTER GP-2120T

Related product manuals