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

Page 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

Image 43
Contents Apple LaserWriter Select 310 Printer Limited Warranty on Media and Replacement Contents Page Communication Channels Page Figures and Tables Page What This Note Contains About This NoteOther Reference Material Conventions Used in This NoteApda For More InformationPage LaserWriter Select Hardware1 LaserWriter Select 310 Hardware ROM Serial Port for RS-232C Devices Communication Ports2An 8-pin serial port connector Centronics Parallel ConnectorPstrobe Signal Status Lights ROM Capability Memory CapabilitiesBasic Operation Batch ModeDram Expansion Types Interactive ModePaper Handling 7Paper handling options Page LaserWriter Select 310 Software Adobe PostScript Programming Language Software OverviewPostScript Interpreter Types LaserWriter Select 310 DriverSelects the paper tray containing A4-size paper and sets Compatibility Operators Software ParametersProduct Strings Communication Device ParametersStatusdict Setting Compatibility Operators Device Idlefonts Setting System ParametersCheckpassword DefaulttimeoutsRamsize PrinternameProduct ProductASetpassword SetdefaulttimeoutsSetidlefonts Setprintername Setting Page Device ParametersDefaultmultipurposetraysize DefaultpapertrayPagestackorder ManualfeedtimeoutManualfeed MarginsPapersize SetdefaultmultipurposepapertraysizePapertray Setdostartpage SetdefaultpapertraySetmargins Setpagetype SetpagestackorderSetpapertray Jobname Setting User ParametersJobtimeout SetjobtimeoutWaittimeout Setting Device ParametersSetsoftwareiomode Softwareiomode Setting Communication ParametersPacketbackchannel Setpacketbackchannel SccbatchSetsccbatch Setting Engine Device ParametersDarkness Currentpacking Setting Extensions to PostScript LevelSetdarkness CurrentcacheparamsSetcacheparams PackedarraySetpacking Printer Error ParameterPostScript Language Changes PrintererrorPacked Arrays Versus Ordinary Arrays Packed ArraysCreating Packed Arrays Immediately Evaluated Names Changes in Font Cache Operation Device Resolution ImagesEnd-of-Line Recognition New Operators TrueType FontsCommunication Channels Baud Rates Serial CommunicationFlow Control Parity SettingsDTR Flow Control XON/XOFF Flow Control SCC Operator EncodingSimple Communication Protocol Communication ProtocolsBinary Communication Protocol SOH CTL-A Parallel Interface Communicating with an IBM PCDTR Flow Control for PC Communication Serial InterfaceXON/XOFF Flow Control for PC Communication Communication DynamicsStatus Queries and Spontaneous Messages Errorerror OffendingCommand operator %%