#!/bin/sh # This script is run everytime the steric 'plot' command is used. # It attempts to plot to the laser printer on port lp0 # Note. This file is currently set up to work on a unix machine # with LaTeX and gnuplot installed and in the path. # #gnuplot steric.plt $1.plt >gnuplot.log #cat ${STERICHOME}/steric.TeX $1.TeX >$1.tex #echo \\end{document} >>$1.tex #latex $1.tex #dvilj $1.dvi #lpr -Plaser $1.lj