Lexmark E320 Technical Reference - Page 189
LWRITEFILE Command, LRUNFILE Command
UPC - 734646511162
View all Lexmark E320 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 189 highlights
3-91 PJL LWRITEFILE Command Use this command to write data to a file on a storage device. Syntax: @PJL LWRITEFILE 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. The command is ignored if the file isn't already open with a write accesstype. • If START = location is omitted on a file with an accesstype of RW, location 0 is assumed. • If START = location is greater than file size and the accesstype is RW, it positions the file pointer at the end of the file. • If the LENGTH is omitted from a LWRITEFILE command, an @PJL END DATA must be placed at the end of the data. All data up to '@' in @PJL END DATA is written to the file. The command requires either the LENGTH parameter or the @PJL END DATA be specified, but not both. LRUNFILE Command Use this command to load and execute a file on a storage device. For example, use this command to run the resident demo file or a demo file stored on flash or disk. Syntax: @PJL LRUNFILE DEVICE = filedevice FILENAME = "fname"[]