--
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Tom Crow email to tc...@relay.nswc.navy.mil
Mathematician/System Administrator o
Naval Surface Warfare Center, Dahlgren Division /|-'
Dahlgren, VA `|\ o
` `
"Don't tell me I'm burning the candle at both ends --
Tell me where to get more wax!"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Modify the printer script(s). Usually, you can use the "file" command to
determine is a file is postcript. If it is, you can reject it, or print
out an error page. The logic would be something like this (this is not
perfect, just a guess):
filetype = `/usr/bin.file $1`
if [ $filetype -eq "Postscript" ]
then
exit 1
else
... print the file
--
* Noel Hunter, Academic Systems Administrator, Wake Forest University *
* no...@wfu.edu TEL:(910) 759-5812 MAIL:PO Box 7408 Winston-Salem, NC 27109 *