Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!yale!mintaka!ogicse!plains!dall From: dall@plains.UUCP (Brian Dall) Newsgroups: comp.lang.postscript Subject: Re: Help: Overriding DIPS on LaserWriter IINTX Message-ID: <5431@plains.UUCP> Date: 8 Aug 90 03:11:06 GMT References: <1990Aug7.225900.22721@sun.soe.clarkson.edu> Followup-To: comp.lang.postscript Organization: North Dakota State University, Fargo Lines: 32 In article <1990Aug7.225900.22721@sun.soe.clarkson.edu> whiteaj@clutx.clarkson.edu (Andrew White) writes: >I am using both a Mac and an IBM AT with my LaserWriter IINTX, and the >only way to use both (without making the AT support LocalTalk) is to >switch dip switch #2 back and forth, up for LocalTalk and down for RS- >232. The manual mentions (on page 125, I believe) that these switches >can be set by "downloading a PostScript program". I take that to mean >that PostScript can set the switches. The manual does not, however, >mention *how* to do this. > >Anyone have any suggestions? I don't have my red book handy, but this can be set using the setsccbatch commands, if I recall correctly. Darn, I wish I hadn't left it at work. Setting the port is a bit messy, because it requires an exitserver and after you set it, it "doesn't listen" to the port that was sending the program to change the port. Usually you need to send an EOF (ctrl-D, from the serial port) from the new device. It is similar to setting the speed from 9600 to 19200 bps and back again from the serial port. Send the program to change the speed, then change the speed of your comm program and ctrl-D to end the program. If you send anything after the line of code that changes the speed, you get gibberish and the printer responds with an error and "ingnoring until end of file." Also, if you are leaving the Mac connected to the printer, you may need to switch both dip 1 and 2. The NTX sees the connector for appletalk as a serial connector as well, and will lock on to it if the mac remains connected and ignore the 25-pin RS-232 port. Good Luck, -Brian Dall dall@plains.NoDak.edu