EasyManuals Logo
Home>TSC>Printer>TTP-343 Plus

TSC TTP-343 Plus Programming Manual

TSC TTP-343 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 #130 background imageLoading...
Page #130 background image
TSC AUTO ID Technology Co., Ltd. 118 Copyright 2013 All Rights Reserved.
OPEN
Description
This command opens a downloaded file and establishes the file handle. Up to two file handles are
supported, thus only up to two files can be opened simultaneously. The file to be opened should be
downloaded prior to using this command. When opening a file, the firmware will search automatically
to see if the file exists in the on board flash memory or extended memory card. *Since V6.37 EZ, if the
file doesnt exist, the printer will create this file in the onboard FLASH.
Syntax
OPEN [memory ID,]"filename",file handle
Parameter
Description
[memory ID]
Optional. Open the file in specific memory device. *Since V6.68 EZ.
ID
Memory device
Omitted
DRAM
F
FLASH
E
CARD
filename
The file downloaded in the printer memory
file handle
Either 0 or 1
Example
Sample code
DOWNLOAD "DATA.DAT",18,Open file in DRAM.
DOWNLOAD F,"DATA.DAT",19,Open file in FLASH.
DOWNLOAD "TEST.BAS"
data1$=""
data2$=""
data3$=""
OPEN "DATA.DAT",0
READ 0,data1$
CLOSE 0
OPEN F,"DATA.DAT",0
READ 0,data2$
CLOSE 0
KILL F,"*"
OPEN "NEW.DAT",0
SEEK 0,0
WRITE 0,"Auto create a new file in FLASH."
SEEK 0,0
READ 0,data3$
CLOSE 0
SIZE 4,1
GAP 0,0
CLS
TEXT 10,10,"3",0,1,1,data1$
TEXT 10,60,"3",0,1,1,data2$
TEXT 10,110,"3",0,1,1,data3$
PRINT 1
EOP
TEST
Result

Table of Contents

Other manuals for TSC TTP-343 Plus

Questions and Answers:

Question and Answer IconNeed help?

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

TSC TTP-343 Plus Specifications

General IconGeneral
BrandTSC
ModelTTP-343 Plus
CategoryPrinter
LanguageEnglish

Related product manuals