home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:9357 comp.sys.sun.misc:5819
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!cadreor!fripp!usenet
- From: jh@cadre.com (Joe Hartley)
- Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc
- Subject: Re: SPARC Seriel <==> Apple LW IIg
- Message-ID: <1992Dec11.224319.13994@fripp.ri.cadre.com>
- Date: 11 Dec 92 22:43:19 GMT
- Article-I.D.: fripp.1992Dec11.224319.13994
- References: <1g8589INNme8@rave.larc.nasa.gov>
- Sender: usenet@fripp.ri.cadre.com (USENET News Poster Account)
- Reply-To: jh@cadre.com
- Organization: Cadre Technologies, Inc.
- Lines: 53
- Nntp-Posting-Host: xtc
-
- In article 1g8589INNme8@rave.larc.nasa.gov, arras@shark.icase.edu (Michael Arras) writes:
- >
- > I've heard that the Apple terminal I/O code in the LaserWriter IIg
- >(and IIf) is buggy. I've also heard that there is PostScript which can be
- >downloaded to the printer to fix this problem. Can anybody that has this
- >fix send it to me? I'd like to hear from anybody that has an Apple LW IIg
- >(or IIf) talking with their Sun SPARC over the RS-232 connection. What
- >does your printcap look like? Thank you.
- >
-
- I've got a LaserWriter IIg, which I got after having lots of success
- with a IINTX connected to an SLC's serial port. I had quite a bit of
- trouble getting the IIg connected to the serial port of an IPC running
- SunOS 4.1.1. In fact, once a day, the printer would just stop
- working. Print jobs would line up in the queue, and nothing I did
- short of power-cycling the IIg *and* rebooting the IPC would fix the
- problem. I was getting very tired of rebooting my machine.
-
- The story has a happy ending, though. Last week I replaced my IPC with
- an IPX running SunOS 4.1.3, and everything's been working fine. I don't
- know of any problems in the IIg's I/O code, but it wouldn't surprise me.
-
- Now, there are some gyrations I've had to go through. First off, though,
- let me show the printcap entry:
-
- lw:\
- :br#19200:lp=/dev/ttyb:mx#0:sf:sh:rw:\
- :ms=ixon,ixoff,-parity,-isig,igncr,cstopb,-echok:\
- :lf=/usr/spool/lw/log:sd=/usr/spool/lw:
-
- So far, so good. Now, I started running into a problem while printing from
- Liken, the Mac emulator, which specifically requires a LaserWriterII! The
- kind folks at Liken gave me a short script which I now use wherever I would
- use an "lpr -Plw". Here it is:
-
- #!/bin/csh -f
- sed -e "/^ok/,/^%%/d" $1 | lpr -Plw
-
- As it stands right now, this will not print plain text files. For any ASCII
- to PostScript conversion, I use the program "asc2ps", which is part of the
- freely available package psroff. That package also allows you to build in
- an automatic ASCII-to-PS filter in the printcap, but I haven't gotten to it
- yet :-)
-
- Hope this helps!
-
- ===============================================================================
- Joe Hartley | jh@cadre.com - Whenever you find that you are on the
- Cadre Technologies | side of the majority, it is time to reform. - M. Twain
- 222 Richmond St. | --------------------------------------------------------
- Providence, RI 02903 | Overman 1st Class - the Kilgore Trout Memorial Clench
- (401) 351-5950 x266 | of the Church of the SubGenius
- ===============================================================================
-