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 #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 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