Memory
6-9
Accessing Files with PostScript Emulation
File Naming Conventions
For any PostScript emulation operator that requires a file name parameter, the file
name can be one of the following:
%device%filename
Specifically references a file on a particular device. If the file name does not exist
on %device%, no other %device% is accessed for a duplicate file name.
filename
Does not specifically reference a device. The following action occurs:
•
For the PostScript emulation operator
deletefile
, only the first device in the
search order is checked for file name.
•
For all other PostScript emulation operators, and all other combinations of
search order and available devices, each installed %device% is checked in
the search order for the existence of file name. The operator acts upon the
first file name that it finds.
Device Names
The term
device
refers to flash memory, disk, or ROM. For PostScript emulation, some
of the operators require or return device names. These operators are:
deletefile,
filenameforall, devforall, devdismount, devmount, devformat, devstatus
. The
device always begins and optionally ends with a % character. The following are the
valid device names:
%rom%
%flash%
%flash1%
%disk%
%disk1%
The same file name can exist on more than one device. The device prefix determines
the actual file to use. For example,
%rom%myfile
and
%flash%myfile
designate,
respectively, a file called
myfile
both on the ROM and on flash memory. The device
name distinguishes which file to use.