Apple 310 manual Setting User Parameters, Jobname, Jobtimeout, Setjobtimeout

Models: 310

1 68
Download 68 pages 28.89 Kb
Page 43
Image 43

C H A P T E R 2

LaserWriter Select 310 Software

Setting User Parameters

This section describes the compatibility operators that set Level 1 user parameters.

jobname

Syntax

– jobname string

Definition This operator is a string with the same value as the user parameter JobName. It specifies the name of the current job. If a PostScript language program defines jobname, status responses generated during the remainder of the job in progress will include a job field that reports the text of this string. The string should not contain the characters ; or ], since they would disrupt the syntax of the status messages.

Standard value: null

Error stackoverflow

jobtimeout

Syntax

– jobtimeout int

Definition This operator returns the number of seconds remaining before the job timeout will occur. It does this by returning the value of the user parameter JobTimeout. If the returned value is 0, the job will never time out.

Standard value: 0

Error stackoverflow

setjobtimeout

Syntax

int setjobtimeout –

Definition This operator sets the timeout for the current job to the value int, a non-negative integer specifying a time interval in seconds. If the current job continues for int seconds without either completing or executing setjobtimeout again, the PostScript interpreter executes a timeout error. The value 0 disables the job timeout altogether.

At the beginning of a job, the server initially sets the job timeout to the default job timeout returned by defaulttimeouts. However, in interactive mode, the initial job timeout is always 0.

Error rangecheck, stackunderflow, typecheck

Setting Compatibility Operators

31

Page 43
Image 43
Apple 310 manual Setting User Parameters, Jobname, Jobtimeout, Setjobtimeout