home *** CD-ROM | disk | FTP | other *** search
- :
- # Print multiple mail-box files using psf filters
-
- # This prints a file name header with date at the top of
- # each mailbox page for identification purposes.
- # However, each mailbox print becomes a separate print job...
- #
- # The mail may be printed 1-up, 2-up, or 4-up as you see fit.
- # Change the paramter ----+
- # |
- # pmf "$1" | psf -4x -H "$1" | lp
-
- case $# in
- 0) echo "Usage: $0 mbox mbox ..."
- exit 0;;
- esac
-
- while test "$1" != ""
- do
- if test -f $1
- then
- pmf "$1" | psf -c 80 -4x -H "$1" | lp
- else
- echo "$0: mail box $1 does not exist."
- fi
- shift
- done
- exit 0
-