Do you want to rotate every image before it arrives? (At 200 dpi, it seems that you are just switching landscape to portrait)
Technical Support Specialist
Oxford Consulting Group Ltd.
Making IT work for your business...
------
Message: 17
Date: Tue, 6 Dec 2005 08:22:08 -0700
From: Colin Anderson <[EMAIL PROTECTED]>
Subject: RE: [Asterisk-Users] Fax2mail
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
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:[EMAIL PROTECTED]]
Sent: Tuesday, December 06, 2005 5:57 AM
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:
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
