Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!hess From: hess@iuvax.cs.indiana.edu (Caleb Hess) Newsgroups: comp.lang.postscript Subject: Re: Removing ehandler.ps Without Turning Off Power Summary: Software Reset Message-ID: <24271@iuvax.cs.indiana.edu> Date: 4 Aug 89 15:56:49 GMT References: <1992@optilink.UUCP> Reply-To: hess@iuvax.cs.indiana.edu (Caleb Hess) Distribution: na Organization: Indiana University, Bloomington Lines: 25 In article <1992@optilink.UUCP> cramer@optilink.UUCP (Clayton Cramer) writes: >Does someone have some PostScript to restore the default error handler >after running ehandler.ps? I can turn off the printer to do this, >but it's a shared printer, and it's a lot more convenient to restore >the state by sending another file. >-- >Clayton E. Cramer {pyramid,pixar,tekbspa}!optilink!cramer >Deng Xiaoping: why every home needs a rifle. >---------------------------------------------------------------------------- >Disclaimer? You must be kidding! No company would hold opinions like mine! Here is a way to completely reset your printer without power cycling. We run this periodically to ensure that the printer's VM is not accumulating garbage (since PostScript doesn't do garbage collection). %! % Executes the systemdict/quit operator (as opposed to the userdict/quit % operator, which is synonymous with stop or EOF) to reinitialize PostScript % (suggested by Guy Riddle in comp.lang.postscript, 8/4/88) - hess serverdict begin 0 exitserver systemdict begin quit