Path: utzoo!attcan!cmtl01!mdorion From: mdorion@cmtl01.UUCP (Mario Dorion) Newsgroups: comp.lang.postscript Subject: Setting emulation mode through software on a nec LC-890 Message-ID: <1240@cmtl01.UUCP> Date: 19 Apr 89 15:03:11 GMT Organization: AT&T Canada Inc., Montreal Lines: 46 Hi! I happen to have a SilentWriter LC 890 which is a full postscript laser printer made by NEC. Besides full postscript (batch & interactive) it offers a fairly good Hp LaserJet & Diablo emulation. A little control pannel lets the user set the machine's state (including emula- tion mode) but I would like to be able to select the mode from software. I have managed to write a postscript 'program' that puts the printer in HP mode ---------- executive * To put the printer in postscript interactive serverdict begin 0 exitserver * So that the settings I do will last for more than 1 job executive * since the precedent line ended the current job and restarted me in postscript batch statusdict begin * so that I have access to the system's status variable 5 setsoftwareiomode * into HP mode end * Voila, I'm in HP ---------- Now I really don't know how to do the other half of the job! Is there a way from HP or Diablo emulation mode to 'escape' into postscript so that I can change the mode back??? 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' ??? Thanks in advance, merci! PS: I *did* RTFM and it's not there! -- Mario Dorion | E-mail: xios!mario@cmtl01.UUCP XIOS Systems | ...uunet!attcan!cmtl01!xios!mario Montreal, Canada | 1 (514) 744-3410 |"All the young dudes carry the news ..." - Bowie