RE: pdf creation hell
Marc, Itext does not honor every style and convention... and I suspect input boxes would (obviously) be a problem. I would try adding an inline style block to the input block - or appending to the one that's there (style=text-align: right;)... if that fails, parse out the input tags and leave just the values in the table cells. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: marc -- [mailto:m...@marcbakker.com] Sent: Saturday, December 25, 2010 3:28 PM To: cf-talk Subject: pdf creation hell Hi, I create a pdf from cf-generated HTML. Part of it is a table with numbers. Most of the table cells contain input type=text with text or numbers inside. I want the fields with numbers in one of the columns to be right-aligned so it is easy to see how they ad up but I am unable to do so. When I view the page (that is to be rendered as pdf) in the browser the numbers are perfectly right-aligned. But when the pdf is generated from that same html/css, the numbers are either left-aligned or centered. I use an included style sheet. The css rule I use to right-align text is text-align:right. I use that in a style I apply to the input field in the table cells. This is my cfdocument tag: cfdocument name=invoice format=PDF pagetype=A4 fontembed=false fontembed=yes gave me the same problem. The rest of the pdf looks Ok so the pdf generator has no problem with the HTML. Just this text - align part. I use CF 9.0.1 on Mac OS X with apache 2.2 Does anyone have an idea what could be causing this? Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf creation hell
Hi Marc, Thanks for the reply. I already tried your suggestion before posting and that didn't work so I guess I will parse out the input fields as you suggested. Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf creation hell
Hi Marc, Thanks for the reply. I already tried your suggestion before posting and that didn't work so I guess I will parse out the input fields as you suggested. Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle overflow:auto. If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why overflow:auto style does not work. Thanks Regards, Rupesh Adobe ColdFusion team. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle overflow:auto. If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why overflow:auto style does not work. Thanks Regards, Rupesh Adobe ColdFusion team. ~| 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:294506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Hey Rob... Last night I tried using an absolute path to the stylesheet, and that didn't work either. andy -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the cfdocument tag and see if that does anything? Rob ~| 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:294508 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Well thank you very much. I'll def need to debug it. It's got to have something to do with the combo of the CSS and my HTML. I'll just have to figure it out. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:42 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, Obviously, I don't have enough work ;) or I just like to help. So I debugged a bit for you. If I include the CSS inside the cfdocument tag, I get the colors appropriately inside the PDF, but I get 15 pages, and only the first has data, the rest is blank, however, when I leave the css reference outside of the tag, I get six pages (yes, I am just working with a sample) but all the data is there. Basically, it seems that the second div is doing something funky. I will save the PDFs I have generated if you want some samples of the results, plus the CFM (not pretty necessarily, but it does work). I do have an interest in learning CFDocument, but not necessarily a project to do it with, so *play* time is a good break from the day to day when is it done yet Let me know how you make out. Rob ~| 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:294509 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation in CF8 - not working...please help
Thanks Rupesh! I'll take a look at my code. I didn't realize I was using that, but sure enough, there it is. That makes perfect sense why the first section shows up, but the rest don't too! andy -Original Message- From: Rupesh Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 6:27 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, It looks like the rendering engine for html/css in CF does not handle overflow:auto. If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why overflow:auto style does not work. Thanks Regards, Rupesh Adobe ColdFusion team. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294511 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy Matthews wrote: I'm trying to create a PDF from a page and it's not working. The way I've read is that to do this, you simply wrap whatever content you have within cfdocument tags, with the type set to PDF. So that's what I've done, and it's not working correctly. Here's the actual page: http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13 Here's the page when a PDF is trying to be generated: http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13 Change the HTML of the page so you don't refer to images by their relative path, but with a file:///d:/images... type URL and try again. Jochem ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Jochem... But the text doesn't display either. Nothing displays below the address information at the bottom of page 1. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 3:13 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy Matthews wrote: I'm trying to create a PDF from a page and it's not working. The way I've read is that to do this, you simply wrap whatever content you have within cfdocument tags, with the type set to PDF. So that's what I've done, and it's not working correctly. Here's the actual page: http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4 C061052691D13 Here's the page when a PDF is trying to be generated: http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B540 60A4C061052691D13 Change the HTML of the page so you don't refer to images by their relative path, but with a file:///d:/images... type URL and try again. Jochem ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, try changing your cfdocument tag to the following: cfdoucument fontembed=no format=pdf /cfdocument I know that when I first started using cfdocument, I had to do this when using CSS on the page that was creating the PDF. Of course the resultant PDF doesn't have the same 'look', but you might find that it has something to do with Fontembed. HTH, Rob ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Thanks Rob...I'll give that a shot. As a followup question, assuming that I can't get this working with CFDocument, what are my options people? This is part of an app I'm building for a client. I promised them they could convert these proposals to PDF because I knew CF had that built in. Now it's not working and I'm left holding the bag. I'm sure it's got something to do with something in my CSS, because when I comment out the CSS include, everything displays. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:08 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, try changing your cfdocument tag to the following: cfdoucument fontembed=no format=pdf /cfdocument I know that when I first started using cfdocument, I had to do this when using CSS on the page that was creating the PDF. Of course the resultant PDF doesn't have the same 'look', but you might find that it has something to do with Fontembed. HTH, Rob ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, I guess that you could always design a high level CFR in report builder, and then pass the info that is generated for the proposals as a series of variables, but that seems messy. There is always something like ActivePDF which I was using (and still am on some sites still running 6) to create PDFs. I personally don't really like ActivePDF that much, just because, I didn't think that it ran as easily as I would've liked. You might have more success with the PDF creation if you take out the div and use a table instead. I know that it is a pain, but I am sure that when I looked into my problem, there was something in the div causing the error. Rob ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294454 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
I was actually considering that. But the problem is that my CFC has code to do all of the conversion into DIVs. It just spits out a single variable for each distinct module. If it comes to that, that's what I'll do, but I'd rather avoid that if possible. It's got to have something to do with the CSS. I just don't know why. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:21 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I guess that you could always design a high level CFR in report builder, and then pass the info that is generated for the proposals as a series of variables, but that seems messy. There is always something like ActivePDF which I was using (and still am on some sites still running 6) to create PDFs. I personally don't really like ActivePDF that much, just because, I didn't think that it ran as easily as I would've liked. You might have more success with the PDF creation if you take out the div and use a table instead. I know that it is a pain, but I am sure that when I looked into my problem, there was something in the div causing the error. Rob ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the cfdocument tag and see if that does anything? Rob ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation in CF8 - not working...please help
Hmmm... Can you try the same test, but use an absolute path to the CSS file? I wonder if I need to do that in my CSS generation, just like with images. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the cfdocument tag and see if that does anything? Rob ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294469 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
I just realized I'm asking you to debug my code. Sorry about that. Thanks for the suggestion man. I'll check that out when I get home. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 4:11 PM To: CF-Talk Subject: RE: PDF creation in CF8 - not working...please help Hmmm... Can you try the same test, but use an absolute path to the CSS file? I wonder if I need to do that in my CSS generation, just like with images. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the cfdocument tag and see if that does anything? Rob ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, Obviously, I don't have enough work ;) or I just like to help. So I debugged a bit for you. If I include the CSS inside the cfdocument tag, I get the colors appropriately inside the PDF, but I get 15 pages, and only the first has data, the rest is blank, however, when I leave the css reference outside of the tag, I get six pages (yes, I am just working with a sample) but all the data is there. Basically, it seems that the second div is doing something funky. I will save the PDFs I have generated if you want some samples of the results, plus the CFM (not pretty necessarily, but it does work). I do have an interest in learning CFDocument, but not necessarily a project to do it with, so *play* time is a good break from the day to day when is it done yet Let me know how you make out. Rob ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Oh...one more thing. The code on the PDF page is identical (except for the cfdocument tag), which is set up like so: cfdocument format=pdf all code inside here ... /cfdocument ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Oh...one more thing. The code on the PDF page is identical (except for the cfdocument tag), which is set up like so: cfdocument format=pdf /cfdocument ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation/modification
Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, ***firstname***, form.firstname, all)# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText cf this books is a great value). http://javaloader.riaforge.org/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281525 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation/modification
Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, ***firstname***, form.firstname, all)# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText cf this books is a great value). http://javaloader.riaforge.org/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281528 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation/modification
I'll have to give this one a shot http://www.adobe.com/devnet/coldfusion/articles/pdfform.html ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:26 AM To: CF-Talk Subject: RE: PDF creation/modification Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, ***firstname***, form.firstname, all)# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText cf this books is a great value). http://javaloader.riaforge.org/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281534 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation/modification
PDFForm definitely looks like the way to go. Thanks for making life simple Ben! :-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 12:01 PM To: CF-Talk Subject: RE: PDF creation/modification I'll have to give this one a shot http://www.adobe.com/devnet/coldfusion/articles/pdfform.html ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:26 AM To: CF-Talk Subject: RE: PDF creation/modification Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, ***firstname***, form.firstname, all)# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText cf this books is a great value). http://javaloader.riaforge.org/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281554 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation/modification
Download the beta of CF8 and have it read the PDF in for you. You should then be able to spit it back out, manipulate it etc. I don't know this for a fact, but you may even be able to look at the DDX code (I think that's what it's called if memory serves from Ben's talk at my local CFUG). How about something like that? Chris Bobby Hartsfield wrote: So I finally have to create/modify a PDF from CF after all these years. And wouldn't you know it. it's the biggest scholarship application known to man. The PDF has to look exactly like the sample that the client sent over (which doesn't allow editing haha). Is it possible to just insert the info into an existing template when doing this or do I have to generate a new PDF and painstakingly adjust every little detail until it looks like the original? Hopefully, on-the-fly PDF generation/modification has come a long way since I last looked. I've generated DOCs, RTFs and such but those are simple, You just put a marker in the place of the content and use replace() on the file content. It doesn't look like that's going to work with a PDF. Any starting points and suggestions would be appreciated. Thanks ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation/modification
What cf version are you running bobby? I'm crossing my fingers (and so should you) that its 7+. :-D Rob So I finally have to create/modify a PDF from CF after all these years. And wouldn't you know it. it's the biggest scholarship application known to man. The PDF has to look exactly like the sample that the client sent over (which doesn't allow editing haha). Is it possible to just insert the info into an existing template when doing this or do I have to generate a new PDF and painstakingly adjust every little detail until it looks like the original? Hopefully, on-the-fly PDF generation/modification has come a long way since I last looked. I've generated DOCs, RTFs and such but those are simple, You just put a marker in the place of the content and use replace() on the file content. It doesn't look like that's going to work with a PDF. Any starting points and suggestions would be appreciated. Thanks ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation/modification
Hmm... I just realized that even if you can read the document in via CF8 that it might not help you in CF7. However if document editing has been disabled in the copy they gave you, you can manipulate that stuff in CF8 and have it produce a new *unlocked* document that you could then maybe use to do the PDF magic in CF7? I dunno. I've not created a PDF with anything except CFX_PDF (ugh), and I'm just guessing at these ideas based on Ben's CF8 presentation at my CFUG. Hope these ideas help. Chris Bobby Hartsfield wrote: So I finally have to create/modify a PDF from CF after all these years. And wouldn't you know it. it's the biggest scholarship application known to man. The PDF has to look exactly like the sample that the client sent over (which doesn't allow editing haha). Is it possible to just insert the info into an existing template when doing this or do I have to generate a new PDF and painstakingly adjust every little detail until it looks like the original? Hopefully, on-the-fly PDF generation/modification has come a long way since I last looked. I've generated DOCs, RTFs and such but those are simple, You just put a marker in the place of the content and use replace() on the file content. It doesn't look like that's going to work with a PDF. Any starting points and suggestions would be appreciated. Thanks ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation/modification
It is indeed CF7 :-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 6:13 PM To: CF-Talk Subject: Re: PDF creation/modification Hmm... I just realized that even if you can read the document in via CF8 that it might not help you in CF7. However if document editing has been disabled in the copy they gave you, you can manipulate that stuff in CF8 and have it produce a new *unlocked* document that you could then maybe use to do the PDF magic in CF7? I dunno. I've not created a PDF with anything except CFX_PDF (ugh), and I'm just guessing at these ideas based on Ben's CF8 presentation at my CFUG. Hope these ideas help. Chris Bobby Hartsfield wrote: So I finally have to create/modify a PDF from CF after all these years. And wouldn't you know it. it's the biggest scholarship application known to man. The PDF has to look exactly like the sample that the client sent over (which doesn't allow editing haha). Is it possible to just insert the info into an existing template when doing this or do I have to generate a new PDF and painstakingly adjust every little detail until it looks like the original? Hopefully, on-the-fly PDF generation/modification has come a long way since I last looked. I've generated DOCs, RTFs and such but those are simple, You just put a marker in the place of the content and use replace() on the file content. It doesn't look like that's going to work with a PDF. Any starting points and suggestions would be appreciated. Thanks ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281477 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation/modification
Bobby Hartsfield wrote: It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText cf this books is a great value). http://javaloader.riaforge.org/ ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF Creation
Jenny, There is many out there, but what do you want to create them from? Have a look at iText (is that what it is) which is the version that is embeded into CF, or is cfdocument in 6.1 i really can't remember... On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF Creation
cfdocument format=pdf scale=100 fontembed= pagetype=A4 orientation=portrait /cfdocument On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF Creation
Jenny wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? get iText from here: http://www.lowagie.com/iText/ if you're on a shared host, get mark's javaLoader from here: http://javaloader.riaforge.org/ and use it to load the iText jar otherwise put the jar on cf's classpath. search the forums: http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=1 there's boxcars full of example cf/iText code. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF Creation
Cfdocument is in 7, but thanks -Original Message- From: srinivas ganta [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 13:01 To: CF-Talk Subject: Re: PDF Creation cfdocument format=pdf scale=100 fontembed= pagetype=A4 orientation=portrait /cfdocument On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF Creation
simple stuff from cart application ... price lists, etc ty, will try that -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 11:10 To: CF-Talk Subject: Re: PDF Creation Jenny, There is many out there, but what do you want to create them from? Have a look at iText (is that what it is) which is the version that is embeded into CF, or is cfdocument in 6.1 i really can't remember... On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279309 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF Creation
whoops ... ignore my reply .. i thought this was only in mx 7 ... nice :D -Original Message- From: srinivas ganta [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 13:01 To: CF-Talk Subject: Re: PDF Creation cfdocument format=pdf scale=100 fontembed= pagetype=A4 orientation=portrait /cfdocument On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF Creation
lol 3:30am ... and it shows ... oh well ... i don't have 7, and no wish to learn java -Original Message- From: srinivas ganta [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 13:01 To: CF-Talk Subject: Re: PDF Creation cfdocument format=pdf scale=100 fontembed= pagetype=A4 orientation=portrait /cfdocument On 5/25/07, Jenny [EMAIL PROTECTED] wrote: I need to create pdf's using CF 6.1 mx, does anyone have a favouritw tag for this, please? Jenny ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279311 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF Creation
Jenny wrote: lol 3:30am ... and it shows ... oh well ... i don't have 7, and no wish to learn java you don't need to, as i said there are plenty of cf examples in the forums. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279312 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
Kris Jones wrote: Since I know nothing about iText, I don't really want to go down that road unless I know that it will be worth it (performance-wise). I know there are few iText gurus on the list, maybe someone has some experience with this? the only way you can *know* which one is faster is by testing. search the cf forums, i posted code there to merge PDFs using itext (i'm at home don't have access to the dev server). it's fairly simple. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251271 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
Thanks Paul. I believe that the bottleneck in the procedure I'm working on is the CFDocument call, rather than the 3rd-party split/merge program we're calling. I'm happy to look into iText, just hoping that others have some experiential knowledge about performance gains. Cheers, Kris On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote: Kris Jones wrote: Since I know nothing about iText, I don't really want to go down that road unless I know that it will be worth it (performance-wise). I know there are few iText gurus on the list, maybe someone has some experience with this? the only way you can *know* which one is faster is by testing. search the cf forums, i posted code there to merge PDFs using itext (i'm at home don't have access to the dev server). it's fairly simple. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251274 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
Kris Jones wrote: Thanks Paul. I believe that the bottleneck in the procedure I'm working on is the CFDocument call, rather than the 3rd-party split/merge program we're calling. I'm happy to look into iText, just hoping that others have some experiential knowledge about performance gains. pre-cf7 we used itext a bunch. these days we only use it for special case needs such as merging pdfs, pdfForms, bookmarks, etc that cfDocument doesn't yet handle or when we need an insane amount of control over the pdf (usually placing stuff at exact coords like checks, etc). we never benchmarked it to anything, just glad it worked. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
I have a few examples on java coldfusion list on yahoo called coldfusion java hacks. http://groups.yahoo.com/group/java_coldfusion_hacks/ There is no action on that list, just takers of my hard won work with CF and java. On 8/28/06, Kris Jones [EMAIL PROTECTED] wrote: Thanks Paul. I believe that the bottleneck in the procedure I'm working on is the CFDocument call, rather than the 3rd-party split/merge program we're calling. I'm happy to look into iText, just hoping that others have some experiential knowledge about performance gains. Cheers, Kris On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote: Kris Jones wrote: Since I know nothing about iText, I don't really want to go down that road unless I know that it will be worth it (performance-wise). I know there are few iText gurus on the list, maybe someone has some experience with this? the only way you can *know* which one is faster is by testing. search the cf forums, i posted code there to merge PDFs using itext (i'm at home don't have access to the dev server). it's fairly simple. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251295 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
I've got a handle on your posts on the forums. Thanks much for this. We're also interested in implementing bookmarks in the PDFs as a way to change the structure of the PDF that will make for less process intensive merging. I'm also checking out Dan's posts on his yahoo group. Great resources. Thanks guys. Cheers, Kris On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote: Kris Jones wrote: Thanks Paul. I believe that the bottleneck in the procedure I'm working on is the CFDocument call, rather than the 3rd-party split/merge program we're calling. I'm happy to look into iText, just hoping that others have some experiential knowledge about performance gains. pre-cf7 we used itext a bunch. these days we only use it for special case needs such as merging pdfs, pdfForms, bookmarks, etc that cfDocument doesn't yet handle or when we need an insane amount of control over the pdf (usually placing stuff at exact coords like checks, etc). we never benchmarked it to anything, just glad it worked. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation: CFDocument, iText; CF or Java libs?
I think someone has a master file How-to iText for CF some place but i can't find it. I also remember Forta's book has some examples too. A quick google book search shows some stuff PDF Hacks - Page 235http://books.google.com/books?vid=ISBN0596006551id=3lMk9JDgsw4Cpg=PA235lpg=PA235dq=iTextsig=JQ4nKQuPS690_ta39da4K_I4iVY On 8/28/06, Kris Jones [EMAIL PROTECTED] wrote: I've got a handle on your posts on the forums. Thanks much for this. We're also interested in implementing bookmarks in the PDFs as a way to change the structure of the PDF that will make for less process intensive merging. I'm also checking out Dan's posts on his yahoo group. Great resources. Thanks guys. Cheers, Kris On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote: Kris Jones wrote: Thanks Paul. I believe that the bottleneck in the procedure I'm working on is the CFDocument call, rather than the 3rd-party split/merge program we're calling. I'm happy to look into iText, just hoping that others have some experiential knowledge about performance gains. pre-cf7 we used itext a bunch. these days we only use it for special case needs such as merging pdfs, pdfForms, bookmarks, etc that cfDocument doesn't yet handle or when we need an insane amount of control over the pdf (usually placing stuff at exact coords like checks, etc). we never benchmarked it to anything, just glad it worked. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251325 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation on MX
CFX_PDF uses iText under the hood as well. Obviously if you go with iText you have to code quite a lot yourself. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 17:27 To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236863 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
Yeah, iText looked like a bit too much hard work. Thanks for that Neil, looks like I'll go with cfx_pdf. - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 10:16 AM Subject: RE: PDF creation on MX CFX_PDF uses iText under the hood as well. Obviously if you go with iText you have to code quite a lot yourself. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 17:27 To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236868 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF creation on MX
I like iText as you get to code what you want ;-) -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 12:23 To: CF-Talk Subject: Re: PDF creation on MX Yeah, iText looked like a bit too much hard work. Thanks for that Neil, looks like I'll go with cfx_pdf. - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 10:16 AM Subject: RE: PDF creation on MX CFX_PDF uses iText under the hood as well. Obviously if you go with iText you have to code quite a lot yourself. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 17:27 To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236870 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
You must be more cleverer than I is then :-) - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 12:16 PM Subject: RE: PDF creation on MX I like iText as you get to code what you want ;-) -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 12:23 To: CF-Talk Subject: Re: PDF creation on MX Yeah, iText looked like a bit too much hard work. Thanks for that Neil, looks like I'll go with cfx_pdf. - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 10:16 AM Subject: RE: PDF creation on MX CFX_PDF uses iText under the hood as well. Obviously if you go with iText you have to code quite a lot yourself. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 17:27 To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236871 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF creation on MX
Lol, not at all, it took me quite a while to get to grips with the syntax and how to translate it into CF! -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 13:31 To: CF-Talk Subject: Re: PDF creation on MX You must be more cleverer than I is then :-) - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 12:16 PM Subject: RE: PDF creation on MX I like iText as you get to code what you want ;-) -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 12:23 To: CF-Talk Subject: Re: PDF creation on MX Yeah, iText looked like a bit too much hard work. Thanks for that Neil, looks like I'll go with cfx_pdf. - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 04, 2006 10:16 AM Subject: RE: PDF creation on MX CFX_PDF uses iText under the hood as well. Obviously if you go with iText you have to code quite a lot yourself. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 17:27 To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236874 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
I like iText as you get to code what you want ;-) Bingo!! and once you've learned to use it you can use those skills over and over ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
CFDOCUMENT ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236826 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF creation on MX
Gareth, I have done a good amount of PDF generation, including complex layouts for document publication. To date, I have not found anything great built into MX or a CFX tag that does what I need. What I use a lot and LOVE is the easyPDF creator by BCL technology. The way I use it is a create a web archive file (mht) from MS word, then format it as appropriate for my client. Then use easyPDF to convert the MHT file to a PDF file. It works flawlessly to create PDFs cause it basically prints the MHT file to a PDF (I think). But there is some overhead: 1. Requires easyPDF to be able to have permissions on the productions server to run MS Word 2. MS Word (2003) must be installed on production server 3. Its not the cheapest solutions out there But despite the overhead, I thin it's the best PDF generation I have seen to date. -ben ... Ben Nadel Web Developer Nylon Technology 350 7th Ave. Suite 1005 New York, NY 10001 212.691.1134 x 14 212.691.3477 fax www.nylontechnology.com Sanders: Lightspeed too slow? Helmet: Yes we'll have to go right to ludacris speed. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 12:27 PM To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236827 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
. Should have said MX 6.1 - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, April 03, 2006 5:37 PM Subject: Re: PDF creation on MX CFDOCUMENT ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236828 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
Unfortunately I can't install Word on this server but good info anyway. Thanks Ben. - Original Message - From: Ben Nadel [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, April 03, 2006 5:38 PM Subject: RE: PDF creation on MX Gareth, I have done a good amount of PDF generation, including complex layouts for document publication. To date, I have not found anything great built into MX or a CFX tag that does what I need. What I use a lot and LOVE is the easyPDF creator by BCL technology. The way I use it is a create a web archive file (mht) from MS word, then format it as appropriate for my client. Then use easyPDF to convert the MHT file to a PDF file. It works flawlessly to create PDFs cause it basically prints the MHT file to a PDF (I think). But there is some overhead: 1. Requires easyPDF to be able to have permissions on the productions server to run MS Word 2. MS Word (2003) must be installed on production server 3. Its not the cheapest solutions out there But despite the overhead, I thin it's the best PDF generation I have seen to date. -ben Ben Nadel Web Developer Nylon Technology 350 7th Ave. Suite 1005 New York, NY 10001 212.691.1134 x 14 212.691.3477 fax www.nylontechnology.com Sanders: Lightspeed too slow? Helmet: Yes we'll have to go right to ludacris speed. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 12:27 PM To: CF-Talk Subject: PDF creation on MX Is there a PDF creation tag considered 'standard' or 'most poular' for use on MX? I'm currently looking at http://www.easel2.com/cfxpdf_support.html which seems to do all I need (basically convert an html page including layout and images) but if anyone has experience / preference / recommendations I'd be interested in hearing before I take the plunge. Thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236829 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
ahhh...well then look at iText on SourceForge which is behind CFDOCUMENT ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236831 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF creation on MX
Ah, didn't realise that. Thanks Bryan I'll check it out. - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, April 03, 2006 5:51 PM Subject: Re: PDF creation on MX ahhh...well then look at iText on SourceForge which is behind CFDOCUMENT ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236834 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Creation - just a quickie
We use Apache FOP with a nice xhtml - fo stylesheet we picked up from IBM. All open source. On 8/5/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: OK, Sorry to start this one again, but hopefully I will get info I need. I am looking to create a custom PDF solution with something like iText but wanted to know what other tools are there which people are using? NOTE: I know CF7 has basic PDF creation - so don't bother posting - CF7 does it out of the box etc ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213836 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Creation - just a quickie
OK, Sorry to start this one again, but hopefully I will get info I need. I am looking to create a custom PDF solution with something like iText but wanted to know what other tools are there which people are using? NOTE: I know CF7 has basic PDF creation - so don't bother posting - CF7 does it out of the box etc and sorry to sound like a broken recordbut use iTextit works fast and is easy to use once you play with it a bit ;-) I honestly couldn't see using anything elseand especially not something commercial as iText is free.been running on one client's site for over a year now with ZERO problems. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213865 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF Creation - just a quickie
I am leaning toward iText... -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: 05 August 2005 16:09 To: CF-Talk Subject: Re: PDF Creation - just a quickie OK, Sorry to start this one again, but hopefully I will get info I need. I am looking to create a custom PDF solution with something like iText but wanted to know what other tools are there which people are using? NOTE: I know CF7 has basic PDF creation - so don't bother posting - CF7 does it out of the box etc and sorry to sound like a broken recordbut use iTextit works fast and is easy to use once you play with it a bit ;-) I honestly couldn't see using anything elseand especially not something commercial as iText is free.been running on one client's site for over a year now with ZERO problems. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213872 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Creation - just a quickie
I am leaning toward iText... .just a little further until ya tip over ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213873 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: PDF creation
http://www.easysw.com/htmldoc/ Only one I've used... was used before I started here and have no experience of anything else but does the job needed and is pretty cheap -Original Message- From: Clint [mailto:[EMAIL PROTECTED] Sent: 06 March 2003 21:09 To: CF-Talk Subject: PDF creation ** Before I ask my question, I know that this is in the archives, but I cannot get to the archives becuase I do not remember my password and the 'send your password' function has not sent me my password and it has been over 30 min since I did it ** What tool do you guys recomend for PDF creation from CF? ActivePDF is out and I cannot remember the other one that is liked so much. Thanks, Clint ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation
I found that and it was a snap to use! Thanks! Clint - Original Message - From: James Blaha [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 07, 2003 12:47 PM Subject: PDF creation Check this one out! CF_HTML2PDF3 allows you to create PDF files from any dynamic CFM page simply by encasing whatever portion of the page you wish to display inside the opening and closing CF_HTML2PDF3 tags. http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#view=sn131v iewName=ColdFusion%2520Extensionloc=en_usextID=1002789lc_id=404 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation
There's a catch! You have to install HTMLDoc 1.x http://www.easysw.com/htmldoc/ The tag merely cfexecutes htmldoc.exe ~Todd At 02:47 PM 3/7/2003 -0400, you wrote: Check this one out! CF_HTML2PDF3 allows you to create PDF files from any dynamic CFM page simply by encasing whatever portion of the page you wish to display inside the opening and closing CF_HTML2PDF3 tags. http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#view=sn131viewName=ColdFusion%2520Extensionloc=en_usextID=1002789lc_id=404 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation
Will the free version of htmldoc suffice for this? Does the web server have to have software installed or can this be purely client based? -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 2:54 PM To: CF-Talk Subject: Re: PDF creation There's a catch! You have to install HTMLDoc 1.x http://www.easysw.com/htmldoc/ The tag merely cfexecutes htmldoc.exe ~Todd At 02:47 PM 3/7/2003 -0400, you wrote: Check this one out! CF_HTML2PDF3 allows you to create PDF files from any dynamic CFM page simply by encasing whatever portion of the page you wish to display inside the opening and closing CF_HTML2PDF3 tags. http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#view=sn 131viewName=ColdFusion%2520Extensionloc=en_usextID=1002789lc_id=404 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation
Yeah, it's free to begin with... I wonder if the author of CF_HTML2PDF3 even has permission to redistribute ghtmldoc.exe. It has to be installed ... (what did you mean by purely client based?) ~Todd At 07:17 PM 3/7/2003 -0500, you wrote: Will the free version of htmldoc suffice for this? Does the web server have to have software installed or can this be purely client based? -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 2:54 PM To: CF-Talk Subject: Re: PDF creation There's a catch! You have to install HTMLDoc 1.x http://www.easysw.com/htmldoc/ The tag merely cfexecutes htmldoc.exe ~Todd At 02:47 PM 3/7/2003 -0400, you wrote: Check this one out! CF_HTML2PDF3 allows you to create PDF files from any dynamic CFM page simply by encasing whatever portion of the page you wish to display inside the opening and closing CF_HTML2PDF3 tags. http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#view=sn 131viewName=ColdFusion%2520Extensionloc=en_usextID=1002789lc_id=404 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation
Well... I guess... does the web server need any software installed to have this PDF creation method work? ... I haven't played with this yet -Original Message- From: Todd Rafferty [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 7:27 PM To: CF-Talk Subject: RE: PDF creation Yeah, it's free to begin with... I wonder if the author of CF_HTML2PDF3 even has permission to redistribute ghtmldoc.exe. It has to be installed ... (what did you mean by purely client based?) ~Todd At 07:17 PM 3/7/2003 -0500, you wrote: Will the free version of htmldoc suffice for this? Does the web server have to have software installed or can this be purely client based? -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 2:54 PM To: CF-Talk Subject: Re: PDF creation There's a catch! You have to install HTMLDoc 1.x http://www.easysw.com/htmldoc/ The tag merely cfexecutes htmldoc.exe ~Todd At 02:47 PM 3/7/2003 -0400, you wrote: Check this one out! CF_HTML2PDF3 allows you to create PDF files from any dynamic CFM page simply by encasing whatever portion of the page you wish to display inside the opening and closing CF_HTML2PDF3 tags. http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#view=sn 131viewName=ColdFusion%2520Extensionloc=en_usextID=1002789lc_id=404 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation
Again, yes, just the htmldoc needs to be installed. That's it. If you don't want to install it, I'm sure you can find the ghtmldoc.exe extension by ripping apart that download and looking for it. Once you're done, you can roll your own CFMX code to execute it. I created a pdfio.cfc that interfaces with ghtmldoc.exe.. you can find it: http://www.web-rat.com/Downloads/cfmx/pdfio.zip ~Todd At 07:39 PM 3/7/2003 -0500, you wrote: Well... I guess... does the web server need any software installed to have this PDF creation method work? ... I haven't played with this yet -- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ Team Macromedia Volunteer for ColdFusion http://www.macromedia.com/support/forums/team_macromedia/ http://www.devmx.com/ -- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4