Lexmark Optra T616 Technical Reference - Page 157
Table 3-22: Variables for Flash and Disk File and Password Commands
View all Lexmark Optra T616 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 157 highlights
3-80 PJL Table 3-22 lists the parameters used with most of the commands. Additional parameters are noted in the description of each command. Table 3-22: Variables for Flash and Disk File and Password Commands Parameter accesstype Syntax ACCESS = accesstype bytecount LENGTH = bytecount Description One of the following access types must be specified when a file is opened: RO Open for read only. File must already exist on specified device. WO Create a new file. If the file already exists, its contents will be discarded and a new file will be created. RW Open for reading and writing. File must already exist. AP Open for reading and writing, and position the file pointer to the end of the file. File must already exist. Access types are case sensitive. The LREADFILE command is ignored if the file was not opened with an accesstype of RO, RW, or AP. The LWRITEFILE command is ignored if the file was not opened with an accesstype of WO, RW, or AP. The amount of data in bytes to be read or written. The parameter is optional for both the LREADFILE and LWRITEFILE commands. If the LENGTH parameter is omitted from the LREADFILE command, bytecount is assumed to be equal to the entire file beginning at the START location. If the LENGTH parameter is omitted from the LWRITEFILE command, an @PJL END DATA command must be placed at the end of the data. All data up to '@' in @PJL END DATA is written to the file. Note: The LWRITEFILE command requires that either the LENGTH parameter or the @PJL END DATA command be specified, but not both. 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.