Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!reading.ac.uk!Anthony.D.Worrall From: Anthony.D.Worrall@reading.ac.uk (Anthony Worrall) Newsgroups: comp.windows.news Subject: Handling PostScript Errors Message-ID: <9002181421.AA06771@isg.cs.reading.ac.uk> Date: 18 Feb 90 21:02:57 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 15 I am in the process of linking a high level language (pop11) to NeWS. Abitrary PostScript code can be sent from the client to the server. The problem is that what is the best way to catch any errors in the postscipt code down loaded. I can think of two posible ways of doing this. 1. Down load the code in the context of a stopped opperator and return to the client the error condition. 2. Put error handlers in errordict that do not call stop and modify handleerror to report the error to the client. Which method have other people used? Are there any other ways of catching errors? Example code would be most welcome. Anthony.Worrall@Reading.ac.uk