Lexmark Optra T Reference page 160

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

Advertisement

LREADFILE Command
Use this command to read data from a file on a storage device.
Syntax:
@PJL LREADFILE DEVICE = filedevice FILENAME = "fname"
[START = location] [LENGTH = bytecount][<CR>]<LF>
Response Syntax:
@PJL LREADFILE DEVICE = filedevice FILENAME = "fname"
START = location LENGTH = bytecount<CR><LF>
<requested data from the file>@PJL END DATA<CR><LF><FF>
Notes:
The file must be closed using the LCLOSEFILE command once all operations
are complete.
The command is ignored if the file doesn't exist on the device or has not
already been opened with LOPENFILE with an
If START =
location
assumed.
If a START location is provided but it is greater than the file size, the response
will contain no file data.
If the LENGTH parameter is omitted,
the entire file beginning at the START location.
If the LENGTH is greater than the file size on a LREADFILE command, it is
assumed to be the entire file beginning at the START location.
3-83
parameter is omitted, location 0 (beginning of the file) is
bytecount
PJL
of
,
, or
accesstype
RO
RW
is assumed to be equal to
.
AP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents