#! @SHELL@
#
# Copyright 2002-2010 S. Varshavchik.  See COPYING for
# distribution information.
#

. @filterbindir@/init

cat >$OUTDIR/.pdf
@PDFTOPS@ -q $OUTDIR/.pdf $OUTDIR/.ps
rm -f $OUTDIR/.pdf

$GS -P -sDEVICE=faxg3 $FAXRES -dBATCH -sOutputFile=$OUTDIR/f%04d -dNOPAUSE -q -dSAFER - <$OUTDIR/.ps
