Re: pdf COM object
Thanks. I actually did read the manual before posting. I appreciate the assistance. > Here's a reference for merging PDF files with CF9: > > http://help.adobe.com/en_US/ColdFusion/9. > 0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-798f.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356475 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf COM object
On Mon, Aug 12, 2013 at 10:38 AM, daniel kessler wrote: > > We are moving from cf7 to cf9 and because of that, we can no longer use > COM objects. I've replaced most of the code with cf9 calls, but I cannot > do so with CopyForm, which copies pages of the form. > > Can anyone recommend a path for correcting this? I don't know the cf pdf > calls well. Is there a replacemnt for this within cf9? > Here's a reference for merging PDF files with CF9: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-798f.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356433 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf COM object
On 8/10/2013 12:00 AM, daniel kessler wrote: > Can anyone recommend a path for correcting this? I don't know the cf pdf > calls well. Is there a replacemnt for this within cf9? not sure about cf itself, but i concatenated PDFs before using iText. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356429 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
Agreed. Or use pdfutils to edit it via a com object. On Mar 11, 2013 1:04 PM, "DURETTE, STEVEN J" wrote: > > Pre-shrink the image to fit the page? > > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: Monday, March 11, 2013 1:02 PM > To: cf-talk > Subject: RE: PDF Issue > > > CFDOCUMENT is using my style sheet, but it ignores the max-width property > on images. If I were to guess I'd say it's rendering the PDF and expanding > the page to the width of the widest image (with the correct fonts), then > converting it to a PDF image, then shrinking the entire page (include the > text) to fit the page size I specified. I see no way around this. > > Any thoughts? > > Robert Harrison > Director of Interactive Services > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
Pre-shrink the image to fit the page? -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Monday, March 11, 2013 1:02 PM To: cf-talk Subject: RE: PDF Issue CFDOCUMENT is using my style sheet, but it ignores the max-width property on images. If I were to guess I'd say it's rendering the PDF and expanding the page to the width of the widest image (with the correct fonts), then converting it to a PDF image, then shrinking the entire page (include the text) to fit the page size I specified. I see no way around this. Any thoughts? Robert Harrison Director of Interactive Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
CFDOCUMENT is using my style sheet, but it ignores the max-width property on images. If I were to guess I'd say it's rendering the PDF and expanding the page to the width of the widest image (with the correct fonts), then converting it to a PDF image, then shrinking the entire page (include the text) to fit the page size I specified. I see no way around this. Any thoughts? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF Populate and readBinary Data
Thanks again. Let me explain with steps. 1. Have an interactive PDF. 2. Populate data to pdf but do not open to the brower. 3. convert populated PDF into binary and write to database. 4. At the end of the day, all these PDF's are downloaded depends on search criteria. (I am not worried about this. This step can be done easily). I tried using cfsavecontent and it is still populating the PDF in brower. AM I doing something wrong here? > > Is it not true that as soon as I populate fields, if opens PDF right > away. I want to save a PDF with populated fields into binary and then > use it for later. > > I guess I misunderstood what you were asking for, originally. > > You can either have it written to the browser or you can write it to > the filesystem. I'm not sure what you mean by "use it for later", but > if you don't want to write it to the filesystem at the end of your > CFPDFFORM operation, you might be able to capture it with > CFSAVECONTENT. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351849 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF Populate and readBinary Data
> Is it not true that as soon as I populate fields, if opens PDF right away. I > want to save a PDF with populated fields into binary and then use it for > later. I guess I misunderstood what you were asking for, originally. You can either have it written to the browser or you can write it to the filesystem. I'm not sure what you mean by "use it for later", but if you don't want to write it to the filesystem at the end of your CFPDFFORM operation, you might be able to capture it with CFSAVECONTENT. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351835 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF Populate and readBinary Data
Thanks for your response. Is it not true that as soon as I populate fields, if opens PDF right away. I want to save a PDF with populated fields into binary and then use it for later. > > I have an interactive PDF form, trying to populate data into fields > and then read the populated pdf as binary. Can I do it > > without writing to temporary folder? > > Since CFPDFFORM accepts a byte array (a variable containing a PDF, > for > example), yes. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351831 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF Populate and readBinary Data
> I have an interactive PDF form, trying to populate data into fields and then > read the populated pdf as binary. Can I do it > without writing to temporary folder? Since CFPDFFORM accepts a byte array (a variable containing a PDF, for example), yes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351830 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF maker tag
Jim, You can buy a PDF creation custom tag for CF5, that I think was called CFX_PDF, although it has been a while since I last saw that. With CF5 I have also used the commercial ActivePDF Toolkit COM object. There was a popular free HTML to PDF converter that I used with CF back in the CF5 days, that had some generic name like HTMLtoPDF, although these days I might first look to the open source library that powers the modern cfdocument tag in CF9 called iText. Or you could upgrade to CF9. -Mike Chabot On Mon, Dec 5, 2011 at 8:54 AM, Jim Mixon wrote: > > Can anyone point me to a tag or whatever that I can use with CF5 to create > .pdf's on the fly? > > Does one exist for CF5? > > thanks a mill! > > jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF maker tag (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: FOUO Cf7-9 have cfdocument tag -Original Message- From: Jim Mixon [mailto:bigjim0...@yahoo.com] Sent: Monday, December 05, 2011 8:55 AM To: cf-talk Subject: PDF maker tag Can anyone point me to a tag or whatever that I can use with CF5 to create .pdf's on the fly? Does one exist for CF5? thanks a mill! jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348948 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf creation hell
Hi Marc, Thanks for the reply. I already tried your suggestion before posting and that didn't work so I guess I will parse out the fields as you suggested. Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf creation hell
Hi Marc, Thanks for the reply. I already tried your suggestion before posting and that didn't work so I guess I will parse out the fields as you suggested. Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: pdf creation hell
Marc, Itext does not honor every style and convention... and I suspect input boxes would (obviously) be a problem. I would try adding an inline style block to the input block - or appending to the one that's there (style="text-align: right;")... if that fails, parse out the tags and leave just the values in the table cells. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: marc -- [mailto:m...@marcbakker.com] Sent: Saturday, December 25, 2010 3:28 PM To: cf-talk Subject: pdf creation hell Hi, I create a pdf from cf-generated HTML. Part of it is a table with numbers. Most of the table cells contain with text or numbers inside. I want the fields with numbers in one of the columns to be right-aligned so it is easy to see how they ad up but I am unable to do so. When I view the page (that is to be rendered as pdf) in the browser the numbers are perfectly right-aligned. But when the pdf is generated from that same html/css, the numbers are either left-aligned or centered. I use an included style sheet. The css rule I use to right-align text is "text-align:right". I use that in a style I apply to the input field in the table cells. This is my tag: fontembed="yes" gave me the same problem. The rest of the pdf looks Ok so the pdf generator has no problem with the HTML. Just this text - align part. I use CF 9.0.1 on Mac OS X with apache 2.2 Does anyone have an idea what could be causing this? Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF printing issues
Well that make's sense I suppose... I'll add that to my list of ideas :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, December 21, 2010 8:55 AM To: cf-talk Subject: RE: PDF printing issues Thanks Mark... I used a couple of your suggestions to speed it up a bit. But the moment that I set the dpi from 600 to 300, bam! Pages printed beautifully. -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Monday, December 20, 2010 12:50 PM To: cf-talk Subject: RE: PDF printing issues Tim, There are many tips and tricks to optimizing your pdf generation. Most of them boil down to removing or streamlining the external resources needed. So, for example, if you use an exteneral CSS file, cfdocument has to... -Resolve the URL to the css file -"get" the CSS file via cfhttp -"render" the css into whatever is needed for pdf formatting using the rendering engine -Include the info in-line in the file. Multiply that times all images and external resources needed to produce the single file (unlike HTML everything must be "in" the file). If your PDF takes, say 25 images - that is 25 CF Threads to call those images etc. There are some ways around it and my blog has a lot of great documentation on this subject. http://www.coldfusionmuse.com Do a search for "cfdocument" and you'll get 4 or 5 articles and some tangential ones as well. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Monday, December 20, 2010 2:05 PM To: cf-talk Subject: PDF printing issues We're having a bit (HUGE) of a problem printing PDFs created by using cfdocument. We just updated our PDF generator to us CF instead of html2pdf. We are having many users complain that it takes 20-30 minutes to print out PDFs (20-25pgs). The file size itself is about 1mb so file size isn't the problem, although I did notice that the file size balloons up when in the queue, but I read its normal since PDF is compressed. It works on certain printers but not others, same make/model printers as well. We tried updating printer drivers on them but it would work on some but not all. Some of the printers are relatively new with newer drivers. So my question is.. is this a printer driver issue or is this an issue w/ how the PDFs are generated?? Anybody else having problems printer larger PDFs generated with cfdocument/cfpdf? Thanks, Tim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF printing issues
Thanks Mark... I used a couple of your suggestions to speed it up a bit. But the moment that I set the dpi from 600 to 300, bam! Pages printed beautifully. -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Monday, December 20, 2010 12:50 PM To: cf-talk Subject: RE: PDF printing issues Tim, There are many tips and tricks to optimizing your pdf generation. Most of them boil down to removing or streamlining the external resources needed. So, for example, if you use an exteneral CSS file, cfdocument has to... -Resolve the URL to the css file -"get" the CSS file via cfhttp -"render" the css into whatever is needed for pdf formatting using the rendering engine -Include the info in-line in the file. Multiply that times all images and external resources needed to produce the single file (unlike HTML everything must be "in" the file). If your PDF takes, say 25 images - that is 25 CF Threads to call those images etc. There are some ways around it and my blog has a lot of great documentation on this subject. http://www.coldfusionmuse.com Do a search for "cfdocument" and you'll get 4 or 5 articles and some tangential ones as well. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Monday, December 20, 2010 2:05 PM To: cf-talk Subject: PDF printing issues We're having a bit (HUGE) of a problem printing PDFs created by using cfdocument. We just updated our PDF generator to us CF instead of html2pdf. We are having many users complain that it takes 20-30 minutes to print out PDFs (20-25pgs). The file size itself is about 1mb so file size isn't the problem, although I did notice that the file size balloons up when in the queue, but I read its normal since PDF is compressed. It works on certain printers but not others, same make/model printers as well. We tried updating printer drivers on them but it would work on some but not all. Some of the printers are relatively new with newer drivers. So my question is.. is this a printer driver issue or is this an issue w/ how the PDFs are generated?? Anybody else having problems printer larger PDFs generated with cfdocument/cfpdf? Thanks, Tim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF printing issues
Tim, There are many tips and tricks to optimizing your pdf generation. Most of them boil down to removing or streamlining the external resources needed. So, for example, if you use an exteneral CSS file, cfdocument has to... -Resolve the URL to the css file -"get" the CSS file via cfhttp -"render" the css into whatever is needed for pdf formatting using the rendering engine -Include the info in-line in the file. Multiply that times all images and external resources needed to produce the single file (unlike HTML everything must be "in" the file). If your PDF takes, say 25 images - that is 25 CF Threads to call those images etc. There are some ways around it and my blog has a lot of great documentation on this subject. http://www.coldfusionmuse.com Do a search for "cfdocument" and you'll get 4 or 5 articles and some tangential ones as well. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Monday, December 20, 2010 2:05 PM To: cf-talk Subject: PDF printing issues We're having a bit (HUGE) of a problem printing PDFs created by using cfdocument. We just updated our PDF generator to us CF instead of html2pdf. We are having many users complain that it takes 20-30 minutes to print out PDFs (20-25pgs). The file size itself is about 1mb so file size isn't the problem, although I did notice that the file size balloons up when in the queue, but I read its normal since PDF is compressed. It works on certain printers but not others, same make/model printers as well. We tried updating printer drivers on them but it would work on some but not all. Some of the printers are relatively new with newer drivers. So my question is.. is this a printer driver issue or is this an issue w/ how the PDFs are generated?? Anybody else having problems printer larger PDFs generated with cfdocument/cfpdf? Thanks, Tim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF scaling
Could the "fontEmbed" option help? I don't think it will but worth a try. Dave @ Oyova.com http://www.oyova.com";>Web Development and Design - Oyova Software ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338057 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF multi-line input
On 6/1/2010 3:42 PM, Chad Gray wrote: > Apprently chr(13)& chr(10) represents a "Windows newline". Carriage return-linefeed is what was used in teletype systems. It isn't a Windows thing specifically, but was the norm for many moons before other OS systems were developed. If you try to send just a CR to a teletype (just saying), it will print every printed line over the top of the last. I have direct experience in doing that. :) -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) NCDevCon: http://ncdevcon.com/ 2010 Raleigh ColdFusion Conference ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334226 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
AH HA! Found it. replace(FORM.Customer_Name, Chr(13) & Chr(10), chr(13), "ALL") Apprently chr(13) & chr(10) represents a "Windows newline". Looks like this works. I will keep testing. Chad -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Tuesday, June 01, 2010 3:32 PM To: cf-talk Subject: RE: PDF multi-line input Either way, it seems to be when I pull the data from the database and use CFPDFFORM and insert it back into the PDF. If I submit the PDF there are extra carriage returns in the data. Using the replace of chr(10) and chr(13) did not help either. It is like the PDF displays single carriage returns, but it submits to the update as double carriage returns. Im stumped! Chad -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Tuesday, June 01, 2010 3:05 PM To: cf-talk Subject: Re: PDF multi-line input On 6/1/2010 11:48 AM, Robert Harrison wrote: > #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# > > You need the ## around the characters. Otherwise you're looking to replace > the literal string 'chr(10)'. > No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, "#chr(10)#", "#chr(13)#")# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
Either way, it seems to be when I pull the data from the database and use CFPDFFORM and insert it back into the PDF. If I submit the PDF there are extra carriage returns in the data. Using the replace of chr(10) and chr(13) did not help either. It is like the PDF displays single carriage returns, but it submits to the update as double carriage returns. Im stumped! Chad -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Tuesday, June 01, 2010 3:05 PM To: cf-talk Subject: Re: PDF multi-line input On 6/1/2010 11:48 AM, Robert Harrison wrote: > #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# > > You need the ## around the characters. Otherwise you're looking to replace > the literal string 'chr(10)'. > No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, "#chr(10)#", "#chr(13)#")# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF multi-line input
On 6/1/2010 11:48 AM, Robert Harrison wrote: > #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# > > You need the ## around the characters. Otherwise you're looking to replace > the literal string 'chr(10)'. > No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, "#chr(10)#", "#chr(13)#")# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
#replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5164 (20100601) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf metadata
> No, pdfutils uses DDX via cfpdf. Of course, in CF9 you > don't need that. Yes, you are right. I skimmed and was looking at the xmp metadata. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334086 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf metadata
No, pdfutils uses DDX via cfpdf. Of course, in CF9 you don't need that. On Fri, May 28, 2010 at 1:13 PM, Leigh wrote: > > The FAQ's say OpenBD comes with pdfbox (as well as iText 2.x). Between the > two of them you should be able to work with the metadata. > > http://www.pdfbox.org/userguide/metadata.html > http://www.docjar.com/docs/api/com/lowagie/text/Document.html > > You might also see if the pdfutils.cfc works with OpenBD. I believe it has a > function for extracting metadata using iText > http://pdfutils.riaforge.org/ > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334084 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: pdf metadata
The FAQ's say OpenBD comes with pdfbox (as well as iText 2.x). Between the two of them you should be able to work with the metadata. http://www.pdfbox.org/userguide/metadata.html http://www.docjar.com/docs/api/com/lowagie/text/Document.html You might also see if the pdfutils.cfc works with OpenBD. I believe it has a function for extracting metadata using iText http://pdfutils.riaforge.org/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334082 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
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
Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]
On Mon, Apr 5, 2010 at 10:41 PM, Paul Hastings wrote: > > On 4/6/2010 10:52 AM, Craigsell wrote: >> >> I would use iText (http://itextpdf.com/). It's the same code that runs > > i think he specified "easy" ;-) If you're doing "canned" PDFs (think report builder style) there's a custom tag for Railo which runs jasperreport JRXML files. I think it will work on CF9 too, but I haven't tested it lately. The UI for iReport is freaking awesome, and works on a ton of platforms and whatnot. Excellent stuff. (And easy.) :Den -- Pray that your loneliness may spur you into finding something to live for, great enough to die for. Dag Hammarskjol ~| 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:332656 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]
On 4/6/2010 4:48 PM, Tom Chiverton wrote: > There are a ton of good examples on the first page of the obvious google > search. yup but none are as easy as cfdocument ;-) ..if you need to use iText, by all means by bruno's book: http://www.manning.com/lowagie2/ ~| 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:332646 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]
On Tuesday 06 Apr 2010, Paul Hastings wrote: > On 4/6/2010 10:52 AM, Craigsell wrote: > > I would use iText (http://itextpdf.com/). It's the same code that runs > > i think he specified "easy" ;-) There are a ton of good examples on the first page of the obvious google search. -- Helping to evangelistically reintermediate virtual market-growth as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| 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:332625 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument [spamtrap bayes][spamtrap heur][auto-ip]
On 4/6/2010 10:52 AM, Craigsell wrote: > > I would use iText (http://itextpdf.com/). It's the same code that runs i think he specified "easy" ;-) ~| 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:332622 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument
I would use iText (http://itextpdf.com/). It's the same code that runs behind CFPDF. I gave up on CFdocumnat about a month ago and haven't looked back. The amount of control I have is great, all my layout issues went away, and it runs faster. CF7/8 ships with version 2 but I used version 5 no problem. It has been refactored so you can use it alongside version 2. Warren Koch ~| 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:332621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument
LocalURL came into being with coldfusion 8,, and he said he is using cf7 >Make sure to read the optimization notes related to cfdocument. There >are tricks you can do which speed up embedding of images, which are >documented in a number of places, including the online help. If >cfdocument is having to go fetch images over http every time it runs >that can really slow it down and become a bottleneck. You can embed >images from a local hard drive. Are you using the localurl="yes" >attribute? If you are generating PDFs from remote content, and the >images are often the same across reports, you can predownload the >images and cache them locally, then use the local cache when >generating the PDF. > >Good luck, >Mike Chabot > >On Mon, Apr 5, 2010 at 5:00 PM, Shaun Webster wrote: > > > > Hi. > > > > Does anyone know of an easy alternate to create dynamic pdf that > does not use cfdocument? > > > > We have gotten into a situation on our server that use CF7 > standard (not multi thread) where some 2-5 page pdfs w/ a few > images block up the thread que and eventually crash jrun. > > This happens regularly and we need to find a solution. Lets say > they have to stay on the same server and an enterprise license is > out of the question. ~| 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:332618 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF alternate to cfdocument
http://www.activepdf.com/ Keep in mind that there are different PDF types. There are nicely formatted reports that export as a PDF, then there PDFs that have a less-defined structure. It is the difference between cfreport and cfdocument. A number of options open up to you if you are able to deal with the constraints of a professional report generation tool. Make sure to read the optimization notes related to cfdocument. There are tricks you can do which speed up embedding of images, which are documented in a number of places, including the online help. If cfdocument is having to go fetch images over http every time it runs that can really slow it down and become a bottleneck. You can embed images from a local hard drive. Are you using the localurl="yes" attribute? If you are generating PDFs from remote content, and the images are often the same across reports, you can predownload the images and cache them locally, then use the local cache when generating the PDF. Good luck, Mike Chabot On Mon, Apr 5, 2010 at 5:00 PM, Shaun Webster wrote: > > Hi. > > Does anyone know of an easy alternate to create dynamic pdf that does not use > cfdocument? > > We have gotten into a situation on our server that use CF7 standard (not > multi thread) where some 2-5 page pdfs w/ a few images block up the thread > que and eventually crash jrun. > This happens regularly and we need to find a solution. Lets say they have to > stay on the same server and an enterprise license is out of the question. > > The thread looks to get hung up at... java.awt.image.PixelGrabber.grabPixels > > Any help or direction is much appreciated. > > Thanks in advance. > > -- > Shaun Webster > > ~| 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:332599 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF forms submitting to URL
Thanks Leigh! It is binary data, lovely. I think I will switch to HTML instead of FDF in the PDF form. Looks like using HTML the data is sent as a FORM object. Thanks again! Chad -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Wednesday, February 10, 2010 11:45 AM To: cf-talk Subject: Re: PDF forms submitting to URL Try dumping the "content" field from getHttpRequestData(). IIRC, you could use iText's fdf parser to read the data. -Leigh ~| 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:330532 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 forms submitting to URL
Try dumping the "content" field from getHttpRequestData(). IIRC, you could use iText's fdf parser to read the data. -Leigh ~| 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:330529 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 Form Filling alternate in MS-Word???
RTF is a plain-text format, so theoretically you can just put something like *FIRSTNAME* where you want it to appear, save it as RTF, and then do a search and replace for *FIRSTNAME* on that RTF, and then serve the result. :den -- Do not spoil what you have by desiring what you have not; remember that what you now have was once among the things you only hoped for. Epicurus On Thu, Feb 4, 2010 at 11:33 PM, Arsalan Tariq Keen wrote: > > Gerald, > > could you be more elaborative ...plz > could you provide some code? I don't get the variables ... :s > > Many thanks for your suggestion ~| 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:330447 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 Form Filling alternate in MS-Word???
Gerald, could you be more elaborative ...plz could you provide some code? I don't get the variables ... :s Many thanks for your suggestion. -- From: "Gerald Guido" Sent: Thursday, February 04, 2010 8:09 PM To: "cf-talk" Subject: Re: PDF Form Filling alternate in MS-Word??? > > I have done this in the past using RTF format. About 1/2 way into it I > wish > I hadn't. It can be very tedious for large forms. You can try saving the > document in .xml format but Word's XML parser is VERY picky and I never > got > it to work right. Hence the RTF approach. > > Basically I saved the document as RTF with markers where the variables > would > go and filled it in with CF variables and forced it to be downloaded as a > .doc file > > > > > > > type="application/unknown">#Trim(MyDoc)# showdebugoutput="false"> > > HTH, > G! > > On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen > wrote: > >> >> Dear Experts, >> >> I want to know is there any way I can auto-fill my word documents with >> specific data at specific locations using ColdFusion. I have done this >> using >> PDF Forms, where I used to add texfields and then later populate them >> using >> CF. Is there anyway to achieve this using CF + MS-Word >> >> >> Regards, >> Arsalan >> >> > > ~| 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:330414 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 Form Filling alternate in MS-Word???
You could check out the apache POI project. Not sure how much support they'll have for this sort of thing. You still might have to insert markers to look for (i.e. replace $$VAR1$$ with the contents of your first variable or something like that). Here's the link: http://poi.apache.org/ -Jake On Thu, Feb 4, 2010 at 9:09 AM, Gerald Guido wrote: > > I have done this in the past using RTF format. About 1/2 way into it I wish > I hadn't. It can be very tedious for large forms. You can try saving the > document in .xml format but Word's XML parser is VERY picky and I never got > it to work right. Hence the RTF approach. > > Basically I saved the document as RTF with markers where the variables > would > go and filled it in with CF variables and forced it to be downloaded as a > .doc file > > > > > > > type="application/unknown">#Trim(MyDoc)# showdebugoutput="false"> > > HTH, > G! > > On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen >wrote: > > > > > Dear Experts, > > > > I want to know is there any way I can auto-fill my word documents with > > specific data at specific locations using ColdFusion. I have done this > using > > PDF Forms, where I used to add texfields and then later populate them > using > > CF. Is there anyway to achieve this using CF + MS-Word > > > > > > Regards, > > Arsalan > > > > > > ~| 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:330402 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 Form Filling alternate in MS-Word???
I have done this in the past using RTF format. About 1/2 way into it I wish I hadn't. It can be very tedious for large forms. You can try saving the document in .xml format but Word's XML parser is VERY picky and I never got it to work right. Hence the RTF approach. Basically I saved the document as RTF with markers where the variables would go and filled it in with CF variables and forced it to be downloaded as a .doc file #Trim(MyDoc)# HTH, G! On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen wrote: > > Dear Experts, > > I want to know is there any way I can auto-fill my word documents with > specific data at specific locations using ColdFusion. I have done this using > PDF Forms, where I used to add texfields and then later populate them using > CF. Is there anyway to achieve this using CF + MS-Word > > > Regards, > Arsalan > > ~| 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:330401 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. 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
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
Re: PDF Compression Tag/SW
Hello maya, thanks for that hint! But unfortunately I don't know where to set this properties. Such an attribute is neither within the cfdocument nor the cfpdf tag. regards ~| 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:315992 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 Compression Tag/SW
Try to set "Document Properites" - "Fast Web View" to Yes. It should decrease file size. >Hi list, >we have a coldfusion application >producing .pdf-files with the cffile-tag. >Our problem right now is, that each file >is 500-600 KByte (app. 2000 pdf-files). >The customer complained that the file size >is too large for sending those files to customers. >Is there any coldfusion-tag or other CF/non CF >solutions to descrease/compress the file size ? > >Thank you in advance. > >Uwe ~| 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:315933 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 Compression Tag/SW
Hello Peter, the problem seems to be the adding of a watermark. the customer wants to have a watermark on every pdf-file. The size of this watermark (pdf-file) is about 60KB. But when I add this watermark to a blank pdf-file (about 10KB) using the cfpdf-tag the result is a watermarked pdf with about 400KB. What can be the problem here? Is there any chance to reduce the size of watermarked pdfs? regards ~| 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:315927 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 Compression Tag/SW
Do the PDFs contain any images? If so, can the filesizes of these be reduced? (Or, if there are non-essential images, they could be removed entirely.) ~| 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:315919 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 into HTML?
> So the question : has anybody already had to do the following : convert pdf > docs into html > content? You might find pdfbox useful: http://www.pdfbox.org/ http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46683/sort:1 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! ~| 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:314157 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 into HTML?
It sounds like a feature many search engines have that lets you view a PDF as html. So to see just what I can do with the new CFPDF tag I played with it a bit. I can read a PDF into memory, but a dump of that var only gives me meta data. But so far I have not been able to do anything with the data that I read into a variable or even write it as a new pdf. Using setinfo I can change that meta data. I was able to convert the version to 1.6 from 1.5. But so far no other great joy. Now I have to get back to real work. Wil Genovese Sr. Web Application Developer On Mon, Oct 20, 2008 at 10:44 AM, Mike Chabot <[EMAIL PROTECTED]> wrote: > Is this a one-time convert or something you want to automate on a server? > > -Mike Chabot > > On Mon, Oct 20, 2008 at 10:55 AM, Stephane Vantroyen <[EMAIL PROTECTED]> > wrote: > > Sorry guys I think I've posted this item first in the wrong section... > > > > So the question : has anybody already had to do the following : convert > pdf docs into html content? > > > > Thanks in advance, > > ~| 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:314151 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 into HTML?
Is this a one-time convert or something you want to automate on a server? -Mike Chabot On Mon, Oct 20, 2008 at 10:55 AM, Stephane Vantroyen <[EMAIL PROTECTED]> wrote: > Sorry guys I think I've posted this item first in the wrong section... > > So the question : has anybody already had to do the following : convert pdf > docs into html content? > > Thanks in advance, ~| 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:314146 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 into HTML?
U. . Why not just point the browser to the PDF??? I don't think there is a reliable way of doing what you suggest using a web based language Is there? Damm.. Now I'm curious to.. Stephane Vantroyen wrote: > So the question : has anybody already had to do the following : convert pdf > docs into html content? ~| 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:314144 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 delivery via CFContent in IE7 ... doesn't.
>> I had to go in and change IE7's settings before it would shoe the movie > >You mean Windows' settings, right? I don't know anywhere where IE7 >does file type support, although that doesn't mean its not hiding >somewhere inside. Since I have the full Acrobat (5) on my desktop >unit, I'll try it on one that has just the plugin. Maybe thats the >problem... but it worked on this desktop recently. Here's some instructions I posted for our users, pertaining to the WMV problem. I dunno if this is barkin up the wrong tree. You may need to change your settings in Internet Explorer 7 to view the video tutorials. If so, follow the instructions below. 1. Open IE7 > Tools > Internet Options 2. Click on the "Programs" tab 3. Click on the "Set Programs" button 4. Click the "Set program access and computer defaults" link 5. Click the "Custom" option 6. Go down to the "Choose a default media player:" option and select "Windows Media Player" 7. Click the "Ok" button 8. Close "Default Programs" window 9. Click the "Ok" button on the "Internet Options" window ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309840 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 delivery via CFContent in IE7 ... doesn't.
> I had to go in and change IE7's settings before it would shoe the movie You mean Windows' settings, right? I don't know anywhere where IE7 does file type support, although that doesn't mean its not hiding somewhere inside. Since I have the full Acrobat (5) on my desktop unit, I'll try it on one that has just the plugin. Maybe thats the problem... but it worked on this desktop recently. Bah! This is supposed to be simple! I don't know what I'd do if I spent the day working on what I expected to. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com On Mon, Jul 28, 2008 at 3:04 PM, Will Tomlinson <[EMAIL PROTECTED]> wrote: >>This is driving me nuts. It works great in Safari, FF and, up until >>recently, in IE. Server is CF 6.1 >> > > I could swear I ran into this same thing with WMV's. IE7 wasn't set as > default for that file type. I had to go in and change IE7's settings before > it would shoe the movie. Otherwise, I believe it was a blank screen. > > Could that be the culprit with PDF's as well? > > hth, > Will > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309833 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 delivery via CFContent in IE7 ... doesn't.
>This is driving me nuts. It works great in Safari, FF and, up until >recently, in IE. Server is CF 6.1 > I could swear I ran into this same thing with WMV's. IE7 wasn't set as default for that file type. I had to go in and change IE7's settings before it would shoe the movie. Otherwise, I believe it was a blank screen. Could that be the culprit with PDF's as well? hth, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309832 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 Manipulation
Rob Parkhill wrote: > Quick question, someone at my workplace has suggested that we provide our PDF > forms auto filled with user information (based on login). We already have > all of the forms with user enterable data (you know what I mean, you can type > information into the PDF) is there anyway using the new PDF manipulation > tools to pass the required information to the PDF to pre-populate those user > entered areas? Look into the populate action of cfpdfform (CF 8). Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303361 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 Manipulation
I am still on version 7, so I don't know if there is a new way to do this, but I made use of a tag that Ben Forta put together a while back to achieve this. Unfortunately I cannot come up with the name of the tag, but a quick search of the Adobe developers exchange should find it for you in short order. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303330 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
On Wednesday 20 Feb 2008, Rick Sanders wrote: > are both adobe products, how hard is it to take a file uploaded by a user > (Say Word or Excel) and convert it to a PDF on the fly? CF has no built in Word or Excel parsing, though people have written interfaces to the Java POI project. Writing PDFs is OK in CF8, but the UJAC project still makes a better job of spanning tables across pages (mainly because you can choose to reprint the headers). -- Tom Chiverton Helping to enormously customize cross-platform content on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:299566 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
You might want to take a look at ActivePDF for that. -Mike Chabot On Feb 20, 2008 2:05 PM, Rick Sanders <[EMAIL PROTECTED]> wrote: > Hey list, > > > > I have Cold fusion 8, and I was wondering that since PDF and Cold fusion are > both adobe products, how hard is it to take a file uploaded by a user (Say > Word or Excel) and convert it to a PDF on the fly? > > > > Thanks, > > > > Rick > > > > > > > > > > ~| 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:299492 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 merge works once, then fails
Okay, I think there is a bug using cfpdfparam nested within cfpdf action="merge". I pulled the cfpdfparams out, opting instead for a comma-separated list in the Source attribute, and it works. This works: Null pointer after a single iteration: ~| 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:295798 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 Find and Replace?
Use PDF forms. CF8 has support for them built in. Else, you can build the pdf form with acrobat and have CF generate an fdf answer file that points to the pdf form. Just look up FDF files if that's the way you have to go. You'll find plenty of info on google about them ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| 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:295109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Thanks Rupesh! I'll take a look at my code. I didn't realize I was using that, but sure enough, there it is. That makes perfect sense why the first section shows up, but the rest don't too! andy -Original Message- From: Rupesh Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 6:27 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, It looks like the rendering engine for html/css in CF does not handle "overflow:auto". If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why "overflow:auto" style does not work. Thanks & Regards, Rupesh Adobe ColdFusion team. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294511 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Well thank you very much. I'll def need to debug it. It's got to have something to do with the combo of the CSS and my HTML. I'll just have to figure it out. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:42 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, Obviously, I don't have enough work ;) or I just like to help. So I debugged a bit for you. If I include the CSS inside the cfdocument tag, I get the colors appropriately inside the PDF, but I get 15 pages, and only the first has data, the rest is blank, however, when I leave the css reference outside of the tag, I get six pages (yes, I am just working with a sample) but all the data is there. Basically, it seems that the second is doing something funky. I will save the PDFs I have generated if you want some samples of the results, plus the CFM (not pretty necessarily, but it does work). I do have an interest in learning CFDocument, but not necessarily a project to do it with, so *play* time is a good break from the day to day "when is it done yet" Let me know how you make out. Rob ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294509 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation in CF8 - not working...please help
Hey Rob... Last night I tried using an absolute path to the stylesheet, and that didn't work either. andy -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the tag and see if that does anything? Rob ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294508 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle "overflow:auto". If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why "overflow:auto" style does not work. Thanks & Regards, Rupesh Adobe ColdFusion team. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle "overflow:auto". If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why "overflow:auto" style does not work. Thanks & Regards, Rupesh Adobe ColdFusion team. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, Obviously, I don't have enough work ;) or I just like to help. So I debugged a bit for you. If I include the CSS inside the cfdocument tag, I get the colors appropriately inside the PDF, but I get 15 pages, and only the first has data, the rest is blank, however, when I leave the css reference outside of the tag, I get six pages (yes, I am just working with a sample) but all the data is there. Basically, it seems that the second is doing something funky. I will save the PDFs I have generated if you want some samples of the results, plus the CFM (not pretty necessarily, but it does work). I do have an interest in learning CFDocument, but not necessarily a project to do it with, so *play* time is a good break from the day to day "when is it done yet" Let me know how you make out. Rob ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
I just realized I'm asking you to debug my code. Sorry about that. Thanks for the suggestion man. I'll check that out when I get home. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 4:11 PM To: CF-Talk Subject: RE: PDF creation in CF8 - not working...please help Hmmm... Can you try the same test, but use an absolute path to the CSS file? I wonder if I need to do that in my CSS generation, just like with images. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the tag and see if that does anything? Rob ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation in CF8 - not working...please help
Hmmm... Can you try the same test, but use an absolute path to the CSS file? I wonder if I need to do that in my CSS generation, just like with images. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:47 PM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the tag and see if that does anything? Rob ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294469 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, I just opened your source of your page above and copied a portion of it into a new document and wrapped it in a cfdocument, and it generated a PDF. Granted I don't have your stylesheet to use so none of the formatting came across the same, but text and images were there. Can you include the Stylesheet within the tag and see if that does anything? Rob ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation in CF8 - not working...please help
I was actually considering that. But the problem is that my CFC has code to do all of the conversion into DIVs. It just spits out a single variable for each distinct module. If it comes to that, that's what I'll do, but I'd rather avoid that if possible. It's got to have something to do with the CSS. I just don't know why. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:21 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, I guess that you could always design a high level CFR in report builder, and then pass the info that is generated for the proposals as a series of variables, but that seems messy. There is always something like ActivePDF which I was using (and still am on some sites still running 6) to create PDFs. I personally don't really like ActivePDF that much, just because, I didn't think that it ran as easily as I would've liked. You might have more success with the PDF creation if you take out the and use a table instead. I know that it is a pain, but I am sure that when I looked into my problem, there was something in the causing the error. Rob ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, I guess that you could always design a high level CFR in report builder, and then pass the info that is generated for the proposals as a series of variables, but that seems messy. There is always something like ActivePDF which I was using (and still am on some sites still running 6) to create PDFs. I personally don't really like ActivePDF that much, just because, I didn't think that it ran as easily as I would've liked. You might have more success with the PDF creation if you take out the and use a table instead. I know that it is a pain, but I am sure that when I looked into my problem, there was something in the causing the error. Rob ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294454 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Thanks Rob...I'll give that a shot. As a followup question, assuming that I can't get this working with CFDocument, what are my options people? This is part of an app I'm building for a client. I promised them they could convert these proposals to PDF because I knew CF had that built in. Now it's not working and I'm left holding the bag. I'm sure it's got something to do with something in my CSS, because when I comment out the CSS include, everything displays. -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:08 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy, try changing your cfdocument tag to the following: I know that when I first started using cfdocument, I had to do this when using CSS on the page that was creating the PDF. Of course the resultant PDF doesn't have the same 'look', but you might find that it has something to do with Fontembed. HTH, Rob ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy, try changing your cfdocument tag to the following: I know that when I first started using cfdocument, I had to do this when using CSS on the page that was creating the PDF. Of course the resultant PDF doesn't have the same 'look', but you might find that it has something to do with Fontembed. HTH, Rob ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation in CF8 - not working...please help
Jochem... But the text doesn't display either. Nothing displays below the address information at the bottom of page 1. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 3:13 AM To: CF-Talk Subject: Re: PDF creation in CF8 - not working...please help Andy Matthews wrote: > I'm trying to create a PDF from a page and it's not working. The way I've read is that to do this, you simply wrap whatever content you have within cfdocument tags, with the type set to PDF. So that's what I've done, and it's not working correctly. > > Here's the actual page: > http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4 > C061052691D13 > > Here's the page when a PDF is trying to be generated: > http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B540 > 60A4C061052691D13 Change the HTML of the page so you don't refer to images by their relative path, but with a file:///d:/images... type URL and try again. Jochem ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF creation in CF8 - not working...please help
Andy Matthews wrote: > I'm trying to create a PDF from a page and it's not working. The way I've > read is that to do this, you simply wrap whatever content you have within > cfdocument tags, with the type set to PDF. So that's what I've done, and it's > not working correctly. > > Here's the actual page: > http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13 > > Here's the page when a PDF is trying to be generated: > http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13 Change the HTML of the page so you don't refer to images by their relative path, but with a file:///d:/images... type URL and try again. Jochem ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Oh...one more thing. The code on the PDF page is identical (except for the cfdocument tag), which is set up like so: ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Oh...one more thing. The code on the PDF page is identical (except for the cfdocument tag), which is set up like so: all code inside here ... ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF Support with CF8 - Can this be done?
Sorry..typo writing my email. Might be a case of the Mondays? :) Yes, I used action="merge", NOT action="mArge". Any other ideas? James Davis Software Engineer Kaleida Systems, Inc. -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 1:15 PM To: CF-Talk Subject: Re: PDF Support with CF8 - Can this be done? Did you try action="merge"? :) On Nov 5, 2007 12:15 PM, James Davis <[EMAIL PROTECTED]> wrote: > I'm trying to do something similar as well, but trying to merge database > content into a PDF form then generate 1 large PDF with multiple pages. > > Is this possible with the new tags? When I tried using cfpdfform > action="marge" on a directory of PDF's. They were all blank. > > James Davis > Software Engineer > Kaleida Systems, Inc. > ~| 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:292702 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 Support with CF8 - Can this be done?
Did you try action="merge"? :) On Nov 5, 2007 12:15 PM, James Davis <[EMAIL PROTECTED]> wrote: > I'm trying to do something similar as well, but trying to merge database > content into a PDF form then generate 1 large PDF with multiple pages. > > Is this possible with the new tags? When I tried using cfpdfform > action="marge" on a directory of PDF's. They were all blank. > > James Davis > Software Engineer > Kaleida Systems, Inc. > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292685 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 Support with CF8 - Can this be done?
I'm trying to do something similar as well, but trying to merge database content into a PDF form then generate 1 large PDF with multiple pages. Is this possible with the new tags? When I tried using cfpdfform action="marge" on a directory of PDF's. They were all blank. James Davis Software Engineer Kaleida Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 02, 2007 1:38 PM To: CF-Talk Subject: Re: PDF Support with CF8 - Can this be done? Yes, CF8 can do what you need to do very easily. Damon >What I need to do is take information posted from a web form and merge it >into an existing PDF with place holders >and then save the file and email it as an attachement. > >Can CF 8 do the PDF portion natively? ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292672 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 Support with CF8 - Can this be done?
Thanks everyone...I'll start looking at those tags on Adobe. It feels strange to say Adobe. Last time I used CF it was MM. Great to be back! Frank On Nov 2, 2007 1:19 PM, Bryan Stevenson <[EMAIL PROTECTED]> wrote: > Yes it can...CFDOCUMENTpretty straightforward > > welcome back ;-) > > Cheers > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > phone: 250.480.0642 > fax: 250.480.1264 > cell: 250.920.8830 > e-mail: [EMAIL PROTECTED] > web: www.electricedgesystems.com > > Notice: > This message, including any attachments, is confidential and may contain > information that is privileged or exempt from disclosure. It is intended > only for the person to whom it is addressed unless expressly authorized > otherwise by the sender. If you are not an authorized recipient, please > notify the sender immediately and permanently destroy all copies of this > message and attachments. > > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292597 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 Support with CF8 - Can this be done?
Yes, CF8 can do what you need to do very easily. Damon >What I need to do is take information posted from a web form and merge it >into an existing PDF with place holders >and then save the file and email it as an attachement. > >Can CF 8 do the PDF portion natively? ~| 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:292554 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 Support with CF8 - Can this be done?
Yes it can...CFDOCUMENTpretty straightforward welcome back ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292556 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 Support with CF8 - Can this be done?
>Hi everyone, > >I've been out of the CF game for a very long time and now I have a little >project to do and wondering >if CF8 has the answer for me. I'll keep search the docs, but in case you >have a quick answer I appreciate it. > >What I need to do is take information posted from a web form and merge it >into an existing PDF with place holders >and then save the file and email it as an attachement. > >Can CF 8 do the PDF portion natively? > >Thank you, > >Frank Mamone ~| 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:292553 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 Support with CF8 - Can this be done?
If I understand what it is you want to do, look into . You'll have to build an XML data object to hold the form data, but that shouldn't be too difficult. --Ben Doom Frank Mamone wrote: > Hi everyone, > > I've been out of the CF game for a very long time and now I have a little > project to do and wondering > if CF8 has the answer for me. I'll keep search the docs, but in case you > have a quick answer I appreciate it. > > What I need to do is take information posted from a web form and merge it > into an existing PDF with place holders > and then save the file and email it as an attachement. > > Can CF 8 do the PDF portion natively? > > Thank you, > > Frank Mamone > > > ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292534 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 to HTML
Varun, Are you looking for a one-time conversion of a single document, or a repeatable automated process set up on a server? -Mike Chabot On 10/30/07, Varun Dixit <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have a PDF file which i would like to convert to HTML. If anyone could > point me to a custom tag or a utlity for the conversion it would be great. > Thanks in advance. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292390 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 to HTML
I am working on the opposite conversion, but I have noticed that the iText java library can do HTML encoding from the contents of a pdf. I'm just beginning to dive into iText and I am finding all kinds of interesting stuff. -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 1:39 PM To: CF-Talk Subject: PDF to HTML Hi everyone, I have a PDF file which i would like to convert to HTML. If anyone could point me to a custom tag or a utlity for the conversion it would be great. Thanks in advance. ~| 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:292364 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 from other document format: sever side processing
> I'm tracking down my options for converting an uploaded document (variety of > document formats or images) to PDF. Need to do this automatically, server > side. As we're running CF8 - we can do lots of stuff to the PDF afterwards, > but it's the conversion into PDF that's getting to me at the moment. What > sort of options do I have? > You probably want to look at something like activepdf... http://www.activepdf.com/products/serverproducts/docconverter/ ~| 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:292234 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation/modification
PDFForm definitely looks like the way to go. Thanks for making life simple Ben! :-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 12:01 PM To: CF-Talk Subject: RE: PDF creation/modification I'll have to give this one a shot http://www.adobe.com/devnet/coldfusion/articles/pdfform.html ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:26 AM To: CF-Talk Subject: RE: PDF creation/modification Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, "***firstname***", form.firstname, "all")# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? .:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: > It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it & mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText & cf this books is a great value). http://javaloader.riaforge.org/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281554 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PDF creation/modification
I'll have to give this one a shot http://www.adobe.com/devnet/coldfusion/articles/pdfform.html ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:26 AM To: CF-Talk Subject: RE: PDF creation/modification Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, "***firstname***", form.firstname, "all")# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: > It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it & mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText & cf this books is a great value). http://javaloader.riaforge.org/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281534 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: PDF creation/modification
Well 1 con... If I even open and save the original with no changes in notepad... it throws an error in Acrobat 7 pro If I use CF to read the original content and save it into a new file, all the pages are there but blank... *scratches head* ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:11 AM To: CF-Talk Subject: RE: PDF creation/modification Thanks for all the tips (still checking iText) but apparently it IS easier than I thought, Let me know if you see any gaping holes in this but I found this: http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.school-for-champions.com/coldfusion/cftopdf2.cfm Doing it this way actually displays the field names and the values in the source of the file in plain text. So let's say I made a field called firstname and gave it a value of ***firstname*** In the source code, I see: /T(firstname)/V(***firstname***) Couldn't I just #replace(content, "***firstname***", form.firstname, "all")# The downside is, of course, that this pdf is huge. The upside is that I would only be entering the needed content and not fiddling with layout. Can you guys think of any more pros and cons? ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:46 PM To: CF-Talk Subject: Re: PDF creation/modification Bobby Hartsfield wrote: > It is indeed CF7 :-) use iText. although it powers cfdocument you probably want the latest version, so you'll need it & mark's javaloader so as not to step on cfdocument's toes. http://itextdocs.lowagie.com/ http://itextdocs.lowagie.com/tutorial/ or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's a PDF version for 25 bucks, if you work w/iText & cf this books is a great value). http://javaloader.riaforge.org/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281528 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4