beautypg.com

Setting user parameters, Jobname, Jobtimeout – Apple LaserWriter Select 310 Printer User Manual

Page 43: Setjobtimeout, Setting user parameters 2

background image

C H A P T E R 2

LaserWriter Select 310 Software

Setting Compatibility Operators

31

Setting User Parameters

2

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

jobname

2

jobtimeout

2

setjobtimeout

2

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

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

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