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 #222 background imageLoading...
Page #222 background image
TSC AUTO ID Technology Co., Ltd. 210 Copyright 2013 All Rights Reserved.
Printer Global Variables
@LABEL
Description
This variable counts how many pieces of labels have been printed. This attribute cannot be initialized if
the printer is reset, but will be retained if the printer power is turned off.
Syntax
Write attribute: @LABEL=n or @LABEL=n
Read attribute: A=LABEL or A$=STR$(LABEL)
Parameter
Description
n
Number of labels printed. 0<=n<=999999999
Example
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,2.5
GAP 0,0
DIRECTION 1
CLS
TEXT 10,50,"3",0,1,1,@LABEL
TEXT 10,100,"3",0,1,1,"@LABEL="+STR$(LABEL)
TEXT 10,150,"3",0,1,1,"*****Statement 1*****"
IF LABEL>1000 THEN
TEXT 10,200,"3",0,1,1,"LABEL>1000"
ELSE
TEXT 10,200,"3",0,1,1,"LABEL<1000"
ENDIF
TEXT 10,250,"3",0,1,1,"*****Statement 1*****"
A=LABEL
IF A>1000 THEN
TEXT 10,300,"3",0,1,1,"A>1000"
ELSE
TEXT 10,300,"3",0,1,1,"A<1000"
ENDIF
TEXT 10,350,"3",0,1,1,"*****Statement 3*****"
A$=STR$(LABEL)
IF VAL(A$)>1000 THEN
TEXT 10,400,"3",0,1,1,"VAL(A$)>1000"
ELSE
TEXT 10,400,"3",0,1,1,"VAL(A$)<1000"
ENDIF
PRINT 1,1
EOP
DEMO
Result

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