#!/bin/sh  
# high quality black and white printing using pbm BitMap format.
# uncomment or change these options as necessary
#PAPER=letter
#PAPER=legal
#PAPER=a4
#PAPER=a3
#PPAOPTS="-B 2"
PNM2PPA="/usr/local/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --bw $PPAOPTS -i - -o -
