[Asterisk-Users] Fax2mail
Technical Support
support at ocg.ca
Tue Dec 6 20:19:50 MST 2005
Are you sure you want to resize the image? Do you perhaps want to rotate
it?
Do you want to rotate every image before it arrives? (At 200 dpi, it seems
that you are just switching landscape to portrait)
Michelle Dupuis
Technical Support Specialist
Oxford Consulting Group Ltd.
Making IT work for your business...
T: (519) 672-8238
E: <mailto:support at ocg.ca> support at ocg.ca
W: <http://www.ocg.ca/> www.ocg.ca
------
Message: 17
Date: Tue, 6 Dec 2005 08:22:08 -0700
From: Colin Anderson <ColinA at landmarkmasterbuilder.com>
Subject: RE: [Asterisk-Users] Fax2mail
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
<asterisk-users at lists.digium.com>
Message-ID:
<E251506D3758AA4882130317D52ACD3206DDB5 at land-edm-hs2.landmarkhomes.net>
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:andrew.nowrot at gmail.com>
mailto:andrew.nowrot at gmail.com]
Sent: Tuesday, December 06, 2005 5:57 AM
To: asterisk-users at 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:
<http://lists.digium.com/mailman/listinfo/asterisk-users>
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/2607841b/attachment.htm
More information about the asterisk-users
mailing list