Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!peru.psych.purdue.edu!esmith From: esmith@peru.psych.purdue.edu (Eliot R. Smith) Newsgroups: comp.lang.postscript Subject: automatic papertray switch when empty? Keywords: error handler, paper tray Message-ID: <9976@j.cc.purdue.edu> Date: 31 Aug 89 15:11:49 GMT Sender: news@j.cc.purdue.edu Reply-To: esmith@psych.purdue.edu (Eliot R. Smith) Distribution: na Organization: Purdue University Lines: 10 My Postscript printer has two paper trays, and since I don't generally use letterhead or different size paper, one is never used. Would it be possible to write a short resident program that would trap an "out of paper" error and switch automatically to the alternate tray? That way I could keep them both loaded with the same paper. I think I know how to switch trays, but handling error messages is not something I know how to do in Postscript. Thanks -- Eliot Smith (Dept. of Psychology, Purdue University) esmith@psych.purdue.edu