home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / unix / paintps.sha / psmac.csh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1986-07-08  |  993b  |  27 lines

  1. #!/bin/csh -f
  2.  
  3. # PS file made by a mac, uses rf (fortran) type
  4.  
  5. # This script is intended to be named in the printcap
  6. # as the "rf" filter.  We chose that because it is for
  7. # files of the "Fortran" type (whatever that means) and
  8. # was unused.  Any of the unused printcap filter slots will
  9. # do as well, so long as Mac postscript files are spooled
  10. # with the proper flag to lpr.  We use a shell script called
  11. # maclaser to do that and hide it from the user.
  12.  
  13. # The laser-prep.pro file prepended here must be modified for
  14. # non-permanent download.  The standard one as extracted from
  15. # an Apple disk will not work.  The mods are trivial.
  16. # Your pathname may vary, I got tired of chasing fonts all
  17. # over the filesystem so I put everything under one directory.
  18. # Ron Hitchens    U of Texas CS    (hitchens@sally.utexas.edu)
  19.  
  20. cat /usr/local/lib/allfonts/postscript/laser-prep.pro - | \
  21.     /usr/local/lib/macfilter | \
  22.     /usr/local/lib/psif $*
  23.  
  24. if ( $status ) exit 2        # An error, throw the job away
  25. exit 0
  26.  
  27.