Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!cfa!kjk From: kjk@PacBell.COM (Ken Keirnan) Newsgroups: comp.lang.postscript Subject: Re: Setting emulation mode through software on a nec LC-890 Message-ID: <1524@cfa.cfa.harvard.EDU> Date: 20 Apr 89 21:57:48 GMT References: <1240@cmtl01.UUCP> Sender: news@cfa.harvard.EDU Reply-To: kjk@PacBell.COM (Ken Keirnan) Organization: Pacific * Bell, San Ramon, CA Lines: 38 In article <1240@cmtl01.UUCP> mdorion@cmtl01.UUCP (Mario Dorion) writes: > >Hi! > >I happen to have a SilentWriter LC 890 which is a full postscript laser [ text deleted ] >Is there a way from HP or Diablo emulation mode to 'escape' into postscript so >that I can change the mode back??? The sequence you are looking for is "ESC-DEL-0" (ASCII Escape, Delete, Zero) from the HP or the Diablo emulations. This should be followed after a second or two delay by a CTRL-D (ASCII EOT). This will return to the PostScript batch mode (mode 0). >As a side issue, the first part of my postscript program/script sets up the >system so that I can make permanent changes to the settings. Once I have set the >mode to whatever I wanted, how do I tell it to 'put the write protect back >on' ??? Actually, you do not need to use "exitserver" to change emulation modes. It is sufficient to use: statusdict begin setsoftwareiomode end followed by a short delay and a CTRL-D (EOT). Note that when changing between emulation modes, the CTRL-D is required before the new mode becomes effective. When you *do* need to use exitserver to permanently set data, the magic CTRL-D (PostScript end-of-job indicator) will return you to the PostScript server (the "protected" mode as you call it). Ken Keirnan -- Ken Keirnan - Pacific Bell - {att,bellcore,sun,ames,pyramid}!pacbell!pbhyf!kjk San Ramon, California kjk@pbhyf.PacBell.COM