#!/bin/bash

if [ -z "$1" ]
then
  exit 1
fi

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

cat $1|lpr
rm -f $1
