#!/bin/sh  
# ink economy mode color printing using ppm PixMap format.
# uncomment or change these options as necessary
#PAPER=letter
#PAPER=legal
#PAPER=a4
#PAPER=a3
#PPAOPTS="--fd"
PNM2PPA="/usr/local/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --eco $PPAOPTS -i - -o -
