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 #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 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