# set print spooler command
PRINT=""

# set list of PostScript output files to print
PSFILES="PS.doc PS.appA PS.appB"

# run document parts and create PostScript output files
eqn grap.doc | troff -Tpost - | dpost >PS.doc
eqn grap.appA | troff -Tpost - | dpost >PS.appA
eqn grap.appB | troff -Tpost - | dpost >PS.appB

# print document parts if PRINT is set
if [ x"$PRINT" != "x" ]; then
   $PRINT $PSFILES
fi
