Lexmark X644e 用户指南

下载
页码 416
PJL
3-93
 
File and Device Protection Commands
The following information applies to  protection.
You can set both read/write and write s for a resource. If both s are set, the 
read/write  has precedence over the write .
If you attempt to -protect a non-existing resource, the PJL interpreter will 
return a warning (CODE = 25001).
If a resource has already been  protected, the resource must be “unlocked” 
before you can specify a different  for that resource.
Several restrictions with s apply to flash due to the nature of the technology:
– You can create/change s for the whole flash multiple times, but each change 
uses up free space in the flash that can only be recovered by reformatting 
the whole flash.
– You can create s for individual resources on the flash only once. You can 
also delete this  once. If this is done, you must recreate the resource before 
using the  feature again.
Protecting a File or Device
Use the DEFAULT command to set a  on the entire flash or disk or on an individual 
macro or font in flash.
 Protection for a File
LRWLOCK with DEFAULT specified locks a file or device for reading and writing. 
LWLOCK with DEFAULT specified locks a file or device for writing only.
Syntax:
@PJL DEFAULT LRESOURCE:"device:filename.filetype" LRWLOCK=""[<CR>]<LF>
@PJL DEFAULT LRESOURCE:"device:filename.filetype" LWLOCK=""[<CR>]<LF>
The filename used depends on whether you wish to put a  on a font or a macro.
The filename for a font is a five digit ID from the print directory page (add zeros to the 
left of the ID to fill the five digits) followed by a three digit instance number. The first 
time a font is downloaded after a flash has been formatted, the instance number is 0.