Setpacking, Printer error parameter, Printer error parameter 2 – Apple LaserWriter Select 310 Printer User Manual

Page 50

Advertising
background image

C H A P T E R 2

LaserWriter Select 310 Software

38

Setting Compatibility Operators

setpacking

2

Printer Error Parameter

2

The LaserWriter Select 310 printer has one parameter that allows you find out what has
caused an error condition, and how many times the printer has attempted to complete a
specific job.

Syntax

bool setpacking –

Definition

This operator determines the type of executable arrays subsequently
created by the PostScript interpreter’s scanner. It sets the array packing
mode to the specified boolean value. The value true selects packed
arrays. The value false selects ordinary arrays.

The packing mode affects only the creation of procedures by the scanner

when it encounters program text bracketed by { }, during interpretation
of an executable file or string object; or during execution of the token
operator.

It does not affect the creation of literal arrays by the [ ] operators, or by
the array operator.

The array packing mode persists until it is overridden by another
execution of setpacking or is undone by restore.

Example:

systemdict/setpacking known

{/savepacking currentpacking def
true setpacking
} if

... arbitrary procedure definitions ...

systemdict/setpacking known [savepacking setpacking]
if

Errors

stackunderflow

, typecheck

Advertising