EasyManua.ls Logo

TSC TTP-244 Plus

TSC TTP-244 Plus
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
Loading...
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 TTP-244 Plus

Related product manuals