PostScript
4-16
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-6: devcontrol Operator Parameters
Integer Command
Name Parameter
Argument Parameter
Description
1
null null
Park disk heads
5
file null
Make contiguous flash file
8
file name description
Set description of file
9
password null
Set device read/write password
10
password null
Set device write password
11
file name password
Set file read/write password
12
file name password
Set file write password
13
password null
Declare device read/write password
14
password null
Declare device write password
15
file name password
Declare file read/write password
16
file name 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
file name password
Get file password
20
devicename null
Determine if device password is properly declared
20
file name 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