EasyManuals Logo
Home>TSC>Printer>M23

TSC M23 Programming Manual

TSC M23
252 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 #185 background imageLoading...
Page #185 background image
TSC AUTO ID Technology Co., Ltd. 173 Copyright 2013 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 61 counters available (@0 ~ @60) in the
printer. @0 to @50 will be cleared while restarting the printer. @51 to @60
will be stored in printer until the printer is restored to factory default.
@51~@55 were supported since V6.37 EZ.
@56~@60 were supported since V6.74 EZ.
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
Sample Code
SET COUNTER @0+1
SET COUNTER @1+0
SET COUNTER @2-1
SET COUNTER @3 1
@0="0001"
@1="0101"
@2="000A"
@3="1"
SIZE 4,0.5
GAP 0,0
DIRECTION 1
CLS
TEXT 600,10,"3",0,1,1,3,"@0 @1 @2"
TEXT 600,30,"3",0,1,1,3,"Label "+@3+" --------------------------"
TEXT 600,50,"3",0,1,1,3,@0+" "+@1+" "+@2
PRINT 5
Result
See Also
PRINT, TEXT, BARCODE

Table of Contents

Other manuals for TSC M23

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC M23 and is the answer not in the manual?

TSC M23 Specifications

General IconGeneral
BrandTSC
ModelM23
CategoryPrinter
LanguageEnglish

Related product manuals