Not sure here, but would paragraph format work for this? I know that it works for data that is entered in a textarea field. It converts certain characters like carriage returns into single newline characters, and I believe that it takes HTML like the <P> tag and puts it into a double newline character.
Bruce Andy Chen wrote: > 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? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289776 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

