#! /bin/sh
#
# 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
# LICENSED MATERIALS - PROPERTY OF IBM
# REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
#
#$Header:ibmgra.sh 12.0$
#$ACIS:ibmgra.sh 12.0$
#$Source: /ibm/acis/usr/src/ibm/proff/RCS/ibmgra.sh,v $
# IBM 5152 Graphics Printer filter for nroff
# Pass all parameters (which come from lpd) to prfl
# On interrupt, kill subprocesses, clean up and exit
#
trap 'kill -1 `ps glww | awk "\\\$4 == $$ {print \\\$3}"` ; exit 1' 1
PATH="/usr/lib/ibmlp/"
colpro -f | prfl -g $*
