C H A P T E R 2

LaserWriter Select 310 Software

printername

Syntax

string printername substring

Definition This operator stores the value of the system parameter PrinterName in string and returns a string object designating the substring actually used.

Standard value: (LaserWriter Select 310)

Errors invalidaccess, rangecheck, stackunderflow, typecheck

product

Syntax

– product string

Definition This operator is a string object which is the name of the laser printer product (LaserWriter-Select 310). If a program needs to know what type of printer it is running on, it should check this string.

Standard value: (LaserWriter-Select 310)

Error stackoverflow

productA

Syntax – productA string

Definition This operator is a string object which is used when the printer needs a default name to install in printer name. This happens when the printer is turned on for the first time after installation. It will happen each time the printer is turned on until a new name is stored using

setprintername.

Standard value: (LaserWriter-Select 310)

Error stackoverflow

ramsize

Syntax

– ramsize int

Definition This operator returns the number of bytes of RAM in the printer.

Error stackoverflow

revision

Syntax

– revision int

Definition This operator is an integer which designates the current revision level of the machine-dependent portion of the PostScript interpreter.

Standard value: 0

Error stackoverflow

24

Setting Compatibility Operators

Page 36
Image 36
Apple 310 manual Printername, ProductA, Ramsize, Revision