#! /bin/sh -f
# convert tek file to ps and print
#
# 10/02/98 C.Ludescher
#
# To call: xtc_print printcommand tekfile pro_dir
# tek2ps must be in the PATH
#
PCMD=$1
FRAME=$2
PSFILE=${FRAME}.ps
DIR=$3
tek2ps -o $PSFILE -p $DIR/tek2ps.pro $FRAME
$PCMD $PSFILE
rm -f $PSFILE  $FRAME
