Lexmark Optra T Reference page 159

Technical reference
Hide thumbs Also See for Optra T:
Table of Contents

Advertisement

Table 3-22: Variables for Flash and Disk File and Password Commands (Continued)
Parameter
Syntax
location
START =
Note:
LOPENFILE Command
Use this command to open a file on a storage device.
Syntax:
@PJL LOPENFILE DEVICE = filedevice FILENAME = " fname "
ACCESS = accesstype [<CR>]<LF>
LCLOSEFILE Command
Use this command to close a file on a storage device. The command is ignored if the
file doesn't exist on the device or if the file is not open.
Syntax:
@PJL LCLOSEFILE DEVICE = filedevice FILENAME = "fname"[<CR>]<LF>
Description
location
The location in the file to begin writing or reading. Use an
integer that represents an offset in bytes from the beginning
of the file.
Optional for both LREADFILE and LWRITEFILE commands.
If omitted on an LREADFILE command,
(beginning of the file) is assumed. If omitted on an
LWRITEFILE command with an
location
If a START location is provided but it is greater than the file
size, the LREADFILE command response will contain no file
data. Similarly, an LWRITEFILE command with an
accesstype
command with an
If PostScript emulation is used to create the file on the device, it may
automatically attach a
.data
Extensions" on page 6-10 for more information. For example, if
downloaded to flash through PostScript emulation, the
commands is
"myfile.data"
3-82
accesstype
0
of
is also assumed.
of
RW
functions like an LWRITEFILE
accesstype
AP
of
extension to the
. See "Filename
fname
.
PJL
location
0
of
RW
of
,
.
is
"myfile"
on the PJL
fname

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents