EasyManuals Logo

TSC TTP-247 Programming Manual

TSC TTP-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 #171 background imageLoading...
Page #171 background image
TSC AUTO ID Technology Co., Ltd. 159 Copyright 2013 All Rights Reserved.
INSTR ( )
Description
Returns an integer specifying the start position of the first occurrence of one string within another.
Syntax
INSTR ([start,]str1$,str2$)
Parameter
Description
start
Optional. Numeric expression that sets the starting position for each search.
If omitted, search begins at the first character position. The stat index is 1 -
based.
str1$
Required. String expression being searched.
str2$
Required. String expression sought.
Note:
This command has been supported since V6.59 EZ and later firmware.
Example
Sample code
DOWNLOAD "DEMO.BAS"
string$="ABC123ABC123"
searchfor$="123"
starpos=8
temp1=INSTR(string$,searchfor$)
temp2=INSTR(starpos,string$,searchfor$)
str1$=searchfor$+" in "+string$+" is "+STR$(temp1)
str2$=searchfor$+" in "+string$+" after"+STR$(starpos)+" is "+STR$(temp2)
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,"3",0,1,1,str1$
TEXT 10,60,"3",0,1,1,str2$
PRINT 1
EOP
DEMO
Result
See Also
STRCOMP()

Table of Contents

Other manuals for TSC TTP-247

Questions and Answers:

Question and Answer IconNeed help?

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

TSC TTP-247 Specifications

General IconGeneral
Print MethodThermal Transfer / Direct Thermal
Resolution203 dpi
Max Print Width4.09" (104 mm)
Processor32-bit RISC CPU
Weight2.5 kg
Max Print Speed7 ips
Memory8 MB SDRAM, 4 MB Flash
InterfaceUSB 2.0, Serial
Ribbon Capacity300 meters
Label Width1" (25.4 mm) ~ 4.33" (110 mm)
Label Thickness0.06 mm ~ 0.19 mm
Power SupplyExternal Universal Switching Power Supply
Operating Temperature5°C to 40°C (41°F to 104°F)
Storage Temperature-4°F to 140°F (-20°C to 60°C)
Operating Humidity25% to 85%, non-condensing
CertificationsCE, FCC, UL, CCC

Related product manuals