EasyManuals Logo

TSC TTP-244 Plus Programming Manual

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
Page #142 background imageLoading...
Page #142 background image
TSC AUTO ID Technology Co., Ltd. 130 Copyright 2013 All Rights Reserved.
FOR…NEXT LOOP
Description
Loop is used to execute one or more lines of program repetitively. A loop counter value specifies the
number of executions. Nested loops are allowed (up to 39 nested loops) in this printer. Jumping out in
the middle of the FOR…NEXT loop is prohibited.
Syntax
FOR variable = start TO end STEP increment
statement; start < end
[EXITFOR]
NEXT
Parameter
Description
variable
The variable name is (up to 8 characters)
start
Integer or floating point numbers
end
Integer of floating point numbers
increment
Integer or floating point, positive or negative
EXITFOR
Exit for loop
Example
Sample code
DOWNLOAD "TEST.BAS"
SIZE 4,2.5
GAP 0,0
CLS
FOR I=1 TO 10 STEP 1
TEXT 100,10+30*(I-1),"3",0,1,1,STR$(I)
NEXT
FOR I=1 TO 1000 STEP 100
TEXT 200,10+((I-1)/10)*3,"3",0,1,1,STR$(I)
NEXT
FOR I=110 TO 10 STEP -10
TEXT 300,10+(ABS(I-110))*3,"3",0,1,1,STR$(I)
NEXT
FOR I=1 TO 5 STEP 0.5
IF I-INT(I)=0 THEN Y=10+60*(I-1) ELSE Y=Y+30
TEXT 400,Y,"3",0,1,1,STR$(I)
NEXT
PRINT 1
EOP
TEST
Result
See Also
DOWNLOAD, EOP

Table of Contents

Other manuals for TSC TTP-244 Plus

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TTP-244 Plus and is the answer not in the manual?

TSC TTP-244 Plus Specifications

General IconGeneral
Resolution203 dpi
Print Speed4 ips
Print MethodThermal Transfer / Direct Thermal
Weight2.5 kg
Max. Print Width4.25 inches
Max. Print Length90 inches
Processor32-bit RISC CPU
InterfaceRS-232
Label Width1 inch to 4.4 inches
Power Supply100-240V AC, 50/60Hz
Operating Temperature5°C to 40°C
Storage Temperature-40°C to 60°C
Humidity25% to 85% non-condensing
Label Thickness0.06 ~ 0.19 mm (2.36 ~ 7.48 mil)
Dimensions232 mm (W) x 156 mm (H) x 288 mm (D)

Related product manuals