Re: PDF generation in Chrome and Safari
http://kb2.adobe.com/cps/405/kb405461.html mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ On 20 April 2010 22:53, Glenn Hartong wrote: > > Hi all, > > I'm trying to generate a PDF. Should be easy right? > > Problem is, Chrome and Safari throw this error in Acrobat: > "Cannot use Adobe Reader to view PDF in your web browser. Reader will now > exit. Please exit your browser and try again." > > Firefox and IE are fine. > > I want the download option not the display in browser option. That would > solve this problem I believe. I've used cfheader with value="attachment; > filename=file.ext" and it has worked in the past, but I can't verify I was > doing it with PDFs. > > Here's my code: > > >CERTIFICATE STUFF HERE > > >#myPDF# > > > > > Any help will be greatly appreciated. > Glenn > > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF generation in Chrome and Safari
Glenn, Mine does that too but I click cancel and it comes up anyway. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Glenn Hartong [mailto:gl...@glickcf.com] Sent: Tuesday, April 20, 2010 9:54 AM To: cf-talk Subject: PDF generation in Chrome and Safari Hi all, I'm trying to generate a PDF. Should be easy right? Problem is, Chrome and Safari throw this error in Acrobat: "Cannot use Adobe Reader to view PDF in your web browser. Reader will now exit. Please exit your browser and try again." Firefox and IE are fine. I want the download option not the display in browser option. That would solve this problem I believe. I've used cfheader with value="attachment; filename=file.ext" and it has worked in the past, but I can't verify I was doing it with PDFs. Here's my code: CERTIFICATE STUFF HERE #myPDF# Any help will be greatly appreciated. Glenn ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
PDF generation in Chrome and Safari
Hi all, I'm trying to generate a PDF. Should be easy right? Problem is, Chrome and Safari throw this error in Acrobat: "Cannot use Adobe Reader to view PDF in your web browser. Reader will now exit. Please exit your browser and try again." Firefox and IE are fine. I want the download option not the display in browser option. That would solve this problem I believe. I've used cfheader with value="attachment; filename=file.ext" and it has worked in the past, but I can't verify I was doing it with PDFs. Here's my code: CERTIFICATE STUFF HERE #myPDF# Any help will be greatly appreciated. Glenn ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF Generation
> I am not creating forms. I have pdf which needs to feed the variables like > Company Name: *ABC company* > > I need to put the company_name variable where ABC printed. > I don't want to create a form element that should be rather than just > #company_name# and not > > As you said that I can use the cfpdfform action="populate" with > cfpdfformparam values nested > That will be used for the form values. What if I have no form in my pdf at > all? > How do I created variables (to display, not form variables) in pdf file? > I see the "textfield" in livecycle designer in object library but again that > will create the texfield type form element in my pdf which I don't want. I > only want to display data there where the company name is not the input > field. PDFs don't have "variables" in the sense in which you're referring. My recommendation is that you make the PDF into a form, and make the fields read-only with no decorative elements. Then, you can easily inject the values you want using CFPDFFORM, etc. This is a very common approach to this problem. If you have an existing PDF that's not a form, simply import it into LiveCycle Designer as "background art" using the "fixed pages" option. Then, draw out whatever form fields you need, remove their captions and any other visual elements, and set them to read-only. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329361 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 Generation
Asim Check out Dynamic PDF v4.0 http://www.dynamicpdf.com/?gclid=CNL8hdiL_J4CFQoiagodSh8mmQ - Original Message - From: "Asim Manzur" To: "cf-talk" Sent: Tuesday, December 29, 2009 8:41 AM Subject: Re: PDF Generation > > Yes the problem is this pdf has lines, and sections and bar codes and > bunch > of other static stuff, which I can easily handle in pdf template but will > become pain if I do in html. > > I am currently using this with ActivePDF but that where I am designing and > drawing it line by line. > > Its now have very easy chances, but if client add more sections that will > become very complicate. So, I want to see if I can have in design view > just > drop variables and when new changes comes in, it will be easy to modify > the > template. > > Thanks, > AM > > >>Is there a reason you can't just create the template with HTML and use >>cfdocument to create the PDF? > >mxAjax / CFAjax docs and other useful > articles: >http://www.bifrost.com.au/blog/ >> >> I am not creating forms. > I > have pdf which needs to feed the variables like >> Company Name: *ABC > company* >> >> I need to put the company_name variable where ABC printed. > >> > I don't want to create a form element that should be rather than just >> > #company_name# and not > > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329360 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 Generation
Yes the problem is this pdf has lines, and sections and bar codes and bunch of other static stuff, which I can easily handle in pdf template but will become pain if I do in html. I am currently using this with ActivePDF but that where I am designing and drawing it line by line. Its now have very easy chances, but if client add more sections that will become very complicate. So, I want to see if I can have in design view just drop variables and when new changes comes in, it will be easy to modify the template. Thanks, AM >Is there a reason you can't just create the template with HTML and use >cfdocument to create the PDF? > >mxAjax / CFAjax docs and other useful articles: >http://www.bifrost.com.au/blog/ >> >> I am not creating forms. I have pdf which needs to feed the variables like >> Company Name: *ABC company* >> >> I need to put the company_name variable where ABC printed. >> I don't want to create a form element that should be rather than just >> #company_name# and not ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329359 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 Generation
Is there a reason you can't just create the template with HTML and use cfdocument to create the PDF? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/12/29 Asim Manzur : > > I am not creating forms. I have pdf which needs to feed the variables like > Company Name: *ABC company* > > I need to put the company_name variable where ABC printed. > I don't want to create a form element that should be rather than just > #company_name# and not ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329358 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 Generation
I am not creating forms. I have pdf which needs to feed the variables like Company Name: *ABC company* I need to put the company_name variable where ABC printed. I don't want to create a form element that should be rather than just #company_name# and not As you said that I can use the cfpdfform action="populate" with cfpdfformparam values nested That will be used for the form values. What if I have no form in my pdf at all? How do I created variables (to display, not form variables) in pdf file? I see the "textfield" in livecycle designer in object library but again that will create the texfield type form element in my pdf which I don't want. I only want to display data there where the company name is not the input field. Thanks for your help once again. Regards, AM >> Thank you for the reference. I got LiveCycle setup in my machine and was >> trying to setup the PDF with LiveCycle Designer but Have no clue how to >> setup variables etc in PDF. I could not find any information about that >> anywhere. appreciate if someone share their experience. Thanks, > >I'm unclear about your question. Are you asking how to create PDF >forms in LiveCycle Designer, or how to refer to fields within those >PDF forms from CF? > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329357 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 Generation
> Thank you for the reference. I got LiveCycle setup in my machine and was > trying to setup the PDF with LiveCycle Designer but Have no clue how to > setup variables etc in PDF. I could not find any information about that > anywhere. appreciate if someone share their experience. Thanks, I'm unclear about your question. Are you asking how to create PDF forms in LiveCycle Designer, or how to refer to fields within those PDF forms from CF? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329352 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 Generation
Thank you for the reference. I got LiveCycle setup in my machine and was trying to setup the PDF with LiveCycle Designer but Have no clue how to setup variables etc in PDF. I could not find any information about that anywhere. appreciate if someone share their experience. Thanks, .. Regards, AM ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329350 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 Generation
> I know that you can have a PDF form which can post the data to a server. > But I am looking for something which allows me to create a PDF template and > I can drop variables there and coldFusion can feed the data to that PDF > template. You can write values to a LiveCycle Designer PDF form from CF using the CFPDFFORM and CFPDFFORMPARAM tags. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329336 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 Generation
Asim, You can use cfpdfform action="populate" with cfpdfformparam values nested -Original Message- From: Asim Manzur [mailto:bytel...@gmail.com] Sent: Wednesday, December 23, 2009 9:57 AM To: cf-talk Subject: PDF Generation I know that you can have a PDF form which can post the data to a server. But I am looking for something which allows me to create a PDF template and I can drop variables there and coldFusion can feed the data to that PDF template. Currently using ActivePDF for this but wondering if CF8 or CF9 does have that capability. Thanks, .. Regards, AM ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329335 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
PDF Generation
I know that you can have a PDF form which can post the data to a server. But I am looking for something which allows me to create a PDF template and I can drop variables there and coldFusion can feed the data to that PDF template. Currently using ActivePDF for this but wondering if CF8 or CF9 does have that capability. Thanks, .. Regards, AM ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329334 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 generation 4x slower in CF8?
No one else encountered this? Really? The solution I came up with was to send PDF processing to another server running CF7. That server processes the CFDocument tag and sends back the file. Here's the custom tag I came up with to hand off and receive the data. // Constants null = ""; dot = "."; slash = "/"; backslash = "\";semicolon = ";"; dash = "-"; star = "*"; space = " "; all = "all"; one = "one";comma = ","; tab = chr(9); newline = chr(13); newline2 = chr(10); amp = "&"; // Parameter collection and processing universalParameters = " document , timeout , tempFolder , server "; // Remove newlines, spaces and tab characters universalParameters = REReplace(universalParameters, "[\s]", null, all); // Populate variables with null for(i = 1; i LTE ListLen(universalParameters); i = i + 1) { if(NOT StructKeyExists(attributes, ListGetAt(universalParameters, i))) { StructInsert(attributes, ListGetAt(universalParameters, i), null); } } // General error checking errorMessage = null; if(attributes.document IS null) { errorMessage = "Document to generate not specified"; } if(attributes.timeout IS null OR NOT IsNumeric(attributes.timeout)) { attributes.timeout = 60; } if(attributes.tempFolder IS null AND IsDefined("caller.email_attach_path")) { attributes.tempFolder = caller.email_attach_path; } if(NOT DirectoryExists(attributes.tempFolder)) { errorMessage = "Temporary folder not accessible"; } if(attributes.server IS null) { errorMessage = "Other server not specified"; } ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
PDF generation 4x slower in CF8?
I've been doing some performance test of ColdFusion 8 vs. 7 and have been stunned by what I've found for PDFs. I set up two identical Windows Server 2003 virtual machines and have found CF8 generates PDF files about 4 times slower than CF7. This sample 100 page PDF takes 7-8 seconds to generate on CF7 and 28-32 seconds on CF8. Has anyone else noticed this issue? Or am I doing something really wrong? CODE: Untitled I am paragraph one. I am paragraph two Making that huge PDF took #time#ms. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320998 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfdocument pdf generation
If it is possible to do what you want to do in cfreport you might want to look into that. I remember a thread a year or two ago where somebody switched from raw CF to cfreport and was blown away by the speed difference. -Nate > -Original Message- > From: Daniel [mailto:dan...@gmail.com] > Sent: Thursday, February 12, 2009 6:47 PM > To: cf-talk > Subject: cfdocument pdf generation > > > I have a tough question. > > I am trying to use cfdocument to generate a huge PDF file > with 5000+ images > > after failing (even with CF64bits and 8GB of RAM), I was > analyzing the PDF > generated by iText (the lib used by coldfusion), and it seams > every image > included in the PDF is using the FlateDecode encoding, instead of the > DCTDecode for jpeg images > > with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib > compression > > also, iText tries to use the memory buffer for the cache of > the document > > The only way to this document generation to be feasable is if > I can change > iText to use DCTDecode on the images, and use a disk based > buffer instead of > a memory based buffer > > the real question: can I update iText with a more recent > version ? if so, > does this fix this issue? If I can't update the internal iText > implementation, is there a easy way to convert html to pdf > using an external > iText implementation called by CreateObject ? > > answers suggesting me to use something else than coldfusion > won't be very > helpful, since I already know that, but I want to use > coldfusion to generate > those PDFs Comparing with other PHP and ASP.NET > <http://asp.net/> based > solutions, coldfusion pdf generation is bloated and slow and > I am trying to > fix that > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument pdf generation
I don't believe you can swap in a newer version of iText and still have cfdocument work. So if cfdocument isn't doing what you want then you will have two switch to a different PDF generation technology. If you switch to a later version of iText you will no longer be using ColdFusion, which would violate your constraint of not using anything other than ColdFusion. If you are having to switch technologies and PDFs are important to you, you might want to find something better than iText, which has many bugs and flaw in my experience. iText has the advantage of being free. There are other PDF generation technologies that hide the complexity behind ColdFusion custom tags, but most of these cost money. There is an iText mailing list that gets a healthy amount of posts to it. -Mike Chabot On Fri, Feb 13, 2009 at 12:16 AM, Daniel . wrote: > > thanks everyone > > I will look into that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument pdf generation
thanks everyone I will look into that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319266 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument pdf generation
Daniel wrote: > the real question: can I update iText with a more recent version ? if so, sure but cfdocument will probably stop working (though give it a try). > implementation, is there a easy way to convert html to pdf using an external > iText implementation called by CreateObject ? it will be harder for sure (you can't really appreciate what cfdocument does for you until you try to do it yourself) but certainly possible (iText is what many of us have been using pre-cfdocument & still do for some requirements). you'll have to use mark's javaloader to get at the iText jar as the cf one will still load ahead of your version (or i guess you could refactor it). these days the mysterious cfsearching is probably the best iText & cf resource: http://cfsearching.blogspot.com/search/label/iText there's also some stuff scattered around the cf forums: http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=1 if you do go w/"low-level" iText buy bruno's book, worth every penny i paid for it: http://www.manning.com/lowagie/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319264 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument pdf generation
You can very likely use JavaLoader to load into CF any version of iText you need and instantiate it with createObject(). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/13 Daniel : > > I have a tough question. > > I am trying to use cfdocument to generate a huge PDF file with 5000+ images > > after failing (even with CF64bits and 8GB of RAM), I was analyzing the PDF > generated by iText (the lib used by coldfusion), and it seams every image > included in the PDF is using the FlateDecode encoding, instead of the > DCTDecode for jpeg images > > with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib > compression > > also, iText tries to use the memory buffer for the cache of the document > > The only way to this document generation to be feasable is if I can change > iText to use DCTDecode on the images, and use a disk based buffer instead of > a memory based buffer > > the real question: can I update iText with a more recent version ? if so, > does this fix this issue? If I can't update the internal iText > implementation, is there a easy way to convert html to pdf using an external > iText implementation called by CreateObject ? > > answers suggesting me to use something else than coldfusion won't be very > helpful, since I already know that, but I want to use coldfusion to generate > those PDFs Comparing with other PHP and ASP.NET <http://asp.net/> based > solutions, coldfusion pdf generation is bloated and slow and I am trying to > fix that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319263 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfdocument pdf generation
I have a tough question. I am trying to use cfdocument to generate a huge PDF file with 5000+ images after failing (even with CF64bits and 8GB of RAM), I was analyzing the PDF generated by iText (the lib used by coldfusion), and it seams every image included in the PDF is using the FlateDecode encoding, instead of the DCTDecode for jpeg images with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib compression also, iText tries to use the memory buffer for the cache of the document The only way to this document generation to be feasable is if I can change iText to use DCTDecode on the images, and use a disk based buffer instead of a memory based buffer the real question: can I update iText with a more recent version ? if so, does this fix this issue? If I can't update the internal iText implementation, is there a easy way to convert html to pdf using an external iText implementation called by CreateObject ? answers suggesting me to use something else than coldfusion won't be very helpful, since I already know that, but I want to use coldfusion to generate those PDFs Comparing with other PHP and ASP.NET <http://asp.net/> based solutions, coldfusion pdf generation is bloated and slow and I am trying to fix that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF and Accessible PDF generation
Right now any dynamic document generation for PDF will not support the tagged format (which is necessary to make accessible). I've talked to Adobe til I'm blue in the face. Maybe some others saying the same thing will help. Historically, Macromedia used 3rd party libraries to create PDF's via CFDocument and the report generator. Since Adobe bought Macromedia, they can use their libraries and the tagged PDF format in CF, but they haven't done the work to change out the libraries. It would be a huge boon, especially to government clients (who are not happy when I tell them that dynamically generated PDF's cannot be made accessible). Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: R Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 6:58 PM To: CF-Talk Subject: Re: CF and Accessible PDF generation >Are there any good resource that discuss the hows and whys of making PDF >documents created by ColdFusion features such as and > to be as accessible as possible. How one sets the >language meta data, how one creates 'taged' pdf files, ect. I guess you did not an answer on this. It seems pretty silly of Adobe to give us a great tag but leave it crippled. These days, there is simply no excuse for inaccessible web pages, pdfs, or docs. -- remaining flex-free until it is accessible too ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF and Accessible PDF generation
>Are there any good resource that discuss the hows and whys of making PDF >documents created by ColdFusion features such as and > to be as accessible as possible. How one sets the >language meta data, how one creates 'taged' pdf files, ect. I guess you did not an answer on this. It seems pretty silly of Adobe to give us a great tag but leave it crippled. These days, there is simply no excuse for inaccessible web pages, pdfs, or docs. -- remaining flex-free until it is accessible too ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298284 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
I posted a blog entry about this at http://coldfused.blogspot.com/2007/12/images-and-cfdocument-performance.html Let me know if that helps. Thanks & Regards, Rupesh Adobe ColdFusion Team ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Follow-up: PDF generation running excrutiatingly slow
Mark... Thanks for those comments...I'll give those a try! -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 8:51 AM To: CF-Talk Subject: RE: Follow-up: PDF generation running excrutiatingly slow Rob, I have a couple of tips on my blog about PDFs and optimization. Recall that CF is doing HTTP "get" type requests for the resources it needs - so when you include images it has to create HTTP request to retrieve each of them. One work around is to use the file:// type syntax to map to the images on the hard drive. This allows the PDF generater to pull them off of the disk rather than generating an HTTP request. Your images themselves need to be optimized and "pre-sized". We have found PNG files work a bit better than other image types. These posts might be helpful: http://mkruger.cfwebtools.com/index.cfm/2006/2/16/cfdocument.performance http://www.coldfusionmuse.com/index.cfm/2006/5/29/cfdocument.ssl (look in the comments for that "file" syntax... It requires escaping some slashes I believe.. ) . Good luck. -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 8:26 AM To: CF-Talk Subject: Re: Follow-up: PDF generation running excrutiatingly slow Just to follow up, you will maybe have to look into doing some page control with the cfdocument tags. I have a PDF with parts of images spanning pages, and it just looks terrible. Are the proposals always going to contain similar information? Just wondering if you could then add some pagination to the document (certain items/sections on certain pages?) my two cents. Rob On Dec 14, 2007 9:22 AM, Rob Parkhill <[EMAIL PROTECTED]> wrote: > Andy, > > The file size is huge. 2.8 MB when it finally finishes. I took your > code, and did it locally, now I don't have all of the pictures in > mine, and there were a couple of open tags (an H1 at the beginning and > a div somewhere), but it generated in 2823 ms and the PDF is only 560 > kb. With the images, it is killing everything. I will get the time, > but the inclusion of the images is the problem. so 142438 ms and 2.8 > mb with Images... > > What are the file sizes of the images? Maybe with reduction in image > size would help? > > Rob > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294781 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Follow-up: PDF generation running excrutiatingly slow
Rob, I have a couple of tips on my blog about PDFs and optimization. Recall that CF is doing HTTP "get" type requests for the resources it needs - so when you include images it has to create HTTP request to retrieve each of them. One work around is to use the file:// type syntax to map to the images on the hard drive. This allows the PDF generater to pull them off of the disk rather than generating an HTTP request. Your images themselves need to be optimized and "pre-sized". We have found PNG files work a bit better than other image types. These posts might be helpful: http://mkruger.cfwebtools.com/index.cfm/2006/2/16/cfdocument.performance http://www.coldfusionmuse.com/index.cfm/2006/5/29/cfdocument.ssl (look in the comments for that "file" syntax... It requires escaping some slashes I believe.. ) . Good luck. -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 8:26 AM To: CF-Talk Subject: Re: Follow-up: PDF generation running excrutiatingly slow Just to follow up, you will maybe have to look into doing some page control with the cfdocument tags. I have a PDF with parts of images spanning pages, and it just looks terrible. Are the proposals always going to contain similar information? Just wondering if you could then add some pagination to the document (certain items/sections on certain pages?) my two cents. Rob On Dec 14, 2007 9:22 AM, Rob Parkhill <[EMAIL PROTECTED]> wrote: > Andy, > > The file size is huge. 2.8 MB when it finally finishes. I took your > code, and did it locally, now I don't have all of the pictures in > mine, and there were a couple of open tags (an H1 at the beginning and > a div somewhere), but it generated in 2823 ms and the PDF is only 560 > kb. With the images, it is killing everything. I will get the time, > but the inclusion of the images is the problem. so 142438 ms and 2.8 > mb with Images... > > What are the file sizes of the images? Maybe with reduction in image > size would help? > > Rob > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Follow-up: PDF generation running excrutiatingly slow
Rob... Images are controlled by the user. They FTP them to the server, then add them to the database so that they can be selected in the admin app. There are 3 widths of images, 200, 300, and 600 by however tall they end up being. The proposal is broken down into distinct modules () and there could be any number of modules in a single proposal. I don't care so much about the file size, but the generation time is an absolute deal break. I didn't notice that about the open tags...I'll have to look into that. I thought I had coded the HTML well. Yes, I know about the page breaks...it looks horrible like that, but I'm not sure how to fix it. The proposals will always be fairly similar in appearance, if not in content. There will always be images, there will always be a fair amount of text, etc. However the modules and their contents will be in whatever order the user specifies. So I can't rely on "this" module being on a specific page, etc. Thanks for your input man, I appreciate it. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 8:23 AM To: CF-Talk Subject: Re: Follow-up: PDF generation running excrutiatingly slow Andy, The file size is huge. 2.8 MB when it finally finishes. I took your code, and did it locally, now I don't have all of the pictures in mine, and there were a couple of open tags (an H1 at the beginning and a div somewhere), but it generated in 2823 ms and the PDF is only 560 kb. With the images, it is killing everything. I will get the time, but the inclusion of the images is the problem. so 142438 ms and 2.8 mb with Images... What are the file sizes of the images? Maybe with reduction in image size would help? Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294777 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
Just to follow up, you will maybe have to look into doing some page control with the cfdocument tags. I have a PDF with parts of images spanning pages, and it just looks terrible. Are the proposals always going to contain similar information? Just wondering if you could then add some pagination to the document (certain items/sections on certain pages?) my two cents. Rob On Dec 14, 2007 9:22 AM, Rob Parkhill <[EMAIL PROTECTED]> wrote: > Andy, > > The file size is huge. 2.8 MB when it finally finishes. I took your > code, and did it locally, now I don't have all of the pictures in mine, and > there were a couple of open tags (an H1 at the beginning and a div > somewhere), but it generated in 2823 ms and the PDF is only 560 kb. With > the images, it is killing everything. I will get the time, but the > inclusion of the images is the problem. so 142438 ms and 2.8 mb with > Images... > > What are the file sizes of the images? Maybe with reduction in image > size would help? > > Rob > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294774 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Follow-up: PDF generation running excrutiatingly slow
Andy, The file size is huge. 2.8 MB when it finally finishes. I took your code, and did it locally, now I don't have all of the pictures in mine, and there were a couple of open tags (an H1 at the beginning and a div somewhere), but it generated in 2823 ms and the PDF is only 560 kb. With the images, it is killing everything. I will get the time, but the inclusion of the images is the problem. so 142438 ms and 2.8 mb with Images... What are the file sizes of the images? Maybe with reduction in image size would help? Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294773 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
Andy, when you say the code is identical, does that mean you are retrieving images and css via http? try using the file protocol instead, and grab the resources straight off the file systen. take dns, http, etc, out of the equation. On Dec 14, 2007 3:21 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm running CF8 and trying to generate a PDF out of this page: > > http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13 > > The page loads in fairly quickly, but creating a PDF from the same exact > code takes several minutes or more, and in some cases times out: > > http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13 > > The code is identical in every aspect with the exception of the cfdocument > tag wrapped around the code from the first link. I need to get some > information on this as quickly as possible. Is my HTML code causing the > issue? Is it my CF code? I need to put this app to bed as soon as I can, but > this is the last remaining piece. > > I started running the PDF generation as soon as I started typing this post > and it's only just now finally loaded. That's about 2 or 3 minutes worth of > time. I could understand if I was generating 30 or 40 pages worth of > content, but this is 6 pages. > > Adobe, please help. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294759 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
Here's some updates used for testing: This page is the exact same source code as the original link, but has NO CF processing (other than the cfdocument tag): http://gaylordoprylandsales.com/prop/PDFtest_01.cfm This page has had it's complex div based layout converted to tables: http://gaylordoprylandsales.com/prop/PDFtest_02.cfm This page is a duplicate of link 01 above, with the content split out into a cfsavecontent tag: http://gaylordoprylandsales.com/prop/PDFtest_03.cfm This page is a duplicate of link 02 above, with the content split out into a cfsavecontent tag: http://gaylordoprylandsales.com/prop/PDFtest_04.cfm ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
Here's some updates used for testing: This page is the exact same source code as the original link, but has NO CF processing (other than the cfdocument tag): http://gaylordoprylandsales.com/prop/PDFtest_01.cfm This page has had it's complex div based layout converted to tables: http://gaylordoprylandsales.com/prop/PDFtest_02.cfm This page is a duplicate of link 01 above, with the content split out into a cfsavecontent tag: http://gaylordoprylandsales.com/prop/PDFtest_03.cfm This page is a duplicate of link 02 above, with the content split out into a cfsavecontent tag: http://gaylordoprylandsales.com/prop/PDFtest_04.cfm ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
Try wrapping the content in a cfsavecontent (instead of cfdocument) and then cfoutputting that result between the cfdocument tags; let us know if that speeds anything up. On Dec 14, 2007 1:21 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm running CF8 and trying to generate a PDF out of this page: > http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13 > > The page loads in fairly quickly, but creating a PDF from the same exact code > takes several minutes or more, and in some cases times out: > http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13 > > The code is identical in every aspect with the exception of the cfdocument > tag wrapped around the code from the first link. I need to get some > information on this as quickly as possible. Is my HTML code causing the > issue? Is it my CF code? I need to put this app to bed as soon as I can, but > this is the last remaining piece. > > I started running the PDF generation as soon as I started typing this post > and it's only just now finally loaded. That's about 2 or 3 minutes worth of > time. I could understand if I was generating 30 or 40 pages worth of content, > but this is 6 pages. > > Adobe, please help. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294748 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Follow-up: PDF generation running excrutiatingly slow
I'm running CF8 and trying to generate a PDF out of this page: http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13 The page loads in fairly quickly, but creating a PDF from the same exact code takes several minutes or more, and in some cases times out: http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13 The code is identical in every aspect with the exception of the cfdocument tag wrapped around the code from the first link. I need to get some information on this as quickly as possible. Is my HTML code causing the issue? Is it my CF code? I need to put this app to bed as soon as I can, but this is the last remaining piece. I started running the PDF generation as soon as I started typing this post and it's only just now finally loaded. That's about 2 or 3 minutes worth of time. I could understand if I was generating 30 or 40 pages worth of content, but this is 6 pages. Adobe, please help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294747 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF and Accessible PDF generation
Ian Skinner wrote: > Are there any good resource that discuss the hows and whys of making PDF > documents created by ColdFusion features such as and > to be as accessible as possible. I discussed this with somebody from Adobe and the guy who wrote the official standard of the Dutch government for accessible PDF last month and the consensus was 'use another tool'. Jochem ~| 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:293334 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF and Accessible PDF generation
Are there any good resource that discuss the hows and whys of making PDF documents created by ColdFusion features such as and to be as accessible as possible. How one sets the language meta data, how one creates 'taged' pdf files, ect. ~| 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:293315 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMX7 and PDF Generation
Although the timeframe suggests the problem may be deeper, you still should make sure you're var-scoping your variables in CFCs where appropriate. As basic as this step seems, it does ultimately allow the garbage collection mechanisms to more quickly and accurately identify memory ready to be reclaimed. I've had cases where finding a variable that should have been var-scoped but somehow fell through the cracks -- a variable that held a large tree of objects -- drastically changed the memory footprint of the whole app. best k On 4/18/06, Jon Gunnip <[EMAIL PROTECTED]> wrote: > This also happened to us once in over a year of generating PDF's using > cfdocument. We traced it down to a PDF request. After that request, > CPU shot up over 50% (it's usually around 10%) and stayed at that > level. No PDF's could be generated until we restarted the CF > services. > > Jon -- -- Kenneth S. Redler [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240193 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: CFMX7 and PDF Generation
This also happened to us once in over a year of generating PDF's using cfdocument. We traced it down to a PDF request. After that request, CPU shot up over 50% (it's usually around 10%) and stayed at that level. No PDF's could be generated until we restarted the CF services. Jon On 4/17/06, Denny Valliant <[EMAIL PROTECTED]> wrote: > On 4/16/06, Kay Smoljak <[EMAIL PROTECTED]> wrote: > > > > Funnily enough, after weeks of developing reports on our test server > > with no issues, I've had this happen twice this morning (CFMX7 and > > cfreport, with SQL Server not MySQL). Dunno what caused it though. > > > Memory I'd bet. Maybe try some forced garbage collection? Or Stick a > memory monitor app somewhere and watch it? > > Just guesses. Maybe increase the heap size for the JVM? > > More guesses. Dunno off hand... > > Force be with you, > :deN > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238034 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: CFMX7 and PDF Generation
On 4/16/06, Kay Smoljak <[EMAIL PROTECTED]> wrote: > > Funnily enough, after weeks of developing reports on our test server > with no issues, I've had this happen twice this morning (CFMX7 and > cfreport, with SQL Server not MySQL). Dunno what caused it though. Memory I'd bet. Maybe try some forced garbage collection? Or Stick a memory monitor app somewhere and watch it? Just guesses. Maybe increase the heap size for the JVM? More guesses. Dunno off hand... Force be with you, :deN ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237982 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: CFMX7 and PDF Generation
On 4/17/06, Anthony Crawford <[EMAIL PROTECTED]> wrote: > Hi folks, I am wondering of anyone in the community has experienced this > issue. > I have an application that runs a query on our MySQL database and prints out > a PDF. > The user clicks a link the runs this cfm page which then generates this PDF. > We are on > a shared host. Every few months (2-3), we get errors and cannot generate PDFs > anymore > -- so a call to the host and they restart the CF server and then all is well > again, PDFs are > generated no problem. Is there anything I can do to prevent this? Funnily enough, after weeks of developing reports on our test server with no issues, I've had this happen twice this morning (CFMX7 and cfreport, with SQL Server not MySQL). Dunno what caused it though. -- Kay Smoljak http://kay.zombiecoder.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237884 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
CFMX7 and PDF Generation
Hi folks, I am wondering of anyone in the community has experienced this issue. I have an application that runs a query on our MySQL database and prints out a PDF. The user clicks a link the runs this cfm page which then generates this PDF. We are on a shared host. Every few months (2-3), we get errors and cannot generate PDFs anymore -- so a call to the host and they restart the CF server and then all is well again, PDFs are generated no problem. Is there anything I can do to prevent this? Thanks ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237883 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: Ent. vs Standard in pdf generation
Thanks to: http://www.dmxzone.com/showDetail.asp?TypeId=28&NewsId=8105&LinkFile=page2.htm where I found this: *cfdocument differences in ColdFusion MX 7 versions* There is a performance limitation with the cfdocument tag in the "CFMX 7 Standard edition". It processes the cfdocument requests one at a time. The Enterprise edition can publish multiple documents at the same time. On 4/7/06, Marty Johll <[EMAIL PROTECTED]> wrote: > > Does someone know or be able to point me in the direction of where I could > find information related to the measurable difference between CF Enterprise > and Standard when it comes to pdf generation. We're looking to purchase a > CF license for a site which has a primary purpose of generating a pdf report > (about 30 page report, with maybe a few graphics). Based on what we think > traffice will be to the site we want to find out if the difference would > justify the purchase of Enterprise. > > Thanks, > Marty > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237235 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: Ent. vs Standard in pdf generation
On 4/8/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > > Denny Valliant wrote: > > added it when they added cfdocument, neh? It would be nice if they > > contributed back the code for HTML > PDF. Not that I'm one to talk, > > obviously. You won't find a blog entry documenting my experiences. :-) i'm not sure what you're referring to. html to pdf is itext & in fact mm did > contribute some fixes, etc. back to the project (cfdocument simplifies > things > immensely) . bruno even pointed that out as an example of the "why & > wherefore" > of opensource's benefiting from commercial projects. mmf mfmmf ffmmfm- excuse me, had a foot in my mouth. Well colour me embarrased, I did not know that. After messing with various HTML > PDF generators, I was really impressed with the cfdocument tag. As I didn't see anything even close to as good as cfdocument, I assumed it was closed-source, so to speak. I'm glad they contributed fixes and didn't just mooch, unlike myself for the most part. I never read bruno and the "why & wherefore". I like the symbiotic relationship that has developed with OS and $$ tho. Sorta bound to happen, if'n ya ask me. There isn't a OS java app that converts html as well as cfdocument does by any chance, is there? If it did flashpaper that would be a plus... ;-) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237233 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: Ent. vs Standard in pdf generation
Denny Valliant wrote: > added it when they added cfdocument, neh? It would be nice if they > contributed back the code for HTML > PDF. Not that I'm one to talk, > obviously. You won't find a blog entry documenting my experiences. :-) i'm not sure what you're referring to. html to pdf is itext & in fact mm did contribute some fixes, etc. back to the project (cfdocument simplifies things immensely) . bruno even pointed that out as an example of the "why & wherefore" of opensource's benefiting from commercial projects. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237231 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: Ent. vs Standard in pdf generation
Well, it wasn't easy, at first. I'd like to take a moment and thank you for posting what you'd accomplished, it helped get me up and running. With all the nifty class loaders and such it isn't quite as difficult... funny you'd mention the fact that it's built into CF now (actually, it has been in there for a while, I just noticed they updated from the dori. to the net.sf a while back (when suddenly ^JR stopped working.;)) they must have added it when they added cfdocument, neh? It would be nice if they contributed back the code for HTML > PDF. Not that I'm one to talk, obviously. You won't find a blog entry documenting my experiences. :-) I like the fine grained control... and iReport is much better with every release, which is quite often- AND it works on various platforms, unlike the current CF report designer. Subreports and whatnot have come a long way as well, it looks pretty easy (if you know some java ;) to pass them as variables and whatnot, even. I don't use them tho, so take it with a grain of salt. If what you're really about is reports, it's a swell app. And the fact that it's all XML makes it pretty easy to create stuff on the fly, then you can save the compiled report for caching. And ^JR seems much faster at large reports than CF. I'm kind of keen on the idea of the ussrp.sourceforge.netproject as well (which is runnable on JRun with some tweaking). You are totally right tho, not something for a newbie to try, unless you're up for a challenge. It does make you feel so good to see those freaking reports finally working tho... oh yeah... feels good. I really like the RTF generation as well- when CF can render a web page as an RTF, that will make some stone age people I know very happy. Not an oft requested feature I bet... I think Rick has the right idea... download the trial/developer versions, write up a test report similar to what you'd want to run, and test it out. Know that settings such as the heap size and whatnot will effect performance as well, 'specially with large reports. You won't beat the ease of doing PDF generated reports in CF, it's quite swell. I'll use a web based report and just wrap it in a cfdocument tag (maybe use a little CSS to format it). Which, BTW, you won't be able to do if you do install ^JR (without renaming it). As a side note, watching the FLEX chart demos made me kind of happy. Now that's a slick interface for reports. On 4/7/06, Rick Root <[EMAIL PROTECTED]> wrote: > > Denny Valliant wrote: > > depanding on what you want to do, you could use ^JasperReports, and go > with > > the standard ed.. > > while ^jasperReports does work and can be integrated into CF, I'm not > sure I'd recommend it to anyone now that it's built into CF.. for a > variety of reasons. > > #1 - implementing ^jasperReports is NOT easy. > #2 - implementing ^jasperReports is NOT supported. > #3 - you will be pretty much on your own, I found virtually no help from > cf-talk when I did it 2 years ago. > #4 - iReport Designer is not a very friendly report designer > (so much so that I ended up doing most of my edits to the XML report > design file directly once I understood the syntax) > #5 - god help you if you want to do subreports! > > Perhaps you could download a trial of enterprise and run some > comparitive tests. > > Rick > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237228 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: Ent. vs Standard in pdf generation
Denny Valliant wrote: > depanding on what you want to do, you could use ^JasperReports, and go with > the standard ed.. while ^jasperReports does work and can be integrated into CF, I'm not sure I'd recommend it to anyone now that it's built into CF.. for a variety of reasons. #1 - implementing ^jasperReports is NOT easy. #2 - implementing ^jasperReports is NOT supported. #3 - you will be pretty much on your own, I found virtually no help from cf-talk when I did it 2 years ago. #4 - iReport Designer is not a very friendly report designer (so much so that I ended up doing most of my edits to the XML report design file directly once I understood the syntax) #5 - god help you if you want to do subreports! Perhaps you could download a trial of enterprise and run some comparitive tests. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237220 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: Ent. vs Standard in pdf generation
depanding on what you want to do, you could use ^JasperReports, and go with the standard ed.. On 4/7/06, Marty Johll <[EMAIL PROTECTED]> wrote: > > Does someone know or be able to point me in the direction of where I could > find information related to the measurable difference between CF > Enterprise > and Standard when it comes to pdf generation. We're looking to purchase a > CF license for a site which has a primary purpose of generating a pdf > report > (about 30 page report, with maybe a few graphics). Based on what we think > traffice will be to the site we want to find out if the difference would > justify the purchase of Enterprise. > > Thanks, > Marty > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237216 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
Ent. vs Standard in pdf generation
Does someone know or be able to point me in the direction of where I could find information related to the measurable difference between CF Enterprise and Standard when it comes to pdf generation. We're looking to purchase a CF license for a site which has a primary purpose of generating a pdf report (about 30 page report, with maybe a few graphics). Based on what we think traffice will be to the site we want to find out if the difference would justify the purchase of Enterprise. Thanks, Marty ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237167 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
Memory usage and PDF generation with CFREPORT
Does anyone have any kind of metrics on how much memory is used during the creation of PDF reports using ? Is the whole thing stored in memory during the generation process? We tried to generate a report for a couple hundred donors with 13,000 giving transaction totals, which amounts to around 500 pages based on our estimate, and the thing ran and ran and ran and killed coldfusion to the point where we had to reboot the whole server to get things back to normal. (I couldn't even get into Fusion Reactor!) Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236456 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: CF7 PDF Generation
Checkout the documentation for and On 3/16/06, Sam Komo_ITS <[EMAIL PROTECTED]> wrote: > > Hi > > Can I use cfdocument to format the first page of a report. Essentially > the > first page to look differently from the rest because headers/logos etc. > > Thanks > Sam > --- > [This E-mail scanned for viruses.] > > > -- Mike T Blog http://www.socialpoints.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235582 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
CF7 PDF Generation
Hi Can I use cfdocument to format the first page of a report. Essentially the first page to look differently from the rest because headers/logos etc. Thanks Sam --- [This E-mail scanned for viruses.] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235573 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 Generation
Ben... If you're using MX7, cfd should be able to make a PDF from any web page. Have you placed a style around the text you want justified and gone that route? Is it the PDF itself that's not justifying correctly? Have you viewed the content without the cfdocument tag around to make sure it looks correct? -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 3:09 PM To: CF-Talk Subject: PDF Generation I have tried checking the archives, and I just can't find a good answer. I am trying to generate PDF on the fly. I have given CFDocument a chance, which is good, but my client Requires justified text, which CFD cannot handle. So, i am wondering if anyone out there has a good suggestion for PDF generation in CF. >From google, i have found Active PDF and Corda Highwire. Neither of these looks "Easy" to use like CFDocument, but maybe that is just the way it is. Ideally i would like to create PDF from HTML. Thanks! Ben Nadel Nylon Technology 212.691.1134 ~| 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:220272 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
PDF Generation
I have tried checking the archives, and I just can't find a good answer. I am trying to generate PDF on the fly. I have given CFDocument a chance, which is good, but my client Requires justified text, which CFD cannot handle. So, i am wondering if anyone out there has a good suggestion for PDF generation in CF. >From google, i have found Active PDF and Corda Highwire. Neither of these >looks "Easy" to use like CFDocument, but maybe that is just the way it is. Ideally i would like to create PDF from HTML. Thanks! Ben Nadel Nylon Technology 212.691.1134 ~| 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:220269 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: CFMX7 PDF generation question
I believe it is using a combo of Java and/or FlashPaper. -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: 11 February 2005 15:10 To: CF-Talk Subject: CFMX7 PDF generation question I've got a question about CFMX7's PDF generation. Presumably it is converting HTML content to PDF format. The question is, what generator does it use to do this - IE's DLLs, Gecko, or something else as this will drastically affect the quality of the output. Also, how would things like in-page links ( jumps to , etc), work? Lastly, what version of Acrobat files does it create? Thanks all. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> The Limu Company - http://www.thelimucompany.com/ <http://www.thelimucompany.com/> - 407-804-1014 #include ~| 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:194252 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
CFMX7 PDF generation question
I've got a question about CFMX7's PDF generation. Presumably it is converting HTML content to PDF format. The question is, what generator does it use to do this - IE's DLLs, Gecko, or something else as this will drastically affect the quality of the output. Also, how would things like in-page links ( jumps to , etc), work? Lastly, what version of Acrobat files does it create? Thanks all. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> The Limu Company - http://www.thelimucompany.com/ <http://www.thelimucompany.com/> - 407-804-1014 #include ~| 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:194249 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
PDF Generation
I have a report in ColdFusion and Flash. How can I save the report as a PDF file without losing any formatting characters? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: PDF generation
Brain cramp -- the url that works is http://www.ibiblio.org/xml/books/bible/updates/15.html ^ / \__ (@\___ / O /(_/ /_/ Whoof... 410-757-3487 -Original Message- From: Paige Chandler [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 11:16 PM To: CF-Talk Subject:Re: PDF generation I get file not available - been moved. Maybe took X-Lax! I still have some interest in XML. PC - Original Message - From: "Arden Weiss" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 4:04 PM Subject: RE: PDF generation > Also, www.ibiblio.org/xml/books/bible/updates/15.htm for Chapter 15 of the XML Bible book that explains the details of FOP usage. > > ^ > / \__ >(@\___ > / O > /(_/ > /_/ > Whoof... > 410-757-3487 > > -Original Message- > From: Caulfield, Michael [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 3:47 PM > To: CF-Talk > Subject: RE: PDF generation > > > http://www.ininet.com/home/cfsouth.zip > > > -Original Message- > From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 12:35 PM > To: CF-Talk > Subject: Re: PDF generation > > > Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did > find a pr on the CfSouth Presentation > > Steve > > - Original Message - > From: "Caulfield, Michael" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 15, 2001 9:50 AM > Subject: RE: PDF generation > > > > If you go to www.ininet.com there should be some presentation materials > (and > > sample code) on this topic from a presentation Neil Giarratana gave at > > CFSOUTH. > > > > I haven't tried it, so I can't comment on the robustness of it, but > glancing > > through the powerpoints it looked pretty slick. > > > > Michael Caulfield > > Cognitive Arts > > > > -Original Message- > > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 15, 2001 11:32 AM > > To: CF-Talk > > Subject: OT: PDF generation > > > > > > I have the task of finding a solution for generating volumes of PDF's. > > Pretty typical: pull info from db, build a pdf, and save it to disk. > > However, we're talking about 10,000 pdf's at once. Anyone have any > > ideas on what would be the most robust solution? > > > > -- > > Billy Cravens > > HR Web Development, Sabre > > [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: PDF generation
I get file not available - been moved. Maybe took X-Lax! I still have some interest in XML. PC - Original Message - From: "Arden Weiss" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 4:04 PM Subject: RE: PDF generation > Also, www.ibiblio.org/xml/books/bible/updte/15.htm for Chapter 15 of the XML Bible book that explains the details of FOP usage. > > ^ > / \__ >(@\___ > / O > /(_/ > /_/ > Whoof... > 410-757-3487 > > -Original Message- > From: Caulfield, Michael [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 3:47 PM > To: CF-Talk > Subject: RE: PDF generation > > > http://www.ininet.com/home/cfsouth.zip > > > -Original Message- > From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 12:35 PM > To: CF-Talk > Subject: Re: PDF generation > > > Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did > find a pr on the CfSouth Presentation > > Steve > > - Original Message - > From: "Caulfield, Michael" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 15, 2001 9:50 AM > Subject: RE: PDF generation > > > > If you go to www.ininet.com there should be some presentation materials > (and > > sample code) on this topic from a presentation Neil Giarratana gave at > > CFSOUTH. > > > > I haven't tried it, so I can't comment on the robustness of it, but > glancing > > through the powerpoints it looked pretty slick. > > > > Michael Caulfield > > Cognitive Arts > > > > -Original Message- > > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 15, 2001 11:32 AM > > To: CF-Talk > > Subject: OT: PDF generation > > > > > > I have the task of finding a solution for generating volumes of PDF's. > > Pretty typical: pull info from db, build a pdf, and save it to disk. > > However, we're talking about 10,000 pdf's at once. Anyone have any > > ideas on what would be the most robust solution? > > > > -- > > Billy Cravens > > HR Web Development, Sabre > > [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: PDF generation
Also, www.ibiblio.org/xml/books/bible/updte/15.htm for Chapter 15 of the XML Bible book that explains the details of FOP usage. ^ / \__ (@\___ / O /(_/ /_/ Whoof... 410-757-3487 -Original Message- From: Caulfield, Michael [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 3:47 PM To: CF-Talk Subject:RE: PDF generation http://www.ininet.com/home/cfsouth.zip -Original Message- From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:35 PM To: CF-Talk Subject: Re: PDF generation Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did find a pr on the CfSouth Presentation Steve - Original Message - From: "Caulfield, Michael" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:50 AM Subject: RE: PDF generation > If you go to www.ininet.com there should be some presentation materials (and > sample code) on this topic from a presentation Neil Giarratana gave at > CFSOUTH. > > I haven't tried it, so I can't comment on the robustness of it, but glancing > through the powerpoints it looked pretty slick. > > Michael Caulfield > Cognitive Arts > > -Original Message- > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 11:32 AM > To: CF-Talk > Subject: OT: PDF generation > > > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: PDF generation
I am with Simon, I have kicked the chit out of activepdf and for batch I have had no problems. Also, it is great for on the fly generation and easy to program (here is where thier cf examples are... http://www.activepdf.com/examples.asp?ID=CF0006). Their support is great. Just call the sales number on thier website and ask to speak to Tim. He can pretty much walk you through any programming questions. Sean Renet. www.activepdf.com - Original Message - From: "Caulfield, Michael" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 12:47 PM Subject: RE: PDF generation > > http://www.ininet.com/home/cfsouth.zip > > > -Original Message- > From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 12:35 PM > To: CF-Talk > Subject: Re: PDF generation > > > Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did > find a pr on the CfSouth Presentation > > Steve > > - Original Message - > From: "Caulfield, Michael" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 15, 2001 9:50 AM > Subject: RE: PDF generation > > > > If you go to www.ininet.com there should be some presentation materials > (and > > sample code) on this topic from a presentation Neil Giarratana gave at > > CFSOUTH. > > > > I haven't tried it, so I can't comment on the robustness of it, but > glancing > > through the powerpoints it looked pretty slick. > > > > Michael Caulfield > > Cognitive Arts > > > > -Original Message- > > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 15, 2001 11:32 AM > > To: CF-Talk > > Subject: OT: PDF generation > > > > > > I have the task of finding a solution for generating volumes of PDF's. > > Pretty typical: pull info from db, build a pdf, and save it to disk. > > However, we're talking about 10,000 pdf's at once. Anyone have any > > ideas on what would be the most robust solution? > > > > -- > > Billy Cravens > > HR Web Development, Sabre > > [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: PDF generation
http://www.ininet.com/home/cfsouth.zip -Original Message- From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:35 PM To: CF-Talk Subject: Re: PDF generation Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did find a pr on the CfSouth Presentation Steve - Original Message - From: "Caulfield, Michael" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:50 AM Subject: RE: PDF generation > If you go to www.ininet.com there should be some presentation materials (and > sample code) on this topic from a presentation Neil Giarratana gave at > CFSOUTH. > > I haven't tried it, so I can't comment on the robustness of it, but glancing > through the powerpoints it looked pretty slick. > > Michael Caulfield > Cognitive Arts > > -Original Message- > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 11:32 AM > To: CF-Talk > Subject: OT: PDF generation > > > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: [Re: [OT: PDF generation]]
www.fastio.com/ Billy Cravens <[EMAIL PROTECTED]> wrote: Yes it will be a batch job. Where can I get the library(ies)? -- Billy Cravens HR Web Development, Sabre [EMAIL PROTECTED] Alex wrote: > > first use the right tool for the job. is this a batch job? there is a free pdf > lib for C,perl, java, python > > Billy Cravens <[EMAIL PROTECTED]> wrote: > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: [OT: PDF generation]
And that lib would be? where? Steve - Original Message - From: "Alex" <[EMAIL PROTECTED]> > first use the right tool for the job. is this a batch job? there is a free pdf > lib for C,perl, java, python ~~ 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: [OT: PDF generation]
you might want to check out http://www.ghostscript.com/ in that case. ~Simon > Simon Horwith > Allaire Certified Instructor > Certified ColdFusion Developer > Fig Leaf Software > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 2:35 PM To: CF-Talk Subject: Re: [OT: PDF generation] Yes it will be a batch job. Where can I get the library(ies)? -- Billy Cravens HR Web Development, Sabre [EMAIL PROTECTED] Alex wrote: > > first use the right tool for the job. is this a batch job? there is a free pdf > lib for C,perl, java, python > > Billy Cravens <[EMAIL PROTECTED]> wrote: > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: [OT: PDF generation]
Yes it will be a batch job. Where can I get the library(ies)? -- Billy Cravens HR Web Development, Sabre [EMAIL PROTECTED] Alex wrote: > > first use the right tool for the job. is this a batch job? there is a free pdf > lib for C,perl, java, python > > Billy Cravens <[EMAIL PROTECTED]> wrote: > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: PDF generation
I've put activepdf under pretty good stress on windows. In my opinion, it's not the best tool for batch processing, but is excellent for "on the fly" pdf generation and for very dynamic page generation (it integrates very well with other COM Objects). Unlike some of the other servers I wrote test code for, activepdf did an excellent job queing requests without bombing out. ~Simon > Simon Horwith > Allaire Certified Instructor > Certified ColdFusion Developer > Fig Leaf Software > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > -Original Message- From: Stephen M Aylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 1:29 PM To: CF-Talk Subject: Re: PDF generation Anyone hear put ActivePDF under that kind of stress? (10,000 pages / files at a a whack?) If your on a WIN platform give activepdf a whirl. If other OS or you run into prob's with ActivePDF ( i hear nasty "rumors" you might) Pretty much one of the un-disputed robust PDF generation tools is made by Digital Applications www.digapp.com. FDF Merge, PDF Merge. I beleive it runs on other than WIN OS as well as Win Platforms too. Steve - Original Message - From: "Simon Horwith" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:52 AM Subject: RE: PDF generation > activepdf works well. > > ~Simon > > > Simon Horwith > > Allaire Certified Instructor > > Certified ColdFusion Developer > > Fig Leaf Software > > 1400 16th St NW, # 220 > > Washington DC 20036 > > 202.797.6570 (direct line) > > www.figleaf.com > > > > > -Original Message- > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 12:32 PM > To: CF-Talk > Subject: OT: PDF generation > > > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: PDF generation
Search on the site results in NIL under Adobe / PDF / CFSOUTH ... tho I did find a pr on the CfSouth Presentation Steve - Original Message - From: "Caulfield, Michael" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:50 AM Subject: RE: PDF generation > If you go to www.ininet.com there should be some presentation materials (and > sample code) on this topic from a presentation Neil Giarratana gave at > CFSOUTH. > > I haven't tried it, so I can't comment on the robustness of it, but glancing > through the powerpoints it looked pretty slick. > > Michael Caulfield > Cognitive Arts > > -Original Message- > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 11:32 AM > To: CF-Talk > Subject: OT: PDF generation > > > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: PDF generation
Anyone hear put ActivePDF under that kind of stress? (10,000 pages / files at a a whack?) If your on a WIN platform give activepdf a whirl. If other OS or you run into prob's with ActivePDF ( i hear nasty "rumors" you might) Pretty much one of the un-disputed robust PDF generation tools is made by Digital Applications www.digapp.com. FDF Merge, PDF Merge. I beleive it runs on other than WIN OS as well as Win Platforms too. Steve - Original Message - From: "Simon Horwith" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:52 AM Subject: RE: PDF generation > activepdf works well. > > ~Simon > > > Simon Horwith > > Allaire Certified Instructor > > Certified ColdFusion Developer > > Fig Leaf Software > > 1400 16th St NW, # 220 > > Washington DC 20036 > > 202.797.6570 (direct line) > > www.figleaf.com > > > > > -Original Message- > From: Billy Cravens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 12:32 PM > To: CF-Talk > Subject: OT: PDF generation > > > I have the task of finding a solution for generating volumes of PDF's. > Pretty typical: pull info from db, build a pdf, and save it to disk. > However, we're talking about 10,000 pdf's at once. Anyone have any > ideas on what would be the most robust solution? > > -- > Billy Cravens > HR Web Development, Sabre > [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: PDF generation
Take a look at www.amyuni.com/pdfpd.htm -- I just used it to generate 2,500 PDF files at about 1/second. There is a developer's version of the product that give you unlimited use. ^ / \__ (@\___ / O /(_/ /_/ Whoof... 410-757-3487 -Original Message- From: Billy Cravens [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:32 PM To: CF-Talk Subject: OT: PDF generation I have the task of finding a solution for generating volumes of PDF's. Pretty typical: pull info from db, build a pdf, and save it to disk. However, we're talking about 10,000 pdf's at once. Anyone have any ideas on what would be the most robust solution? -- Billy Cravens HR Web Development, Sabre [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: [OT: PDF generation]
first use the right tool for the job. is this a batch job? there is a free pdf lib for C,perl, java, python Billy Cravens <[EMAIL PROTECTED]> wrote: I have the task of finding a solution for generating volumes of PDF's. Pretty typical: pull info from db, build a pdf, and save it to disk. However, we're talking about 10,000 pdf's at once. Anyone have any ideas on what would be the most robust solution? -- Billy Cravens HR Web Development, Sabre [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: PDF generation
If you go to www.ininet.com there should be some presentation materials (and sample code) on this topic from a presentation Neil Giarratana gave at CFSOUTH. I haven't tried it, so I can't comment on the robustness of it, but glancing through the powerpoints it looked pretty slick. Michael Caulfield Cognitive Arts -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 11:32 AM To: CF-Talk Subject: OT: PDF generation I have the task of finding a solution for generating volumes of PDF's. Pretty typical: pull info from db, build a pdf, and save it to disk. However, we're talking about 10,000 pdf's at once. Anyone have any ideas on what would be the most robust solution? -- Billy Cravens HR Web Development, Sabre [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: PDF generation
activepdf works well. ~Simon > Simon Horwith > Allaire Certified Instructor > Certified ColdFusion Developer > Fig Leaf Software > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:32 PM To: CF-Talk Subject: OT: PDF generation I have the task of finding a solution for generating volumes of PDF's. Pretty typical: pull info from db, build a pdf, and save it to disk. However, we're talking about 10,000 pdf's at once. Anyone have any ideas on what would be the most robust solution? -- Billy Cravens HR Web Development, Sabre [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: OT: PDF generation
I am using activePDF Server and WebGrabber from ActivePDF. It works pretty well and is fast. www.activepdf.com -- Clint Tredway www.factorxsoftware.com -- ~~ 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
OT: PDF generation
I have the task of finding a solution for generating volumes of PDF's. Pretty typical: pull info from db, build a pdf, and save it to disk. However, we're talking about 10,000 pdf's at once. Anyone have any ideas on what would be the most robust solution? -- Billy Cravens HR Web Development, Sabre [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