HP d640 HP D640 High-Volume Printer - PostScript Emulation Manual, C5630-90002 - Page 45

Device Operators, string, false, attributes

Page 45 highlights

Device Operators The following is a list of device operators supported by the D640 printer. These operators are defined in the systemdict dictionary instead of statusdict. Note To prevent accidental erasure of the printer's hard disk, the initializedisk and formatdisk operators are not supported. devmount string devmount bool The devmount operator returns a boolean value for the device specified by string. The boolean value indicates whether the device was mounted or not. For the D640, string choices are: %disk0% The hard disk drive %disk1% The floppy disk drive Boolean values returned are: true The device was successfully mounted or is already mounted false The device cannot be mounted at this time devdismount string devdismount - The devdismount operator changes the value of the Mounted parameter to false for the device specified by string. The device must be mounted before it can be dismounted. For the D640, string choices are: %disk0% The hard disk drive %disk1% The floppy disk drive devstatus string devstatus false string devstatus attributes (if device is not found) (if device is found) The devstatus operator returns status for the device specified by string. For the D640, string choices are: %disk0% The hard disk drive %disk1% The floppy disk drive If the device is not found, a value of false is returned. If the device is found, the following attribute values are returned. Chapter 3: Technical Reference 41

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

Chapter 3: Technical Reference
41
Device Operators
The following is a list of device operators supported by the D640
printer. These operators are defined in the systemdict dictionary
instead of statusdict.
Note
To prevent accidental erasure of the printer’s hard disk, the initializedisk
and formatdisk operators are not supported.
devmount
string
devmount
bool
The devmount operator returns a boolean value for the device
specified by
string
. The boolean value indicates whether the device
was mounted or not. For the D640, string choices are:
%disk0%
The hard disk drive
%disk1%
The floppy disk drive
Boolean values returned are:
true
The device was successfully mounted or is already
mounted
false
The device cannot be mounted at this time
devdismount
string
devdismount
The devdismount operator changes the value of the Mounted
parameter to
false
for the device specified by string. The device must
be mounted before it can be dismounted. For the D640, string
choices are:
%disk0%
The hard disk drive
%disk1%
The floppy disk drive
devstatus
string
devstatus
false
(if device is not found)
string
devstatus
attributes
(if device is found)
The devstatus operator returns status for the device specified by
string. For the D640, string choices are:
%disk0%
The hard disk drive
%disk1%
The floppy disk drive
If the device is not found, a value of false is returned. If the device is
found, the following attribute values are returned.