Link to home
Start Free TrialLog in
Avatar of andrewaiello
andrewaiello

asked on

Converting html data to a PDF in coldfusion 6.1

Hello All,

     I am trying to use cfsavecontent to save information in page as a pdf document.  I know you can do this in CF 7 and later; tje server my company uses is coldfusion 6,1,0,83762  and cfsavecontent is giving me issues.  Is there anything I can do?   Thanks.
Avatar of andrewaiello
andrewaiello

ASKER

Why is this neglected?
Avatar of SidFishes
"Why is this neglected?" because I was away for the weekend ;)


You can try this tag. It claims to work... and it's free

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1001858

the other -standard- pre 7 pdf generator was/is cfx_pdf

http://www.cftagstore.com/tags/cfxpdf.cfm

however it's $200 bucks

another (probably best ...and free) method would be to use iText java with createObject

http://cephas.net/blog/2004/03/14/using-itext-pdf-coldfusion/
Thanks Sid...  and I wasn't saying you were neglecting me lol, it came up as a "neglected question" for some reason on EE.
hee... anything older than 2 or 3 days (i think) gets sent that automagically...

your q also gets a nifty icon that shows us anyone with an ee masters cert in the zone that the q is getting old without a response.

I see, strange thing was it came up as neglected the instant i posted it...maybe cause it was similar to an earlier question?
see.... -now- it's a neglected question ;P
Lol, i haven't got around to testing it yet (other work interrupted ).  I'll get there...eventually ;)
Okay, I was having trouble so I just shifted the project over to a coldfusion 8 server.  It's working now but I noticed that text size and color doesn't get accurately ported to the pdf (for instance text that is huge and white would become normal black text on the pdf);  any idea why?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of SidFishes
SidFishes
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Figured it was a style sheet thing.  Thanks Sid, as usual worked like a charm.