
THERMAL BARCODE PRINTER SERIES
36
2.
Download a data file
DOWNLOAD [n,]
“
FILENAME
”
, DATA SIZE, DATA CONTENT
…
where
Parameter
Description
n
Specify the memory location to save the
download files.
n is
ignored
Download files to DRAM only. If you would like to
save the files from DRAM to Flash memory
before turning off power, you can issue MOVE
command to printer to move the files from DRAM
to Flash memory.
F: Download files to main board flash memory.
FILENAME
The name of data file that will remain resident in
the printer memory. It is case sensitive.
DATA SIZE
The actual size (numbers of byte) of the data file
without header.
Note:
(1). For text data file, CR (carriage return) 0x0D and LF (Line
Feed) 0x0A is the separator of data.
(2). If memory is not specified, all files will be downloaded to
DRAM.
No Battery is used to backup DRAM. The downloaded files
in DRAM will be lost in case turns off printer power.
Example
The program listed below will download to printer SDRAM.
DOWNLOAD
“
EXAMPLE.BAS
”
SIZE 3,4
GAP 0,0
DENSITY 8
SPEED 6
DIRECTION 0
REFERENCE 0,0
SET PEEL OFF
CLS
TEXT 100,100,
”
3
”
,0,1,1,
”
EXAMPLE PROGRAM
”
PRINT 1
EOP
Note: When writing a download program,
“
DOWNLOAD
”
header must
be placed in the beginning of file, and
“
EOP
”
must be placed at
the end of program.
To run the program, you can call the main filename without BAS
extension or use RUN command to start the download program.
Example:
1. Call the main filename
C:\>COPY CON LPT1<ENTER>
EXAMPLE<ENTER>
<CTRL><Z>
C:\>