PostScript
4-99
HasNames
boolean
(Read-only) Indicates if the flash parameter is only valid when flash is mounted (mounted is
set to True). If flash is not mounted, the parameter has a value of False.
InitializeAction
integer
Specifies an action for initializing flash:
0
Indicates no action; the value returned when the parameter is read.
1
Indicates that the current file system should be deleted and a new one of
PhysicalSize created (the flash must be formatted already). The flash must
first be mounted; otherwise, an ioerror results.
2
Reformats the entire flash before creating a new file system of PhysicalSize
3
(or greater) has the same effect as the value 2 and also tests the flash x – 2
times
Legal value: Any non-negative integer.
LogicalSize
integer
This parameter is not used for InitializeAction.
InitializeAction always formats to PhysicalSize, regardless of what is specified in
LogicalSize. A query returns the current size (in pages) of the file system on the device.
A value of 0 (zero) indicates that the device is not mounted.
Legal value: Any non-negative integer, including 0 (zero).
The value of LogicalSize must be less than or equal to the value of PhysicalSize. A
rangecheck error occurs if you try to set a larger value or set the value to 0 (zero).
Mounted
boolean
True
System attempts to mount the flash.
False
System attempts to dismount the flash.
When a device is mounted, it becomes known to the system and is readable, depending on
the nature of the device.
A device must contain a valid file system or it will not mount successfully. To verify if the
device is currently mounted, query this parameter immediately after setting it.
PhysicalSize
integer
(Read-only) Indicates the size of the flash (in pages) for a flash that is mounted. A value of 0
indicates that the device is not mounted.
Removable
boolean
(Read-only) Indicates if the drive supports removable flash.
Searchable
boolean
(Read-only) Indicates if the flash participates in searches in file system operations that
specify a filename without specifying a device.
SearchOrder
integer
(Read-only) If the Searchable parameter is True, indicates the priority at which the flash is
searched for a file in operations where no device has been specified. A lower integer
indicates a high priority. If the Searchable parameter is False, the value of this integer has
no meaning.
Type
name
(Read-only) This constant always returns the value of /FileSystem.
Writeable
boolean
(Read-only) Indicates if the files on the flash can be opened for write access. A write-
protected flash returns False. When the flash is not mounted, this parameter indicates if the
device supports writeable media.
Table 4-14: PostScript Emulation Device Parameters (Continued)
Key
Type
Definition