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 #143 background imageLoading...
Page #143 background image
TSC AUTO ID Technology Co., Ltd. 131 Copyright 2013 All Rights Reserved.
WHILEWEND
Description
Executes a series of statements as long as a given condition is True. Nested loops are allowed (up to 39
nested loops) in this printer.
Syntax
WHILE condition
[statement]
WEND
Parameter
Description
condition
Available relational operator: <, >, =, <=, >=, <>
*Relational operator <>, not equal, was supported since V5.10 EZ.
statement
One or more statements executed while condition is True.
Note:
This command has been supported since V5.10 EZ and later firmware.
Example
Sample Code
Result
DOWNLOAD "TEST.BAS"
I=0
TOTAL=0
WHILE I<100
I=I+1
TOTAL=TOTAL+I
WEND
SIZE 4,0.5
GAP 0,0
CLS
TEXT 10,10,"3",0,1,1,"1+2+3+ ... + 100 = " +STR$(TOTAL)
PRINT 1
EOP
TEST
DOWNLOAD "TEST.BAS"
data$ =""
SIZE 4,0.3
GAP 0,0
DIRECTION 1
INPUT "Data:",data$
WHILE data$ <> "Quit"
CLS
TEXT 10,10,"3",0,1,1,"Data: "+data$
PRINT 1
INPUT "Data:",data$
WEND
CLS
TEXT 10,10,"3",0,1,1,"Quit BAS"
PRINT 1
EOP
TEST
12345
67890
quit
Quit

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