Basically what I did is I am using the CFEXCHANGE tag to strip out E-mail from 
the exchange server, store it into a database and can use CFDOCUMENT to make 
PDF files out of them. The tricky part is not everyone formats their E-mail the 
same way.

The problem is, even though it appears properly in HTML... CFDOCUMENT layout 
changes from one E-mail to another. Some text will squeeze together in 
appearance and most importantly printing (if you cut and paste through notepad, 
the space is still there). So what looks properly if printed directly from 
Outlook... format looks 

I tried various tips online from changing margins, scale... but it might work 
for some but not all the layouts. All I want is just so it looks the same as 
the HTML I see on the non-PDF page. 

Stuff I tried:
- Basic wrapping CFDOCUMENT around the content I want to display
- Wrapping the whole content that I want to display in <cfsavecontent 
variable="PDFContent"> and then put the CFDOCUMENT around a CFOUTPUT of the 
CFCONTENT.

This is the parameters I use for the CFDOCUMENT:
<cfdocument format="pdf" localurl="yes" pagetype="letter" 
orientation="portrait" fontembed="yes" scale="100">

Am I doing something wrong? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289775
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to