PostScript
4-25
devcontrol
string integer
devcontrol boolean
allows a host computer utility to manage resources on the flash or disk. It
requires a string device name parameter, an integer command name parameter,
and two command argument parameters. The device control operator performs
a specified command on the specified device. The return values on the stack
indicate:
true
the command is successful
false
the command is unsuccessful and returns an error code
Table 4-9: devcontrol Operator Parameters
Integer Command
Name Parameter
Argument Parameter
Description
1
null null
Park disk heads
5
file null
Make contiguous flash file
8
filename description
Set description of file
9
password null
Set device read/write password
10
password null
Set device write password
11
filename password
Set file read/write password
12
filename password
Set file write password
13
password null
Declare device read/write password
14
password null
Declare device write password
15
filename password
Declare file read/write password
16
filename password
Declare file write password
17
null null
Reset device password list
18
null null
Reset file password list
19
devicename password
Get device password
19
filename password
Get file password
20
devicename null
Determine if device password is properly declared
20
filename null
Determine if file password is properly declared
21
null null
Scan for bad block
22
null null
Abort bad block scan
23
null null
Quick bad block scan
24
null null
Flush the disk cache
27
file null
Be quiet when writing to disk