Hello,

 

for all who want to fax excel documents.

Be sure html2ps is installed.

Get xlhml from freshmeat.net. Install it

touch /usr/lib/courier/share/faxmail/application-vnd-ms-excel.filter.

 

Now here is my /usr/lib/courier/share/faxmail/application-vnd-ms-excel.filter

 

#! /bin/sh

# $Id: application-excel.filter 15.09.06 dm

#

 

#

 

. /usr/lib/courier/share/faxmail/init

 

cat >$OUTDIR/.xls

/usr/local/bin/xlhtml -a   $OUTDIR/.xls > $OUTDIR/.html

rm -f $OUTDIR/.xls

/usr/bin/html2ps $OUTDIR/.html > $OUTDIR/.ps

rm -f $OUTDIR/.html

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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to