EasyManuals Logo

TSC TTP-345 Programming Manual

TSC TTP-345
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 #148 background imageLoading...
Page #148 background image
TSC AUTO ID Technology Co., Ltd. 136 Copyright 2013 All Rights Reserved.
...
ELSEIF condition n THEN
Statement block n
ENDIF
*The syntax of IF…THEN…ELSE requires that the command be typed in one single line in less than 255
characters.
Parameter
Description
condition
Available relational operator: <, >, =, <=, >=, <>
*Relational operator <>, not equal, was supported since V5.10 EZ.
statement
Only one statement is available in
Example
Sample Code
Result
DOWNLOAD "DEMO.BAS"
SIZE 4,4
GAP 0,0
DIRECTION 1
CLS
A=0
B=0
C=0
D=0
E=0
F=0
G=0
H=0
J=0
K=0
L=0
FOR I=1 TO 100
IF I-INT(I/1)*1=0 THEN A=A+I
IF I-INT(I/2)*2=1 THEN B=B+I ELSE C=C+I
IF I-INT(I/3)*3=0 THEN
D=D+I
ENDIF
IF I-INT(I/5)*5=0 THEN
E=E+I
ELSE
F=F+I
ENDIF
IF I-INT(I/7)*7=0 THEN
G=G+I
ELSEIF I-INT(I/17)*17=0 THEN
H=H+I
ELSEIF I-INT(I/27)*27=0 THEN
J=J+I
ELSEIF I-INT(I/37)*37=0 THEN
K=K+I
ELSE
L=L+I
ENDIF

Table of Contents

Other manuals for TSC TTP-345

Questions and Answers:

Question and Answer IconNeed help?

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

TSC TTP-345 Specifications

General IconGeneral
Print MethodThermal Transfer
Resolution300 dpi
Max Print Speed5 ips
Max Print Length90" (2286 mm)
Memory8 MB Flash
InterfaceUSB 2.0, RS-232
Power SupplyExternal universal switching power supply

Related product manuals