[Asterisk-Users] Fax2mail

Colin Anderson
Tue, 06 Dec 2005 08:22:08 -0000

In your shell script that converts the file:

#!/bin/sh
FAXFILE=$1
EMAILADDRESS=$2
CALLERID=$3

tiff2ps -2eaz -w 8.5 -h 11 $FAXFILE | ps2pdf - $FAXFILE.pdf
mime-construct --to $EMAILADDRESS --subject "Fax from $CALLERID"
--attachment $CALLERID.pdf --type application/pdf --file $FAXFILE.pdf
rm $FAXFILE
rm $FAXFILE.pdf


Note the line that reads "tiff2ps" the -w and -h switch specify the
width
and height, in inches. Change according to your needs.

hth

-----Original Message-----
From: Andrew Nowrot [mailto:andrew.nowrot@gmail.com]
Sent: Tuesday, December 06, 2005 5:57 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Fax2mail

Hi

When I send a fax to email the image size is 1728x1139. I need to
change the image size to 1139x1728 what should I change to have this
size.

Cheers
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit: