EasyManuals Logo

TSC TDP-247 Programming Manual

TSC TDP-247
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 TDP-247

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TDP-247 and is the answer not in the manual?

TSC TDP-247 Specifications

General IconGeneral
Print MethodThermal Transfer / Direct Thermal
Communication InterfaceUSB 2.0, RS-232
Power Supply100-240V AC, 50/60 Hz
Operating Temperature41°F - 104°F (5°C - 40°C)
Operating Humidity85% non-condensing
Max. Print Width4.09" (104 mm)
Label Width1.18" - 4.33" (30 mm - 110 mm)
Storage Temperature-40 ~ 60°C (-40 ~ 140°F)

Related product manuals