Path: utzoo!attcan!uunet!mcvax!ukc!cam-cl!cet1 From: cet1@cl.cam.ac.uk (C.E. Thompson on jenny) Newsgroups: comp.lang.postscript Subject: Re: PostScript code needed to recover LaserWriter VM Message-ID: <868@scaup.cl.cam.ac.uk> Date: 11 Aug 89 15:12:17 GMT Sender: news@cl.cam.ac.uk Reply-To: cet1@cl.cam.ac.uk (C.E. Thompson) Organization: U of Cambridge Comp Lab, UK Lines: 27 In article <6318@oregon.uoregon.edu>, joe@oregon.uoregon.edu (Joe St Sauver) asks (effectively) for PostScript code to restore a LaserWriter to its newly switched-on state. For all varieties of LaserWriter I have met, the following will work: systemdict /quit get exec i.e. obey the "quit" operator from systemdict rather than the more usual one in userdict. Note that this will send the printer through its normal startup sequence (printing the test page, etc., depending on the eerom contents). The DTR signal on the RS-232 port will drop temporarily. You could make yourself quite unpopular doing this to LaserWriters with carefully setup contents. The Adobe PPD files have a "*Reset" entry for defining how to do this sort of thing. You are meant to prefix the code with the printer password, but at least up to PostScript 38.0 LaserWriters, it isn't actually necessary to do an "exitserver" before using the technique described above. Chris Thompson Cambridge University Computing Service JANET: cet1@uk.ac.cam.phx Internet: cet1%phx.cam.ac.uk@nsfnet-relay.ac.uk