home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
unix
/
paintps.sha
/
psmac.csh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1986-07-08
|
993b
|
27 lines
#!/bin/csh -f
# PS file made by a mac, uses rf (fortran) type
# This script is intended to be named in the printcap
# as the "rf" filter. We chose that because it is for
# files of the "Fortran" type (whatever that means) and
# was unused. Any of the unused printcap filter slots will
# do as well, so long as Mac postscript files are spooled
# with the proper flag to lpr. We use a shell script called
# maclaser to do that and hide it from the user.
# The laser-prep.pro file prepended here must be modified for
# non-permanent download. The standard one as extracted from
# an Apple disk will not work. The mods are trivial.
# Your pathname may vary, I got tired of chasing fonts all
# over the filesystem so I put everything under one directory.
# Ron Hitchens U of Texas CS (hitchens@sally.utexas.edu)
cat /usr/local/lib/allfonts/postscript/laser-prep.pro - | \
/usr/local/lib/macfilter | \
/usr/local/lib/psif $*
if ( $status ) exit 2 # An error, throw the job away
exit 0