# 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
tbl tbl.doc | eqn | troff -Tpost - | dpost >PS.doc
tbl tbl.appA | eqn | troff -Tpost - | dpost >PS.appA
tbl tbl.appB | troff -Tpost - | dpost >PS.appB

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