Lexmark T430 Technical Reference - Page 206
LREADFILE Command
View all Lexmark T430 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 206 highlights
3-90 PJL 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][] Response Syntax: @PJL LREADFILE DEVICE = filedevice FILENAME = "fname" START = location LENGTH = bytecount @PJL END DATA 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 accesstype of RO, RW, or AP. • If the START = location parameter is omitted, location 0 (beginning of the 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, bytecount is assumed to be equal to 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.