Lexmark XC9455 Printer Languages and Interfaces Technical Reference - Page 84
File commands for flash memory or hard disk
View all Lexmark XC9455 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
Printer job language 84 Syntax: @PJL SET LDOWNLOADTARGET=variable[] File commands for flash memory or hard disk Use the following commands to manage resources on flash memory and hard disk: • LOPENFILE • LCLOSEFILE • LREADFILE • LWRITEFILE • LRUNFILE • LRENAMEFILE • LDELETEFILE • LFORMAT • LDEFRAG Syntax: @PJL LOPENFILE DEVICE=filedevice FILENAME=fname ACCESS=accesstype[] The following are the parameters used with most of the file commands. Parameter acccesstype Syntax ACCESS = acccesstype bytecount LENGTH = bytecount Description When opening a file, specify one of the following access types: • RO-Open for read only. The file must exist on the specified device. • WO-Create a new file. If the file exists, then its contents are discarded and a new file is created. • RW-Open for reading and writing. The file must already exist. • AP-Open for reading and writing, and then position the file pointer to the end of the file. The file must already exist. Note: Access types are case-sensitive. The amount of data in bytes to be read or written. The parameter is optional for both the LREADFILE and LWRITEFILE commands. Note: If the LENGTH is greater than the file size on an LREADFILE command, then it is assumed to be the entire file beginning at the START location.