C H A P T E R 2
LaserWriter Select 310 Software
setdarkness
Syntax | real setdarkness – |
Definition This operator sets the printer’s laser density according to the value specified by real, where a value of 0 is the least dense and a value of 1 is the most dense. This causes the printer’s output to be either lighter or darker, depending on whether the darkness value is lowered or increased from the current value.
The printer itself has only five darkness settings: 0, .25, .5, .75, and 1. If the value of real is set between 0 and 1 but is not one of these values, darkness will be set to the setting closest to real. If the value of real is outside the range of 0 through 1, a rangecheck error will occur.
Errors invalidaccess, rangecheck, stackunderflow, typecheck
Setting Extensions to PostScript Level 1
The LaserWriter Select 310 printer uses a variety of parameters that are not generally used with PostScript Level 1 language. These operators extend the capabilities of the PostScript Level 1 language supported by the printer.
currentcacheparams
Syntax | – currentcacheparams mark lower upper |
Definition This operator pushes a mark object followed by the current cache parameters onto the operand stack. The number of cache parameters returned is variable. See setcacheparams.
Standard value: mark 1250 12500
Error stackoverflow
currentpacking
Syntax | – currentpacking bool |
Definition This operator returns the array packing mode currently in effect.
Standard value: false
Error stackoverflow
36 | Setting Compatibility Operators |