TSC AUTO ID Technology Co., Ltd. 144 Copyright 2009 All Rights Reserved.
Device Reconfiguration Commands
SET COUNTER
Description
Counters can be a real counter or a variable. This setting sets the counter number in the
program and its increments. There are three different types of counters: digit (0~9~0), lower
case letter (a~z~a) or 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