Lexmark T642 Technical Reference page 188

Lexmark t642: reference guide
Hide thumbs Also See for T642:
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 the START =
file) is 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-90
location
parameter is omitted, location
bytecount
PJL
accesstype
RO
RW
of
,
, or
0
(beginning of the
is assumed to be equal to
AP
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

W840T640T644

Table of Contents