Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!chinacat!woody From: woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal) Newsgroups: comp.lang.postscript Subject: Re: IBM 4019 Emulation Switching Summary: emulation switching... Message-ID: <1464@chinacat.Unicom.COM> Date: 5 Aug 90 03:35:28 GMT References: <90215.111938SMITHM@QUCDN.BITNET> Organization: a guest of Unicom Systems Development, Austin Lines: 53 In article <90215.111938SMITHM@QUCDN.BITNET>, SMITHM@QUCDN.QueensU.CA writes: > option. He wants to also print PCL files. Over the past several weeks > I've been trying to get IBM Support in Toronto to tell me how to switch > emulation modes via software. IBM faxed me a manual page that was supposed > to be the answer. The fact that the sequence showed how to go from IBM > > This whole matter has been incredibly frustrating. The owner of the 4019 > is rightly p*ssed off because he was told before he bought the unit that > the mixed PCL/PostScript usage would be no problem. I have not had any experience with the 4019. Which version of PS does it use? There actualy are a couple of ways to do the switching. If the printer supports setsoftwareiomode that should do it, otherwise you might try the following: it works with some printers, but depends on undocumented stuff in statusdict. This also has a patch to fix the missing tray switching command in the PS800II. That patch works by starting the hp emulator in Postscript and then exiting it, sending it a space followed by the hp tray switch escape sequence, followed by a space. The code defines a procedure by the name of the escape sequence, that causes the tray to be switched and the emulation to be started again. It bypasses the reset of the tray to the default tray, as the original invocation of HPLJ mode did. You might also try exehplj some printers have that command in the status dict. If you have a bidirectional connection, try the following using an interactive terminal emulation program with screen capture executive This will get you to interactive ps mode. then: /serverdict load {== ==} forall /statusdict load {== ==} forall /$printerdict laod {== ==} forall will dump the internal dictionaries back to you. Capture them, and look for the openswitch procedures. If you do capture these, I'd like a copy of them, as I am collecting dumps of statusdicts, and serverdicts. Hope that this helps some. DISCLAIMER: I've never even *seen* a IBM 4019... Cheers Woody Baker