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.
Web ServersAdobe Acrobat

Avatar of undefined
Last Comment
andrewaiello

8/22/2022 - Mon
ASKER
andrewaiello

Why is this neglected?
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/
ASKER
andrewaiello

Thanks Sid...  and I wasn't saying you were neglecting me lol, it came up as a "neglected question" for some reason on EE.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SidFishes

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.

ASKER
andrewaiello

I see, strange thing was it came up as neglected the instant i posted it...maybe cause it was similar to an earlier question?
SidFishes

see.... -now- it's a neglected question ;P
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
andrewaiello

Lol, i haven't got around to testing it yet (other work interrupted ).  I'll get there...eventually ;)
ASKER
andrewaiello

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
SidFishes

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
andrewaiello

Figured it was a style sheet thing.  Thanks Sid, as usual worked like a charm.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy