Wasp Technologies.
62 Copyright 2001 All Rights Reserved.
OPEN
Description
This command is used to open a downloaded file and establish the file handle. Up to
2 files can be opened at the same time. The file to be opened should be downloaded
prior to using this command.
Syntax
OPEN “Filename”, File handle
Parameter
Description
Filename
The file downloaded in the printer memory
File handle
Either 0 or 1.
Example
If a file by the name of “DATA is to be downloaded,
The file format contains:
DOWNLOAD DATA”,20,Computer<CR>
20000<CR>
15<CR>
Saving the above contents of data under the file name of “DATA”. Follow the steps
below to download data to the printer
<under MS-DOS mode>:
C:¥>MODE COM2:96,N,8,1
↵
C:¥>COPY DATA /B COM2
↵
The above example sets the following: baud rate at 9600 bps, no parity, 8 bits data,
1 top bit. If a file by name of “DEMO.BAS is to be downloaded, the file format
contains:
DOWNLOAD “DEMO.BAS”
SIZE 3.00,3.00
CLS
SPEED 2
DENSITY 8
SET CUTTER OFF
SET PEEL OFF
DIRECTIO 0
REFERENCE 0,0
OPEN “DATA”,1
SEEK 1,0
READ 1,ITEM$,PRICE,QTY
I=EOF(1)
Содержание WPL305
Страница 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Страница 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Страница 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Страница 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Страница 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Страница 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Страница 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Страница 120: ...Last update May 21 2004...