Printername, Product, Producta – Apple LaserWriter Select 310 Printer User Manual

Page 36: Ramsize, Revision

Advertising
background image

C H A P T E R 2

LaserWriter Select 310 Software

24

Setting Compatibility Operators

printername

2

product

2

productA

2

ramsize

2

revision

2

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

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

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

Syntax

– ramsize

int

Definition

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

Error

stackoverflow

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

Advertising