home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / util / gatepost.sit / LW-Gateway.DOC < prev    next >
Text File  |  1988-11-02  |  5KB  |  123 lines

  1. 21-Feb-88 17:39:28-MST,47947;000000000000
  2. Return-Path: <INFO-MAC-REQUEST@SUMEX-AIM.Stanford.EDU>
  3. Received: from SUMEX-AIM.Stanford.EDU by SIMTEL20.ARPA with TCP; Sun, 21 Feb 88 17:38:10 MST
  4. Return-Path: <digiorgi@VLSI.JPL.NASA.GOV>
  5. Received: from VLSI.JPL.NASA.GOV by SUMEX-AIM.Stanford.EDU with TCP; Mon, 25 Jan 88 09:25:34 PST
  6. Date:    Mon, 25 Jan 88 09:01:57 PST
  7. From:     digiorgi@VLSI.JPL.NASA.GOV
  8. Message-Id: <880125090157.8a9@VLSI.JPL.NASA.GOV>
  9. Subject: LaserWriter Gateway 
  10. To:       info-mac@sumex-aim.stanford.edu
  11. X-ST-Vmsmail-To: JPLLSI::ST%"INFO-MAC@SUMEX-AIM.Stanford.EDU"
  12. ReSent-Date: Sun, 21 Feb 88 16:35:15 PST
  13. ReSent-From: Lance Nakata <INFO-MAC-REQUEST@SUMEX-AIM.Stanford.EDU>
  14. ReSent-To: info-mac-redist: ;
  15. ReSent-Message-ID: <12376611090.22.INFO-MAC-REQUEST@SUMEX-AIM.Stanford.EDU>
  16.  
  17. GatePost: An RS-232 to LaserWriter Gateway for PostScript.
  18.  
  19. GatePost is a Macintosh standalone program that listens to a serial
  20. line (modem port), channelling all data to a "chosen" LaserWriter through
  21. the use of Apple's Printer Access Protocol (PAP).  This obviates manual
  22. switching of the LaserWriter between Appletalk and RS-232 clients.
  23.  
  24. The program can emulate a LaserWriter to the extent that is used by
  25. unix programs (eg lpr, lpd, ditroff etcI).  Output of said programs
  26. is assumed to be in PostScript form.  
  27.  
  28. What GatePost cannot do is provide Adobe's monitor session that is
  29. available through a direct RS-232 LaserWriter connection.  
  30.  
  31. Errors are fed back through the RS-232 line, with a Macintosh relative
  32. time-stamp prepended.  Apart from that, the errors are the same one
  33. would expect from a LaserWriter.
  34.  
  35. What you have to provide GatePost:
  36.  
  37. *    A dedicated Mac.
  38. *    An Appletalk connection to the Mac.
  39. *    An Appletalk connection to one or more LaserWriters.
  40. *    An RS-232 connection (host) supplying PostScript text.
  41. *    The host must support the XOn/XOff protocol.
  42. *    The host must be able to detect whether GatePost is alive.  One good
  43.     way is to monitor the DCD/DTR line.  The author recognises that this
  44.     is a problem on the old (64k ROM) Macs.
  45.  
  46. What GatePost can provide for you:
  47.  
  48. *    Virtual switching without wreaking havoc on Appletalk.
  49. *    Through the chooser DA, access to any LaserWriter connected to Appletalk.
  50. *    A truce to religious wars (unix vs Mac/Appletalk).
  51. *    A configurable RS-232 interface.
  52. *    Full PostScript error reporting.
  53. *    Support for any host, not just unix.
  54. *    PostScript streams with or without job-boundaries.  Typically, unix
  55.     PostScript print jobs have ^D's at each extreme.  This is not necessary
  56.     though, as a timeout mechanism will automatically release the LaserWriter
  57.     connection.  This also means that one cannot have an "interactive"
  58.     session from the RS-232 host.
  59. *    Fair arbitration of the LaserWriter if ^D's are present in the PostScript
  60.     stream.  GatePost will release the LaserWriter between print jobs,
  61.     and has to poll said device on an equal footing with other Appletalk
  62.     clients.
  63.  
  64. Usage:
  65.  
  66. *    "Choose" the required LaserWriter before activating GatePost.
  67. *    The first thing GatePost does is hunt for the chosen LaserWriter.
  68.     If it cannot be opened within a certain time (which may occur if the
  69.     printer busy), then it will continue no further.
  70. *    The user is next able to configure the RS-232 port.  This is achieved
  71.     through the "config" menu.
  72. *    Starting, stopping and quitting is controlled through the "file"
  73.     menu.  Once active, a "stop" or "quit" request is delayed until PostScript
  74.     data is exhausted.
  75. *    Certain RS-232 errors are treated as non-fatal.  The port is closed
  76.     to enable a re-configuration.  LaserWriter errors are considered fatal.
  77.     These are distinct from PostScript errors.
  78.  
  79. Notes:
  80.  
  81. *    GatePost (version 1.6) has not been thoroughly tested on all Macs,
  82.     nor configurations.  It can be used on a 512k Mac (64k ROM), but the
  83.     9600 baud option is disabled - it cannot keep up.  It behaves itself
  84.     if initially configured correctly on said Mac(hine), but has been observed
  85.     to go gaa-gaa in abnormal circumstances.  The author is still investigating
  86.     the cause of this.  
  87. *    It has been used (and abused) on a Mac+ and a 512kE with no ill effect.
  88.  
  89. *    The ideal Mac to run GatePost on would be a 128k, as they would be
  90.     dirt cheap, thus cost effective.
  91.  
  92. The author would like to thankI 
  93.  
  94. *    Alan B Oppenheimer (PSDump - Apple Computer), and Bob Denny (PAP
  95.     driver in Lightspeed C, MacTutor Sept '86 - Alisa Systems) for clues
  96.     in the writing of this program.
  97. *    THINK Technologies for Lightspeed Pascal.
  98.  
  99. The author would appreciate any feedback and can be reached at (the
  100. moment )I
  101.  
  102. rcopm@yabbie.rmit.oz     ACSnet, CSNET
  103. I!seismo!munnari!yabbie.rmit.oz!rcopm    UUCP
  104. rcopm%yabbie.rmit.oz@seismo    ARPA
  105. rcopm%yabbie.rmit.oz@CSNET-RELAY    BITNET
  106.  
  107. Royal Melbourne Institute of Technology,    SMAIL
  108. Department of Communication & Electronic Engineering,
  109. GPO Box 2476V,
  110. Melbourne 3001.
  111.  
  112. +61 3 660 2619    PHONE
  113.  
  114. Feel free to distribute GatePost.
  115. Do not sell GatePost.
  116. Do not modify GatePost.
  117. This document should accompany all copies of GatePost.
  118.  
  119.         Enjoy,
  120.          PAUL N MENON
  121.          
  122. [ Uploaded to Info-Mac by Godfrey DiGiorgi, January 24, 1988 ]
  123.