Redundant statusdict operators
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.
diskonline Boolean
This operator always returns true
because by definition there is always a disk on-line. The operator is provided only for compatibility reasons.
diskstatus freesize totalsize
This operator is the equivalent of:
(%os%) devstatus pop 8 2 roll 6 { pop } repeat
In other words, it returns the freesize and totalsize status parameters for the %os%
device. The operator is now redundant and is provided only for compatibility.
The values returned are limited to a maximum of 2097251.This prevents problems with some font downloaders when used on disks which have more than 2 gigabytes free space.
int int initializedisk -
This operator does nothing except check its operands. The operator is now redundant and is provided only for compatibility reasons. Because the Harlequin RIP is generally superimposed on an operating system, it is not considered safe to give a user the ability to format disks, which was its intended function.
userdiskpercent percent
This simply returns the value set by setuserdiskpercent
(defaulting to 75 if that operator has never been used). The operator is now redundant and is provided only for compatibility reasons.
percent
setuserdiskpercent -
This operator saves its value to be returned by userdiskpercent
. It has no other side effects. The operator is now redundant and is provided only for compatibility reasons.
printerstatus integer
The statusdict
procedure printerstatus
returns an integer on the operand stack which is a logical "or" of the paper tray selected by the media matching algorithm and the number returned by asking the %pagebuffer%
device with currentdevparams
for a parameter called PrinterStatus
(defaulting to zero if the parameter is not present). This used to be used in a complex interaction with printermessage
(described in statusdict printer procedures ) to provide messages to PostScript language jobs about errors in the printer in a compatible way to the LaserWriter implementation, but is now redundant.