home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!cadreor!fripp!usenet
- From: jh@cadre.com (Joe Hartley)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Apple LW-IIg and sun-transcript
- Message-ID: <1992Nov19.201259.4334@fripp.ri.cadre.com>
- Date: 19 Nov 92 20:12:59 GMT
- Article-I.D.: fripp.1992Nov19.201259.4334
- References: <1ee593INNieu@life.ai.mit.edu>
- Sender: usenet@fripp.ri.cadre.com (USENET News Poster Account)
- Reply-To: jh@cadre.com
- Organization: Cadre Technologies, Inc.
- Lines: 61
- Nntp-Posting-Host: xtc
-
- In article 1ee593INNieu@life.ai.mit.edu, bruce@maypo.ai.mit.edu (Bruce Walton) writes:
- >
- >Hello,
- >
- >I'm having trouble installing an Apple LaserWriter IIg printer using
- >sun's transcript spooling software.
-
- Welcome to the club of frustrated IIg owners.
-
- >I'm confused about the compatability of this new model LaserWriter
- >IIg. It was purchased as a replacement for an old LWII-NTX, which has
- >always worked just fine at 38400-baud using our (very ancient)
- >sun-transcript software.
-
- At least I'm not using transcript!!
-
- I, too, bought the IIg because I was very happy with the NTX. I had some
- frustrations with it, beginning with the serial port configurations. I
- finally gave up and set the thing for config #2, which at least gives
- me 19200 baud.
-
- >
- >OK, so we suppose that 19200-baud is the best we can do for now,
- >and proceed to set up the printer.
- >
- >Second problem: Postscript files spooled to the printer produce an
- >error message "WARNING: Check spooled PostScript for control
- >characters" (and sometimes "printer out of sync"). This, even though
- >the postscript seems to print OK. In looking at the code for
- >sun-transcript's "pscomm" filter, it seems that this error is
- >generated when the process sees control codes sent back from the
- >printer before the job has finished printing.
- >
-
- Without transcript, I was able to print PostScript pretty well once I
- got done cursing the Apple gods who made this sucker so simple, a moron
- could set it up (of course, if you're not a moron, you're stuck :-).
-
- It turned out that the one application that would *not* print to the IIg
- was Liken. This is really ironic, since Liken is the Mac emulator that
- *requires* a LaserWriter for its output! Anyway, after a discussion with
- an XSI tech, I got the following fix. It's a shell script which strips
- out extraneous gar-bage that the IIg was choking on. Since I was also
- getting some errors with output generated by 'asc2ps' (an ASCII->PS program),
- I tried running those through the script and haven't had a problem yet.
- Here's the script:
-
- #!/bin/csh
- sed -e "/^ok/,/^%%/d" $1 | lpr -Plw
- rm -f $1
-
- I called it lp_lw, and i call it instead of "lpr -Plw". 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
- ===============================================================================
-