home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.appletalk
- Path: sparky!uunet!email!berlin.tuwien.ac.at!purgi
- From: Peter Purgathofer <purgi@iguwnext.tuwien.ac.at>
- Subject: Re: CAP for NeXT
- Message-ID: <1992Sep10.110338.22093@email.tuwien.ac.at>
- X-Xxmessage-Id: <A6D4F84B6D02B604@berlin.tuwien.ac.at>
- X-Xxdate: Thu, 10 Sep 92 13: 04:11 GMT
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: berlin.tuwien.ac.at
- Organization: Institute for Assessment and Design of Technology
- X-Useragent: Nuntius v1.1.1d9
- References: <1992Sep9.101844.8397@email.tuwien.ac.at>
- Date: Thu, 10 Sep 1992 11:03:38 GMT
- Lines: 73
-
- In article <1992Sep9.232917.27659@leland.Stanford.EDU> Moriyoshi Ohara,
- ohara@leland.Stanford.EDU writes:
- >Could you (or someone else) please send the article
- (comp.sys.next.misc:14679)
- >to me?
- Well, of course. Here is goes:
-
- **************************************************************
- A week ago I posted a message asking for help in setting up my NeXT so
- that I could print to the NeXT laserprinter from AppleTalk Macintoshes.
-
- Thanks to some helpful hints, I now have it working correctly, and here's
- a schematic of how to do it:
-
- 1. Get CAP-60 from anonymous ftp at rutgers.edu . This is the Columbia
- Apple Talk protocol package and it includes a daemon that fools Mac's into
- thinking that any printer connected to the UNIX machine running CAP is a
- LaserWriter.
-
- 2. Follow the directions for compiling and installing CAP. If you follow
- directions for compiling on a BSD system and use all the defaults,
- everything compiles fine (with a few compiler warnings).
-
- 3.Place an atalk.local file in /etc . This requires knowing certain info
- such as what the address of the LocalTalk/Ethernet gateway is. I asked the
- local Apple SysAdmin for this info. Again, the instructions are clear.
-
- 4.Add the appropriate port numbers to /etc/services and MAKE SURE TO
- LOAD
- /etc/services INTO NETINFO.
-
- 5. Fire-up CAP by executing the "start-cap-services" script.
-
- 6. make a directory for lwsrv to put Mac ProcSets into (I used
- /usr/local/lib/cap/procsets)
-
- 7. Construct a Font list, or use one of the ones given (I used the
- LWPlusFont list, copying it into /usr/local/lib/cap)
-
- 8. Fire-up the lwsrv program (this is the daemon to imitate a laserwriter)
- with the default arguments (described in the lwsrv man page included with
- cap60) AND MAKE SURE YOU ALSO TURN ON THE TRANSCRIPT
- COMPATIBILITY
- OPTIONS:
-
- i.e. this is the command I use:
-
- lwsrv -n NeXTPrinter -p Local_Printer -a /usr/local/lib/cap/procsets \
- -f /usr/local/lib/cap/LWPlusFonts -t "cr to lf" -t "quote 8-bit" \
- -t makenondscconformant
-
- 9. Now, go to a Mac, pull up the chooser, select "LaserWriters", and you
- should see your printer (if you use the command above, it will be called
- "NeXTPrinter"). Print something VERY small (say a line of text). THIS WILL
- NOT ACTUALLY SUCCEED. The lwsrv on the NeXT will capture to
- appropriate
- procset and place it in the procset directory, but unless edited according
- to the instructions, it will cause PostScript errors.
-
- 10. Follow the lwsrv installation instructions and remove the "stretch"
- and "smooth" code from the captured procset.
-
- NOW it should print properly.
-
- If you like, put the commands to start the cap services and lwsrv in
- /etc/rc.local so they will start automatically at boot time.
-
- Good luck!
-
- Jeff Wishnie
- Stanford/CSLI
- jwishnie@roadkill.stanford.edu
- ***************************************************************
-