Re: HTML2PDF
CF_HTML2PDF like seems a great tool. Anybody use it with CSS? It's possible? Anymore ideas, apps, tools to do that? Thanx for your time. Figured it out... The directory is named cfusionMX not cfusion hahaha.. I wish I had access to the server so I can see these things for myself! Thanks for all the help. -Original Message- From: Hamm, Greg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2003 1:44 PM To: CF-Talk Subject: RE: HTML2PDF Can you run HTMLDOC in a GUI mode? Greg Hamm Partner Coreillia Development [EMAIL PROTECTED] http://www.coreillia.com -Original Message- From: Clint [mailto:[EMAIL PROTECTED] Sent: May 1, 2003 1:43 PM To: CF-Talk Subject: Re: HTML2PDF nope. I am running HTML doc 1.8.8 with no issues and I am all out of ideas. Clint - Original Message - From: Tim Do [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, May 01, 2003 3:34 PM Subject: RE: HTML2PDF I created a folder called htmldoc and put it in.. there same thing.. Also it the the parameters a CFML 3. CF to [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: HTML2PDF
Check out this article at CFDJ, on using FOP to generate PDF's: http://www.sys-con.com/story/?storyid=44771DE=1 -joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: html2pdf more
I installed the binaries and haven't had any problems. Eric From: "MIKE GEORGE" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: html2pdf more Date: Wed, 18 Apr 2001 06:41:07 -0400 Thanks for the input, but one more question, I noticed in the documentation on it, it said you also needed to have an ANSI C compiler and the FLTK. Did you download these as well, or only htmldoc. Thanks Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: html2pdf more
Nope. Didn't even notice that part. Unless I've got them installed from something else, I didn't install them, just the htmldoc.exe and the cfx tag. J. John Wilker Web Applications Consultant Allaire Certified ColdFusion Developer www.red-omega.com http://www.red-omega.com Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi Brings Your Ancestors Back From the Grave" in Chinese. -Original Message- From: MIKE GEORGE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 3:41 AM To: CF-Talk Subject: html2pdf more Thanks for the input, but one more question, I noticed in the documentation on it, it said you also needed to have an ANSI C compiler and the FLTK. Did you download these as well, or only htmldoc. Thanks Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: html2pdf
If that doesnt do the deal for you .. you may consider www.activePDF.com's toolsets. They even have CF examples :-) Steve - Original Message - From: "MIKE GEORGE" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 1:29 PM Subject: html2pdf Has anyone used the html2pdf in the allaire gallery? If so, I would appreciate some comments on how well it is working. Also could use a little help in getting going. Thanks Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: html2pdf
It took some tweaking but I was able to get it running. Here's the tag I call to get my PDF. CFX_html2pdf htmldoc="e:\apps\html_doc\htmldoc.exe" inputfile="e:\inetpub\wwwroot\dtmc\invoices\Invoice_#qGetInvoiceData.Invoice Num#.html" outputfile="e:\inetpub\wwwroot\dtmc\invoices\Invoice_#qGetInvoiceData.Invoic eNum#.pdf" options="--logoimage e:\inetpub\wwwroot\dtmc\images/invoice_logos/red_omega.gif,--header ..l.,--webpage -f" You have to make sure to have the htnldoc installed. Also if you want the logo image to work name the file logo. i.e. Img src="" name="logoimage" Hope that helps some. J. John Wilker Web Applications Consultant Allaire Certified ColdFusion Developer www.red-omega.com http://www.red-omega.com Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi Brings Your Ancestors Back From the Grave" in Chinese. -Original Message- From: MIKE GEORGE [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 1:29 PM To: CF-Talk Subject: html2pdf Has anyone used the html2pdf in the allaire gallery? If so, I would appreciate some comments on how well it is working. Also could use a little help in getting going. Thanks Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: html2pdf inconsistancies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, Maybe try locking the cfhttp call. Aaron Johnson, MCSE, MCP+I Allaire Certified ColdFusion Developer MINDSEYE, Inc. phn617.350.0339 fax617.350.8884 icq66172567 [EMAIL PROTECTED] ___ "Never forget that only dead fish swim with the stream." -- Malcolm Muggeridge ___ - -Original Message- From: Kevin Willyerd [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 9:34 AM To: CF-Talk Subject: html2pdf inconsistancies I am trying to use the html2pdf tag. Sometimes it works (generating the pdf file) other times it doesn't. I thought that maybe the file was not getting written in time to be read so I tried a couple of loops to check. (They are commented out in the code below). The behavior did not change. Has anyone had any luck with getting this tag to run consistently? !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head titlePdf Display/title /head body !--- cfset filename='test' --- cfset filename='File'#session.cfToken##month(now())##day(now())##hour(no w())# #minute(now())##second(now())# cfoutput#filename#/cfoutput !--- Generate static file from cfm template --- cfhttp url="http://64.219.64.36/webmonkey/itineraryresults.cfm" method="POST" resolveurl="false" timeout="60" throwonerror="Yes" cfhttpparam type="FORMFIELD" name="day" value="2,3,9,10" cfhttpparam type="FORMFIELD" name="genrelist" value="1,2,3,4,5" cfhttpparam type="FORMFIELD" name="d2" value="0,0,0,0" /cfhttp !--- Write page to file --- cfoutput CFLOCK name="#Session.cftoken#" TIMEOUT="30" cffile action="WRITE" file="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" output="#cfhttp.filecontent#" nameconflict="OVERWRITE" attributes="Normal" /cflock /cfoutput !--- Send file to screen --- cfoutput#cfhttp.filecontent#/cfoutput !--- Make sure file is written --- !--- cfoutput cfloop condition="#file.FileWasSaved#" cfset x=1 /cfloop /cfoutput --- !--- cfloop index="w" from="1" to="1" cfset w=w+1 /cfloop --- !--- Create pdf file --- !--- cflock name="#Session.cftoken#" TIMEOUT="30" cfoutput cfx_html2PDF htmldoc="c:\htmldoc\htmldoc.exe" INPUTFILE="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" OUTPUTFILE="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.pdf" OPTIONS="--webpage -f" /cfoutput /cflock --- !--- !--- Delete static html file --- CFLOCK name="#Session.cftoken#" TIMEOUT="30" cfoutput cffile action="Delete" file="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" /cfoutput /cflock !--- Add print Button --- cfoutput To print clicka href="files/#filename#.pdf"HERE/a! /cfoutput --- /body /html Kevin Willyerd Cold Fusion Developer [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: html2pdf inconsistancies
1. Make sure HTMLDOC.exe works fine with the static htm file. Create the htm on the harddisk. Use HTMLDOC.exe application to generate the pdf. Open the generated pdf with Adobe Reader. If Acrobat can't open the file or HTMLDOC crashes then check the static htm file. 2. Validate the static HTML code. You can use ColdFusion(Tools, Validate Document from the top menu) to validate the code. I found that TR/TR sequence crashes HTMLDOC.exe version 1.8. You might find other cases where HTMLDOC is not going to be able to create the pdf file. So, you need 100% valid HTML. The browsers are very forgivingHTMLDOC is not. 3. Check the HTMLDOC documentation for the supported HTML tags. 4. Good luck. Jan Perlmutter Cold Fusion Developer Kevin Willyerd [EMAIL PROTECTED] on 12/15/2000 09:33:55 AM Please respond to [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] cc:(bcc: Jan Perlmutter/BISYS_BPS) Subject: html2pdf inconsistancies I am trying to use the html2pdf tag. Sometimes it works (generating the pdf file) other times it doesn't. I thought that maybe the file was not getting written in time to be read so I tried a couple of loops to check. (They are commented out in the code below). The behavior did not change. Has anyone had any luck with getting this tag to run consistently? !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head titlePdf Display/title /head body !--- cfset filename='test' --- cfset filename='File'#session.cfToken##month(now())##day(now())##hour(now())# #minute(now())##second(now())# cfoutput#filename#/cfoutput !--- Generate static file from cfm template --- cfhttp url="http://64.219.64.36/webmonkey/itineraryresults.cfm" method="POST" resolveurl="false" timeout="60" throwonerror="Yes" cfhttpparam type="FORMFIELD" name="day" value="2,3,9,10" cfhttpparam type="FORMFIELD" name="genrelist" value="1,2,3,4,5" cfhttpparam type="FORMFIELD" name="d2" value="0,0,0,0" /cfhttp !--- Write page to file --- cfoutput CFLOCK name="#Session.cftoken#" TIMEOUT="30" cffile action="WRITE" file="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" output="#cfhttp.filecontent#" nameconflict="OVERWRITE" attributes="Normal" /cflock /cfoutput !--- Send file to screen --- cfoutput#cfhttp.filecontent#/cfoutput !--- Make sure file is written --- !--- cfoutput cfloop condition="#file.FileWasSaved#" cfset x=1 /cfloop /cfoutput --- !--- cfloop index="w" from="1" to="1" cfset w=w+1 /cfloop --- !--- Create pdf file --- !--- cflock name="#Session.cftoken#" TIMEOUT="30" cfoutput cfx_html2PDF htmldoc="c:\htmldoc\htmldoc.exe" INPUTFILE="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" OUTPUTFILE="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.pdf" OPTIONS="--webpage -f" /cfoutput /cflock --- !--- !--- Delete static html file --- CFLOCK name="#Session.cftoken#" TIMEOUT="30" cfoutput cffile action="Delete" file="c:\inetpub\wwwroot\webmonkey\print\files\#filename#.html" /cfoutput /cflock !--- Add print Button --- cfoutput To print clicka href="files/#filename#.pdf"HERE/a! /cfoutput --- /body /html Kevin Willyerd Cold Fusion Developer [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: html2pdf
I think there are some other custom tags out there as well. If you want total control, install activepdf server, acrobat distiller, ghostscript, or the like, and use it's COM Structure with CFOBJECT ~Simon -Original Message- From: Mirella Mount [mailto:[EMAIL PROTECTED]] Sent: Friday, September 29, 2000 1:22 PM To: CF-Talk Subject: html2pdf This is a multi-part message in MIME format. --=_NextPart_000_0006_01C02A0F.EF224350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to create a PDF document on the fly from a dynamically generated HTML file and need large text to appear at the bottom center of the page. I am currently using the html2pdf custom tag, but it does not seem to have the ability to format text in this way. Does anyone know if there is a way to do this? Thanks, Mirella _ Mirella Mount Application Developer (Candlemaker) Weberize Strategists.Builders.Evangelists. 615.301.8397 --=_NextPart_000_0006_01C02A0F.EF224350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR/HEAD BODY DIVFONT size=3D2SPAN class=3D031390917-29092000I am trying to = create a PDF=20 document on the fly from a dynamically generated HTML file and need = large text=20 to appear at the bottom center of the page.nbsp; I am currently using = the=20 html2pdf custom tag, but it does not seem to have the ability to format = text in=20 this way.nbsp; Does anyone know if there isnbsp;a way to do=20 this?/SPAN/FONT/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000/SPAN/FONTnbsp;/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000Thanks,/SPAN/FONT/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000Mirella/SPAN/FONT/DIV DIVFONT size=3D2A = href=3D"mailto:[EMAIL PROTECTED]"/A/FONT/DIV DIVFONT size=3D2_/FONT/DIV DIVFONT size=3D2Mirella Mount/FONT/DIV DIVFONT color=3D#80 size=3D2Application Developer = (Candlemaker)/FONT/DIV DIVFONT size=3D2Weberize/FONT/DIV DIVFONT size=3D2FONT color=3D#808000StrategistsFONT=20 color=3D#00./FONT/FONTFONT = color=3D#80Builders/FONTFONT=20 color=3D#00./FONTFONT color=3D#008040Evangelists/FONTFONT=20 color=3D#00./FONT/FONT/DIV DIVFONT size=3D2615.301.8397/FONT/DIV DIVnbsp;/DIV/BODY/HTML --=_NextPart_000_0006_01C02A0F.EF224350-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: html2pdf
Mirella, HTML2pdf relies on HTMLDOC to translate HTML to PDF. If you create large text say H1something/H1 or FONT SIZE="4"something/FONT .etc centered at the bottom of the page HTMLDOC should render it fine. The only problem that I have found with the CFX_html2pdf is that some of the arguments don't work properly. I call HTMLDOC with CFEXECUTE and it works much better for me. What does the HTML code look like? Do you have large text centered in the HTML file? We are using HTMLDOC to create PDF badges on the fly and there are tables, images, and large centered text in those files and it works great. Mark Johnson --- Senior Cold Fusion Developer Cardinal Communications -Original Message- From: Mirella Mount [mailto:[EMAIL PROTECTED]] Sent: Friday, September 29, 2000 6:22 PM To: CF-Talk Subject: html2pdf This is a multi-part message in MIME format. --=_NextPart_000_0006_01C02A0F.EF224350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to create a PDF document on the fly from a dynamically generated HTML file and need large text to appear at the bottom center of the page. I am currently using the html2pdf custom tag, but it does not seem to have the ability to format text in this way. Does anyone know if there is a way to do this? Thanks, Mirella _ Mirella Mount Application Developer (Candlemaker) Weberize Strategists.Builders.Evangelists. 615.301.8397 --=_NextPart_000_0006_01C02A0F.EF224350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR/HEAD BODY DIVFONT size=3D2SPAN class=3D031390917-29092000I am trying to = create a PDF=20 document on the fly from a dynamically generated HTML file and need = large text=20 to appear at the bottom center of the page.nbsp; I am currently using = the=20 html2pdf custom tag, but it does not seem to have the ability to format = text in=20 this way.nbsp; Does anyone know if there isnbsp;a way to do=20 this?/SPAN/FONT/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000/SPAN/FONTnbsp;/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000Thanks,/SPAN/FONT/DIV DIVFONT size=3D2SPAN = class=3D031390917-29092000Mirella/SPAN/FONT/DIV DIVFONT size=3D2A = href=3D"mailto:[EMAIL PROTECTED]"/A/FONT/DIV DIVFONT size=3D2_/FONT/DIV DIVFONT size=3D2Mirella Mount/FONT/DIV DIVFONT color=3D#80 size=3D2Application Developer = (Candlemaker)/FONT/DIV DIVFONT size=3D2Weberize/FONT/DIV DIVFONT size=3D2FONT color=3D#808000StrategistsFONT=20 color=3D#00./FONT/FONTFONT = color=3D#80Builders/FONTFONT=20 color=3D#00./FONTFONT color=3D#008040Evangelists/FONTFONT=20 color=3D#00./FONT/FONT/DIV DIVFONT size=3D2615.301.8397/FONT/DIV DIVnbsp;/DIV/BODY/HTML --=_NextPart_000_0006_01C02A0F.EF224350-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.