#!/bin/bash

if [ "$1" = "" ]
then
  exit 1
fi

A=`which lpr`
if [ "$A" = "" ]
then
  exit 1
fi

cat $1|lpr
rm -f $1
