home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / appletal / 3340 < prev    next >
Encoding:
Text File  |  1992-09-09  |  3.3 KB  |  89 lines

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