Lexmark X644e User Guide

Page of 416
PJL
3-95
 
Unlocking a Protected File or Device
Use the LDECLARE command to specify a  so a protected file or device may be 
accessed or “unlocked.” The LDECLARE command is only allowed within a JOB/EOJ 
combination.
LRWLOCK with LDECLARE specified unlocks a file or device for reading and writing. 
LWLOCK with LDECLARE specified unlocks a file or device for writing only. The file 
or device must be re-locked using the LDELETE command after the job is completed. 
The file or device is not automatically re-locked with the EOJ command.
Syntax:
@PJL LDECLARE LRESOURCE : "device:filename.filetype
LRWLOCK = ""[<CR>]<LF>
@PJL LDECLARE LRESOURCE : "device:filename.filetype
LWLOCK = ""[<CR>]<LF>
LRESOURCE : "device:filename.filetype"
Values for "
device:filename.filetype
" are:
device
flash
flash1
disk
, or 
disk1
 (case insensitive)
filename
A unique identifier for a file, such as the macro ID for a PCL 
macro, the symbol set ID for a PCL symbol set, the font ID for a 
PCL font, or the actual file name for data, Type 1 fonts, and 
demo files as shown on the Directory. The 
filename
 is case 
sensitive.
filetype
An identifier that categorizes the file, such as 
p5macro
 for PCL 
macros or 
p5symset
 for PCL symbol sets. See the table 
beginning on page 3-87 for a complete list of the supported file 
types. The 
filetype
 is case sensitive.
LRWLOCK = ""
 or 
LWLOCK = ""
LRWLOCK = ""
 and 
LWLOCK = ""
 parameters.
Note:
This should be the same  that was defined in the DEFAULT command. See 
“Protection for a File” on page 3-93 and “for an Entire Device” on page 3-94 
for examples.