Re: CFDocument PDF text duplication
Raghu, I had this same issue and ended going to a third party tool to generate PDFs. If I remember correctly this problem deep and must be fixed by Adobe. Same with ability to justify text. Just doesn't work as expected. Very frustrating. Sorry been down that path! Good luck! DynamicPDF http://www.cete.com/Products/DynamicPDFForCOM/Generator/index.csp Best Regards, *Marty Franklin* /Information Technology/ On 1/26/2013 9:03 AM, Raghu raman wrote: I am also able to reproduce the same issue. I did try to generate the PDF using cfpdf, cfcontent etc but that did not help. Using the wrap function and trying to generate the PDF directly from itext also failed. Was any one able to solve this issue ? ~| 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:354089 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocument PDF text duplication
Hello CF-Talk, I've been a long-time reader of your mailing list and this is my first post :) I've been working with PDF generation (CF 8.0.1 / Windows Linux) and have gotten most of the known kinks fixed but there's still one problem that I can't get around: Sometimes when (bold?) text that is supposed to wrap to the next line get duplicated (is shown twice)... once on the first line outside the margins of the pdf and once again on the next line. crude oil prices, meanwhile, rebounded gets repeated. see: https://www.advantagedata.com/page_toPDF.gif I haven't found the source, but usually unbolding the problematic string or the entire paragraph fixes this duplicating bug. Adjusting the scale from 100 to 99.6 sometimes helps too. Has anyone else seen this behavior? My CFDOCUMENT margins are set to zero, and the paragraph content is in a div. I'd appreciate any feedback. Thanks, Minh ~| 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:354080 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocument PDF text duplication
I am also able to reproduce the same issue. I did try to generate the PDF using cfpdf, cfcontent etc but that did not help. Using the wrap function and trying to generate the PDF directly from itext also failed. Was any one able to solve this issue ? ~| 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:354081 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocument PDF text duplication
Hello CF-Talk, I've been a long-time reader of your mailing list and this is my first post :) I've been working with PDF generation (CF 8.0.1 / Windows Linux) and have gotten most of the known kinks fixed but there's still one problem that I can't get around: Sometimes when (bold?) text that is supposed to wrap to the next line get duplicated (is shown twice)... once on the first line outside the margins of the pdf and once again on the next line. crude oil prices, meanwhile, rebounded gets repeated. see: https://www.advantagedata.com/page_toPDF.gif I haven't found the source, but usually unbolding the problematic string or the entire paragraph fixes this duplicating bug. Adjusting the scale from 100 to 99.6 sometimes helps too. Has anyone else seen this behavior? My CFDOCUMENT margins are set to zero, and the paragraph content is in a div. I'd appreciate any feedback. Thanks, Minh ~| 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:353997 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFDOCUMENT PDF
We're using CFDOCUMENT to generate PDFs on the fly. They look really good, but one strange problem. The PDF is chopping text lines in half on some pages (example posted at: www.austin-williams.com/pdf_sample.pdf - see the page the break between page 2 and 3). Is there anything I can do to fix this problem (we already tried margins to no avail)? Thanks, Robert 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/austi ~| 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:353390 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDOCUMENT PDF
Is there anything I can do to fix this problem Not that I am aware of. We make heavy use of PDFs and the only viable options I have encountered are to: 1) use cfpdfform to fill out PDFs 2) or to roll your own PDF's with iText or use one of the CF libraries that use IText like cfitext or pdfIT 3) or to use the OpenOffice Word/Excel to PDF Conversion CFC. I did a lot of RD and experimentation with all of these and found the best route (for us at least) to be manipulating MS Word docs and converting them to PDFs. My experience was that manipulating/creating PDFs with code a la iText can be very tedious and time consuming for intricate and/or heavily formatted documents. http://pdfit.riaforge.org/ http://cfitext.riaforge.org/ http://oolib.riaforge.org/ HTH G! On Fri, Dec 7, 2012 at 2:17 PM, Robert Harrison rob...@austin-williams.comwrote: We're using CFDOCUMENT to generate PDFs on the fly. They look really good, but one strange problem. The PDF is chopping text lines in half on some pages (example posted at: www.austin-williams.com/pdf_sample.pdf - see the page the break between page 2 and 3). Is there anything I can do to fix this problem (we already tried margins to no avail)? Thanks, Robert 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/austi ~| 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:353393 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win2008 CFDocument/PDF Chinese characters not showing if wrapped with an HTML tag
I believe you should wrap your data with cfprocessingdirective tag. I tried cfprocessingdirective with the following pageencodings with no change in behavior: windows-1252, windows-950, windows-936, big5, utf-8. Same thing happens - if I put any sort of html tag around the Chinese characters, they don't display in cfdocument's PDF output. If I leave the characters unwrapped, they show in the PDF just fine. ~| 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:350272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win2008 CFDocument/PDF Chinese characters not showing if wrapped with an HTML tag
I believe you should wrap your data with cfprocessingdirective tag. I tried cfprocessingdirective with the following pageencodings with no change in behavior: windows-1252, windows-950, windows-936, big5, utf-8. Same thing happens - if I put any sort of html tag around the Chinese characters, they don't display in cfdocument's PDF output. If I leave the characters unwrapped, they show in the PDF just fine. ~| 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:350274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF9/Win2008 CFDocument/PDF Chinese characters not showing if wrapped with an HTML tag
Hi all. CM9. CFDocument. PDF. Chinese characters. Ugh. When first migrating from CM7 to CM9, producing a PDF document, via CFDocument, containing Chinese characters, the characters would not show in the PDF (though they showed just fine in HTML or FlashPaper), which seems to be a known issue. From other resources online, about the only thing I could find was the suggestion to remove the Chinese fonts from the server system. I removed the two (4, actually) ttc system fonts from the server. Poof, they show up in the PDF - yay! But this is not the end of the problems. If I wrap any of the Chinese characters with ANY html tag - in this case I want b - they don't show in the PDF anymore. I've tried b, css/style, setting the characters wanted to a variable and outputting it with tags in the variable and/or surrounded by tags - nothing. Any ideas on how to get this working? Fine: #25105;#20497;#30332;# 29694;#20320;#30340;#30003;#35531;#34920;#26684;#26377;#21839;#38988;#65292;#35531;#23559;#20854;#26356;#27491;#20006;#37325;#26032;#25552;#20132;#32102;#25105;#20497;#23529;#26680;#12290;#35531;#22312;#20320;#30340; brbr #30003;#35531;#34920;#26684;#20839;#20316;#20197;#19979;#26356;#27491;#65306; Not fine: b #25105;#20497;#30332;#29694;#20320;#30340;#30003;#35531;#34920;#26684;#26377;#21839;#38988;#65292;#35531;#23559;#20854;#26356;#27491;#20006;#37325;#26032;#25552;#20132;#32102;#25105;#20497;#23529;#26680;#12290;#35531;#22312;#20320;#30340; brbr #30003;#35531;#34920;#26684;#20839;#20316;#20197;#19979;#26356;#27491;#65306; /b TIA ~| 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:350232 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win2008 CFDocument/PDF Chinese characters not showing if wrapped with an HTML tag
I believe you should wrap your data with cfprocessingdirective tag. -Original Message- From: James Dodge [mailto:h...@bananachunks.com] Sent: Monday, March 05, 2012 11:57 PM To: cf-talk Subject: CF9/Win2008 CFDocument/PDF Chinese characters not showing if wrapped with an HTML tag Hi all. CM9. CFDocument. PDF. Chinese characters. Ugh. When first migrating from CM7 to CM9, producing a PDF document, via CFDocument, containing Chinese characters, the characters would not show in the PDF (though they showed just fine in HTML or FlashPaper), which seems to be a known issue. From other resources online, about the only thing I could find was the suggestion to remove the Chinese fonts from the server system. I removed the two (4, actually) ttc system fonts from the server. Poof, they show up in the PDF - yay! But this is not the end of the problems. If I wrap any of the Chinese characters with ANY html tag - in this case I want b - they don't show in the PDF anymore. I've tried b, css/style, setting the characters wanted to a variable and outputting it with tags in the variable and/or surrounded by tags - nothing. Any ideas on how to get this working? Fine: #25105;#20497;#30332;# 29694;#20320;#30340;#30003;#35531;#34920;#26684;#26377;#21839;#38988;#65292;#35531;#23559;#20854;#26356;#27491;#20006;#37325;#26032;#25552;#20132;#32102;#25105;#20497;#23529;#26680;#12290;#35531;#22312;#20320;#30340; brbr #30003;#35531;#34920;#26684;#20839;#20316;#20197;#19979;#26356;#27491;#65306; Not fine: b #25105;#20497;#30332;#29694;#20320;#30340;#30003;#35531;#34920;#26684;#26377;#21839;#38988;#65292;#35531;#23559;#20854;#26356;#27491;#20006;#37325;#26032;#25552;#20132;#32102;#25105;#20497;#23529;#26680;#12290;#35531;#22312;#20320;#30340; brbr #30003;#35531;#34920;#26684;#20839;#20316;#20197;#19979;#26356;#27491;#65306; /b TIA ~| 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:350242 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfdocument pdf generation
I don't believe you can swap in a newer version of iText and still have cfdocument work. So if cfdocument isn't doing what you want then you will have two switch to a different PDF generation technology. If you switch to a later version of iText you will no longer be using ColdFusion, which would violate your constraint of not using anything other than ColdFusion. If you are having to switch technologies and PDFs are important to you, you might want to find something better than iText, which has many bugs and flaw in my experience. iText has the advantage of being free. There are other PDF generation technologies that hide the complexity behind ColdFusion custom tags, but most of these cost money. There is an iText mailing list that gets a healthy amount of posts to it. -Mike Chabot On Fri, Feb 13, 2009 at 12:16 AM, Daniel . dan...@gmail.com wrote: thanks everyone I will look into that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfdocument pdf generation
If it is possible to do what you want to do in cfreport you might want to look into that. I remember a thread a year or two ago where somebody switched from raw CF to cfreport and was blown away by the speed difference. -Nate -Original Message- From: Daniel [mailto:dan...@gmail.com] Sent: Thursday, February 12, 2009 6:47 PM To: cf-talk Subject: cfdocument pdf generation I have a tough question. I am trying to use cfdocument to generate a huge PDF file with 5000+ images after failing (even with CF64bits and 8GB of RAM), I was analyzing the PDF generated by iText (the lib used by coldfusion), and it seams every image included in the PDF is using the FlateDecode encoding, instead of the DCTDecode for jpeg images with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib compression also, iText tries to use the memory buffer for the cache of the document The only way to this document generation to be feasable is if I can change iText to use DCTDecode on the images, and use a disk based buffer instead of a memory based buffer the real question: can I update iText with a more recent version ? if so, does this fix this issue? If I can't update the internal iText implementation, is there a easy way to convert html to pdf using an external iText implementation called by CreateObject ? answers suggesting me to use something else than coldfusion won't be very helpful, since I already know that, but I want to use coldfusion to generate those PDFs Comparing with other PHP and ASP.NET http://asp.net/ based solutions, coldfusion pdf generation is bloated and slow and I am trying to fix that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfdocument pdf generation
I have a tough question. I am trying to use cfdocument to generate a huge PDF file with 5000+ images after failing (even with CF64bits and 8GB of RAM), I was analyzing the PDF generated by iText (the lib used by coldfusion), and it seams every image included in the PDF is using the FlateDecode encoding, instead of the DCTDecode for jpeg images with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib compression also, iText tries to use the memory buffer for the cache of the document The only way to this document generation to be feasable is if I can change iText to use DCTDecode on the images, and use a disk based buffer instead of a memory based buffer the real question: can I update iText with a more recent version ? if so, does this fix this issue? If I can't update the internal iText implementation, is there a easy way to convert html to pdf using an external iText implementation called by CreateObject ? answers suggesting me to use something else than coldfusion won't be very helpful, since I already know that, but I want to use coldfusion to generate those PDFs Comparing with other PHP and ASP.NET http://asp.net/ based solutions, coldfusion pdf generation is bloated and slow and I am trying to fix that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument pdf generation
You can very likely use JavaLoader to load into CF any version of iText you need and instantiate it with createObject(). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/13 Daniel dan...@gmail.com: I have a tough question. I am trying to use cfdocument to generate a huge PDF file with 5000+ images after failing (even with CF64bits and 8GB of RAM), I was analyzing the PDF generated by iText (the lib used by coldfusion), and it seams every image included in the PDF is using the FlateDecode encoding, instead of the DCTDecode for jpeg images with the FlateDecode, images get 10x bigger, as FlateDecode is a zlib compression also, iText tries to use the memory buffer for the cache of the document The only way to this document generation to be feasable is if I can change iText to use DCTDecode on the images, and use a disk based buffer instead of a memory based buffer the real question: can I update iText with a more recent version ? if so, does this fix this issue? If I can't update the internal iText implementation, is there a easy way to convert html to pdf using an external iText implementation called by CreateObject ? answers suggesting me to use something else than coldfusion won't be very helpful, since I already know that, but I want to use coldfusion to generate those PDFs Comparing with other PHP and ASP.NET http://asp.net/ based solutions, coldfusion pdf generation is bloated and slow and I am trying to fix that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319263 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument pdf generation
Daniel wrote: the real question: can I update iText with a more recent version ? if so, sure but cfdocument will probably stop working (though give it a try). implementation, is there a easy way to convert html to pdf using an external iText implementation called by CreateObject ? it will be harder for sure (you can't really appreciate what cfdocument does for you until you try to do it yourself) but certainly possible (iText is what many of us have been using pre-cfdocument still do for some requirements). you'll have to use mark's javaloader to get at the iText jar as the cf one will still load ahead of your version (or i guess you could refactor it). these days the mysterious cfsearching is probably the best iText cf resource: http://cfsearching.blogspot.com/search/label/iText there's also some stuff scattered around the cf forums: http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=1 if you do go w/low-level iText buy bruno's book, worth every penny i paid for it: http://www.manning.com/lowagie/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319264 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument pdf generation
thanks everyone I will look into that ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319266 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFDocument PDF text duplication
Hello CF-Talk, I've been a long-time reader of your mailing list and this is my first post :) I've been working with PDF generation (CF 8.0.1 / Windows Linux) and have gotten most of the known kinks fixed but there's still one problem that I can't get around: Sometimes when (bold?) text that is supposed to wrap to the next line get duplicated (is shown twice)... once on the first line outside the margins of the pdf and once again on the next line. crude oil prices, meanwhile, rebounded gets repeated. see: https://www.advantagedata.com/page_toPDF.gif I haven't found the source, but usually unbolding the problematic string or the entire paragraph fixes this duplicating bug. Adjusting the scale from 100 to 99.6 sometimes helps too. Has anyone else seen this behavior? My CFDOCUMENT margins are set to zero, and the paragraph content is in a div. I'd appreciate any feedback. Thanks, Minh ~| 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:313601 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDocument PDF output request producing errors
Okay, I tried it without the extension at home and it worked on the localhost, but it's not working on the server. I am using this on GoDaddy and I can't solve it. Any sort of idea as to why? On Wed, Jun 25, 2008 at 8:55 AM, Kevin K. [EMAIL PROTECTED] wrote: Okay, I tried it without the extension at home and it worked on the localhost, but it's not working on the server. On Thu, Jun 19, 2008 at 12:52 PM, Kevin K. [EMAIL PROTECTED] wrote: Explain yourself. On Wed, Jun 18, 2008 at 3:51 PM, Chris Norloff [EMAIL PROTECTED] wrote: There's a cumulative hot fix for cfdocument, at least if you're using CFMX 7. We found it fixed some problems with writing pdf's. Chris ColdFusion MX 7.02 - CFDocument Cumulative Hot Fix http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402093sliceId=1 http://www.adobe.com/go/kb402093 -Original Message- From: Kevin K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 4:17 PM To: CF-Talk Subject: Re: CFDocument PDF output request producing errors Okey, it's producing but I don't know where they are. I even looked in the folder and I cannot locate them. Are they hidden because of a parameter? On Fri, Jun 13, 2008 at 5:30 PM, Wil Genovese [EMAIL PROTECTED] wrote: I have not tried writing a PDF to disk with cfdocument, but my guess is that like every other file operation in CF you need to specify the exact and full file path. ie - filename='d:\wwwroot\mywebsite\documents\stg.pdf' Wil Genovese Sr. Web Application Developer WolfNet Technologies, LLC On Fri, Jun 13, 2008 at 8:55 AM, Kevin Kelly [EMAIL PROTECTED] wrote: I am not sure what I am doing wrong here, but I have tried this about a bunch of times so far. I believe that this is correct for the top. !--- START EXPORT SNIPPET--- cfdocument format=pdf filename='stg.pdf' orientation=#URL.frmt# pagetype=custom pageheight=#VARIABLES.numH# pagewidth=#VARIABLES.numW# scale='100' overwrite = no !--- END EXPORT SNIPPET--- My issue is that the document is not outputting to a separate file. However, without the filename, I get the desired effect for browser output. Suggestions, please. ~| 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:308118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument PDF output request producing errors
Okey, it's producing but I don't know where they are. I even looked in the folder and I cannot locate them. Are they hidden because of a parameter? On Fri, Jun 13, 2008 at 5:30 PM, Wil Genovese [EMAIL PROTECTED] wrote: I have not tried writing a PDF to disk with cfdocument, but my guess is that like every other file operation in CF you need to specify the exact and full file path. ie - filename='d:\wwwroot\mywebsite\documents\stg.pdf' Wil Genovese Sr. Web Application Developer WolfNet Technologies, LLC On Fri, Jun 13, 2008 at 8:55 AM, Kevin Kelly [EMAIL PROTECTED] wrote: I am not sure what I am doing wrong here, but I have tried this about a bunch of times so far. I believe that this is correct for the top. !--- START EXPORT SNIPPET--- cfdocument format=pdf filename='stg.pdf' orientation=#URL.frmt# pagetype=custom pageheight=#VARIABLES.numH# pagewidth=#VARIABLES.numW# scale='100' overwrite = no !--- END EXPORT SNIPPET--- My issue is that the document is not outputting to a separate file. However, without the filename, I get the desired effect for browser output. Suggestions, please. ~| 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:307623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDocument PDF output request producing errors
I am not sure what I am doing wrong here, but I have tried this about a bunch of times so far. I believe that this is correct for the top. !--- START EXPORT SNIPPET--- cfdocument format=pdf filename='stg.pdf' orientation=#URL.frmt# pagetype=custom pageheight=#VARIABLES.numH# pagewidth=#VARIABLES.numW# scale='100' overwrite = no !--- END EXPORT SNIPPET--- My issue is that the document is not outputting to a separate file. However, without the filename, I get the desired effect for browser output. Suggestions, please. ~| 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:307409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument PDF output request producing errors
I have not tried writing a PDF to disk with cfdocument, but my guess is that like every other file operation in CF you need to specify the exact and full file path. ie - filename='d:\wwwroot\mywebsite\documents\stg.pdf' Wil Genovese Sr. Web Application Developer WolfNet Technologies, LLC On Fri, Jun 13, 2008 at 8:55 AM, Kevin Kelly [EMAIL PROTECTED] wrote: I am not sure what I am doing wrong here, but I have tried this about a bunch of times so far. I believe that this is correct for the top. !--- START EXPORT SNIPPET--- cfdocument format=pdf filename='stg.pdf' orientation=#URL.frmt# pagetype=custom pageheight=#VARIABLES.numH# pagewidth=#VARIABLES.numW# scale='100' overwrite = no !--- END EXPORT SNIPPET--- My issue is that the document is not outputting to a separate file. However, without the filename, I get the desired effect for browser output. Suggestions, please. ~| 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:307446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument PDF creation - formatting issues
afaik, it is a known bug, but it manifests itself only with some font/fontsize combinations. try using a different (probably larger) font size. --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Justin Brown wrote: Didn't work. Replaced test test test test emtest/em test test test.br in my example with test test test test span style=font-style:italic;test/span test test test.br and am still getting a spacing issue. Don't use EM, try using css: font-style: italic; Chris I'm trying to create a pdf document via cfdocument and need to control the font size of the document. There are also words in the document that I need to italic. But I'm getting some weird formatting issues. Code sample below. When it generates the PDF it is putting a large amount of space around the word that in italic. cfdocument format=pdf name=invite html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 title/title /head body div style=font-size:14px; test test test test emtest/em test test test.br /div /body /html /cfdocument cfcontent type=application/pdf reset=true variable=#toBinary(invite)# Any help would be appreciated. ~| 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:294667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument PDF creation - formatting issues
Thanks, that did the trick... Played with fontsize/font and got the spacing to be better. Is there a good website out there that has best practices or recommendations for creating PDF docs using cfdocument? afaik, it is a known bug, but it manifests itself only with some font/fontsize combinations. try using a different (probably larger) font size. --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Justin Brown wrote: ~| 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:294693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument PDF creation - formatting issues
none that i know of... just have to keep abreast of posts on the subject here and at the adobe cf forums ... cfdocument is riddled with small and big bugs, but i have seen quiet a few posts from adobe team members over on the cf forums there (unofficial of course, as those are user forums), and been emailed several hotfixes BEFORE they were posted on he official website --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Justin Brown wrote: Thanks, that did the trick... Played with fontsize/font and got the spacing to be better. Is there a good website out there that has best practices or recommendations for creating PDF docs using cfdocument? afaik, it is a known bug, but it manifests itself only with some font/fontsize combinations. try using a different (probably larger) font size. --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Justin Brown wrote: ~| 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:294697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument PDF creation - formatting issues
The code looks fine to me, have you check the data that comes back. You may want to do a cfdump on query and look at the data. If there are characters that XML needs escaped or put into CDATA sections. I keep getting this error. It's trang because I had it work a few days ago. Any ideas? Thanks. -D Error Occurred While Processing Request Illegal character or entity reference syntax. Illegal character or entity reference syntax. The error occurred in D:\Inetpub\wwwroot\SfConsumersdb\cds2.cfm: line 81 79 : /termValue 80 : /subscriber 81 : /remoteOrder/CFLOOP 82 : transactionCount/transactionCount 83 : /transactions/CFXML CODE CFQUERY name=promomag datasource=con_relations_magxml SELECT * FROM tblPromotionParticipants /CFQUERY CFOUTPUT CFXML variable=gallery?xml version=1.0? transactions vendor vendorId736/vendorId vendorPasswordWBC8YjML/vendorPassword /vendorCFloop query=promomag remoteOrder magazineCodeOGD/magazineCode orderTypeORDER/orderType paymentType7/paymentType pageId39801/pageId responseKey/responseKey creditCard cardNumber/cardNumber expireMonth/expireMonth expireYear/expireYear /creditCard subscriber address name#trim(FirstName)# #trim(MidInit)# #trim(LastName)#/name address1#trim(Address1)#/address1 CFIF Address2 IS ad dress2/address2cfelseaddress2#trim(Address2)#/address2/CFIF city#trim(City)#/city state#trim(StateOrProvince)#/state countryUnited States/country postalCode#trim(PostalCode)#/postalCode /address email emailAddress#trim(EmailAddress)#/emailAddress emailAuthorization/emailAuthorization /email termValue term6/term value$0.01/value /termValue /subscriber /remoteOrder/CFLOOP transactionCount/transactionCount /transactions/CFXML /CFOUTPUT ~| 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:294711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfdocument PDF creation - formatting issues
I'm trying to create a pdf document via cfdocument and need to control the font size of the document. There are also words in the document that I need to italic. But I'm getting some weird formatting issues. Code sample below. When it generates the PDF it is putting a large amount of space around the word that in italic. cfdocument format=pdf name=invite html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 title/title /head body div style=font-size:14px; test test test test emtest/em test test test.br /div /body /html /cfdocument cfcontent type=application/pdf reset=true variable=#toBinary(invite)# Any help would be appreciated. ~| 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:294623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfdocument PDF creation - formatting issues
Don't use EM, try using css: font-style: italic; Chris -Original Message- From: Justin Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 12:48 PM To: CF-Talk Subject: cfdocument PDF creation - formatting issues I'm trying to create a pdf document via cfdocument and need to control the font size of the document. There are also words in the document that I need to italic. But I'm getting some weird formatting issues. Code sample below. When it generates the PDF it is putting a large amount of space around the word that in italic. cfdocument format=pdf name=invite html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 title/title /head body div style=font-size:14px; test test test test emtest/em test test test.br /div /body /html /cfdocument cfcontent type=application/pdf reset=true variable=#toBinary(invite)# Any help would be appreciated. ~| 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:294629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument PDF creation - formatting issues
Didn't work. Replaced test test test test emtest/em test test test.br in my example with test test test test span style=font-style:italic;test/span test test test.br and am still getting a spacing issue. Don't use EM, try using css: font-style: italic; Chris I'm trying to create a pdf document via cfdocument and need to control the font size of the document. There are also words in the document that I need to italic. But I'm getting some weird formatting issues. Code sample below. When it generates the PDF it is putting a large amount of space around the word that in italic. cfdocument format=pdf name=invite html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 title/title /head body div style=font-size:14px; test test test test emtest/em test test test.br /div /body /html /cfdocument cfcontent type=application/pdf reset=true variable=#toBinary(invite)# Any help would be appreciated. ~| 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:294632 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfdocument - pdf - css
I am looking for a good resource on css compliance in adobe reader so i can minimize my expirmentation time. For one thing I see the reader does not allow multiple class - which is horrible but i can work around. Anyone know of a good resource of what works and what doesn't. Google search is futile...thanks. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282867 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDocument .pdf viewing ...
Is there a way to display a .pdf doc created with cfdocument so that it shows fullpage instead of the default window width? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274658 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: images not respecting clear in cfdocument PDF
Ok, I know it's been months since I started this thread, but I had to put this project on hold for quite awhile, and also wait for my IT guy to install the latest update to CF on the server to make sure that wasn't the cause of the problem. The problem is still happening. Since it's been so long, let me repeat what it is: A site I am working on uses the cfdocument tag to create PDFs of pages. The pages that are being converted are very image-heavy, and all of the images are floated, using CSS. They also have CSS clears on them to ensure that if one image wants to start before the previous one has ended they don't get hung up on one another. This works great in the HTML, but sometimes -- not always -- the clears are not respected in the PDFs that cfdocument outputs. I see no pattern in which images get caught on previous images. Here's a PDF that exhibits the problem: http://www.saferoutesinfo.org/guide/tpo_pdf.cfm?ITEM=PageCHAPTER_ID=C353Page=tools_to_reduce_crossing_distances_for_pedestrians.cfmPageTitle=Tools%20to%20Reduce%20Crossing%20Distances%20for%20Pedestrians (Second image doesn't clear at all, other images on pages 3 and 4 almost clear but get hung up) Here's the page that the PDF was created from: http://www.saferoutesinfo.org/guide/engineering/tools_to_reduce_crossing_distances_for_pedestrians.cfm Here's the style sheet that styles the PDFs: http://www.saferoutesinfo.org/guide/css/pdf.css Jon Clausen had this suggestion: Also, I've personally found that I sometimes need to brute force the CSS for cfdocument PDF's. By that, I mean calling all your selectors as specifically as possible and using !important more liberally than you might on an HTML page to override any default styling. An example using your CSS: div#content img.right { /*display: inline;*/ clear: right!important; float: right!important; margin: 0 0 .8em 1em; margin: .2em 0 1em 1.4em; } instead of .right { /*display: inline;*/ clear: right; float: right; margin: 0 0 .8em 1em; margin: .2em 0 1em 1.4em; } Unfortunately, using !important on my clear declaration, as well as changing it to clear: both, has not made any difference. I'm thinking at this point that there is nothing else I can do -- cfdocument is just too buggy. But I wanted to follow up on this thread once more just to make sure no one else had any ideas. Thanks, Zoe ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDOCUMENT / PDF / IIS Compression
Did you get a response to this? We're using GZip compression and we turned it off for the file which generates the PDF, but that didn't seem to do the trick. On 7/12/06, Brian Peddle [EMAIL PROTECTED] wrote: I would like to use IIS Compression and have it working fine for everything accept PDF's in IE. Things work fine in Firefox. But when you use CFDOCUMENT to create the PDF with IIS Compression turned on nothing it generated. I know this isn't a CF issue it is more an IE6 Issue but has anyone found a work around for this? Thanks! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: images not respecting clear in cfdocument PDF
Zoe, I'm looking at your source code for the page that the PDF is based on along with the PDF and, this is just a guess, but I think the PDF image styling may be choking on the designated list (dl/dl) elements in your XHTML. At least that seems to coincide with the clearing issues. The pdf's generated by cfdocument handle generic HTML and CSS well, but sometimes have problems with tags that aren't as common. It has nothing to do with definition lists. It happens on pages without them. Most of the pages have very simple HTML: paragraphs, headings, and lists, plus the floated image divs. Also, I've personally found that I sometimes need to brute force the CSS for cfdocument PDF's. By that, I mean calling all your selectors as specifically as possible and using !important more liberally than you might on an HTML page to override any default styling. An example using your CSS: div#content img.right { /*display: inline;*/ clear: right!important; float: right!important; margin: 0 0 .8em 1em; margin: .2em 0 1em 1.4em; } I'll try this and let you know. Thanks. Zoe ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258240 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
images not respecting clear in cfdocument PDF
First things first: I'm not a CF developer. I'm a designer/XHTML/CSS person, who works with a CF developer. So please spell things out for me, and forgive my ignorance. A site I am working on uses the cfdocument tag to create PDFs of pages. The pages that are being converted are very image-heavy, and all of the images are floated, using CSS. They also have CSS clears on them to ensure that if one image wants to start before the previous one has ended they don't get hung up on one another. This works great in the HTML, but sometimes -- not always -- the clears are not respected in the PDFs that cfdocument outputs. I see no pattern in which images get caught on previous images. Here's a PDF that exhibits the problem (second image gets hung up on first one, but third image is fine): http://www.saferoutesinfo.org/guide/tpo_pdf.cfm?ITEM=PageCHAPTER_ID=C353Page=guiding_principles_for_applying_srts_engineering_solutions.cfmPageTitle=Guiding%20Principles%20for%20Applying%20SRTS%20Engineering%20Solutions Here's the page that the PDF was created from: http://www.saferoutesinfo.org/guide/engineering/guiding_principles_for_applying_srts_engineering_solutions.cfm Here's the style sheet that styles the PDFs: http://www.saferoutesinfo.org/guide/css/pdf.css Does anyone know if this is a known issue in cfdocument? Is there a workaround (other than not floating the images, which I can't do)? Thanks, Zoe ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: images not respecting clear in cfdocument PDF
Zoe, I'm looking at your source code for the page that the PDF is based on along with the PDF and, this is just a guess, but I think the PDF image styling may be choking on the designated list (dl/dl) elements in your XHTML. At least that seems to coincide with the clearing issues. The pdf's generated by cfdocument handle generic HTML and CSS well, but sometimes have problems with tags that aren't as common. Also, I've personally found that I sometimes need to brute force the CSS for cfdocument PDF's. By that, I mean calling all your selectors as specifically as possible and using !important more liberally than you might on an HTML page to override any default styling. An example using your CSS: div#content img.right { /*display: inline;*/ clear: right!important; float: right!important; margin: 0 0 .8em 1em; margin: .2em 0 1em 1.4em; } instead of ..right { /*display: inline;*/ clear: right; float: right; margin: 0 0 .8em 1em; margin: .2em 0 1em 1.4em; } Here's a great tutorial on the hierarchy of CSS selectors: http:// www.stuffandnonsense.co.uk/archives/css_specificity_wars.html Also, remember you are dealing with a print medium instead of a screen medium. Using px and pt for dimensions and text sizes gives you much more control in this medium than in the variable-width screen where em is preferrable. Hope that helps. Jon On Oct 26, 2006, at 3:53 PM, Zoe Gillenwater wrote: First things first: I'm not a CF developer. I'm a designer/XHTML/ CSS person, who works with a CF developer. So please spell things out for me, and forgive my ignorance. A site I am working on uses the cfdocument tag to create PDFs of pages. The pages that are being converted are very image-heavy, and all of the images are floated, using CSS. They also have CSS clears on them to ensure that if one image wants to start before the previous one has ended they don't get hung up on one another. This works great in the HTML, but sometimes -- not always -- the clears are not respected in the PDFs that cfdocument outputs. I see no pattern in which images get caught on previous images. Here's a PDF that exhibits the problem (second image gets hung up on first one, but third image is fine): http://www.saferoutesinfo.org/guide/tpo_pdf.cfm? ITEM=PageCHAPTER_ID=C353Page=guiding_principles_for_applying_srts_en gineering_solutions.cfmPageTitle=Guiding%20Principles%20for% 20Applying%20SRTS%20Engineering%20Solutions Here's the page that the PDF was created from: http://www.saferoutesinfo.org/guide/engineering/ guiding_principles_for_applying_srts_engineering_solutions.cfm Here's the style sheet that styles the PDFs: http://www.saferoutesinfo.org/guide/css/pdf.css Does anyone know if this is a known issue in cfdocument? Is there a workaround (other than not floating the images, which I can't do)? Thanks, Zoe ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDOCUMENT / PDF / IIS Compression
I would like to use IIS Compression and have it working fine for everything accept PDF's in IE. Things work fine in Firefox. But when you use CFDOCUMENT to create the PDF with IIS Compression turned on nothing it generated. I know this isn't a CF issue it is more an IE6 Issue but has anyone found a work around for this? Thanks! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246269 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CSS formatting in cfdocument PDF
Take a look at this: http://www.it.dev.duke.edu/policy.cfm (a PDF document) and this: http://www.it.dev.duke.edu/policy.html (the HTML version) Both versions have 10 point padding above the ordered list list items: #policy ol li { padding-top: 10px; } However, in the PDF version, the padding is not applied to the bullets (ie, the roman numericals, letters, etc) What's up with that? Is that a cfdocument bug? Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231907 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS formatting in cfdocument PDF
stupid me changed the padding to 0 on the PDF and forgot to change it back so if you looked at it and it looked normal, that's my fault :) Rick Root wrote: Take a look at this: http://www.it.dev.duke.edu/policy.cfm (a PDF document) and this: http://www.it.dev.duke.edu/policy.html (the HTML version) Both versions have 10 point padding above the ordered list list items: #policy ol li { padding-top: 10px; } However, in the PDF version, the padding is not applied to the bullets (ie, the roman numericals, letters, etc) What's up with that? Is that a cfdocument bug? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231920 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS formatting in cfdocument PDF
Its not CFDocument, its the way PDF handles CSS. For instance I can't get a dd to float at all. What I do (using FB makes it easy) is to set up a call to a PDF style sheet when I am sending something to a cfdocument rather than the site style sheet. I'm more easily able to play around with making something look right in Acrobat than trying to get the same CSS working in both Acrobat and HTML. Trying to do the same thing in both is a losing proposition. My suggestion is not to try to make things look exact, but to aim for creating a PDF document that is clear and readable. Hope that helps Sandy Clark -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 10:31 AM To: CF-Talk Subject: Re: CSS formatting in cfdocument PDF stupid me changed the padding to 0 on the PDF and forgot to change it back so if you looked at it and it looked normal, that's my fault :) Rick Root wrote: Take a look at this: http://www.it.dev.duke.edu/policy.cfm (a PDF document) and this: http://www.it.dev.duke.edu/policy.html (the HTML version) Both versions have 10 point padding above the ordered list list items: #policy ol li { padding-top: 10px; } However, in the PDF version, the padding is not applied to the bullets (ie, the roman numericals, letters, etc) What's up with that? Is that a cfdocument bug? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231954 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS formatting in cfdocument PDF
One other thing, if you are creating stylesheets just for PDF's, remember that in this case you are dealing with a known size (8 1/2 x 11 usually) and that you should be using absolute values. Points for font sizes, in(ches) for placement (.15in is legal). Set your body up as body { width: 8in; height: 10.5in; margin: .25in; } That will give you a 1/4 inch margin around your body when it prints. Sandy Clark -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 10:31 AM To: CF-Talk Subject: Re: CSS formatting in cfdocument PDF stupid me changed the padding to 0 on the PDF and forgot to change it back so if you looked at it and it looked normal, that's my fault :) Rick Root wrote: Take a look at this: http://www.it.dev.duke.edu/policy.cfm (a PDF document) and this: http://www.it.dev.duke.edu/policy.html (the HTML version) Both versions have 10 point padding above the ordered list list items: #policy ol li { padding-top: 10px; } However, in the PDF version, the padding is not applied to the bullets (ie, the roman numericals, letters, etc) What's up with that? Is that a cfdocument bug? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS formatting in cfdocument PDF
Sandra Clark wrote: My suggestion is not to try to make things look exact, but to aim for creating a PDF document that is clear and readable. That's what I did in the production version of the document, I just changed the padding to 0. Works for me. I was just wondering what the heck was going on. Thanks! Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfdocument PDF killing my jrun.exe
help. if a client tries to make a pdf report, out of a large set of data the jrun service spins out of control and eventually stops working. any ideas? should i just limit what is available to make in PDF format? 5000 lines of data. too much? what should i do? -- tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218511 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfdocument PDF killing my jrun.exe
PDF creation is definitely memory intensive. We recently had a customer creating a memory-intensive 1,500 page document and had to raise his maxheap value in the CF Admin to get by this. We'll see if we can't get more efficiant about things going forward. Damon help. if a client tries to make a pdf report, out of a large set of data the jrun service spins out of control and eventually stops working. any ideas? should i just limit what is available to make in PDF format? 5000 lines of data. too much? what should i do? -- ...tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218519 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfdocument PDF killing my jrun.exe
maxheap value? have to look for that. tw On 9/16/05, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: PDF creation is definitely memory intensive. We recently had a customer creating a memory-intensive 1,500 page document and had to raise his maxheap value in the CF Admin to get by this. We'll see if we can't get more efficiant about things going forward. Damon help. if a client tries to make a pdf report, out of a large set of data the jrun service spins out of control and eventually stops working. any ideas? should i just limit what is available to make in PDF format? 5000 lines of data. too much? what should i do? -- ...tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218520 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfdocument PDF killing my jrun.exe
got it... thanks d. Server Settings Java and JVM Java and JVM settings control the way ColdFusion starts the Java Virtual Machine when it starts. You can control settings like what classpaths are used and how memory is allocated as well as add custom command line arguments. Changing these settings requires restarting ColdFusion. If you enter an incorrect setting, ColdFusion may not restart properly. Backups of the jvm.config file are created when you hit the submit button. You can use this backup to restore from a critical change. On 9/16/05, Tony [EMAIL PROTECTED] wrote: maxheap value? have to look for that. tw On 9/16/05, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: PDF creation is definitely memory intensive. We recently had a customer creating a memory-intensive 1,500 page document and had to raise his maxheap value in the CF Admin to get by this. We'll see if we can't get more efficiant about things going forward. Damon help. if a client tries to make a pdf report, out of a large set of data the jrun service spins out of control and eventually stops working. any ideas? should i just limit what is available to make in PDF format? 5000 lines of data. too much? what should i do? -- ...tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218522 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
re: cfdocument PDF killing my jrun.exe
yeah big ones kill the server load, especially if you are on a shared server. ~Dave the disruptor~ Some people just don't appreciate how difficult it is to dispense wisdom and abuse at the same time. From: Tony [EMAIL PROTECTED] Sent: Friday, September 16, 2005 12:03 PM To: CF-Talk cf-talk@houseoffusion.com Subject: cfdocument PDF killing my jrun.exe help. if a client tries to make a pdf report, out of a large set of data the jrun service spins out of control and eventually stops working. any ideas? should i just limit what is available to make in PDF format? 5000 lines of data. too much? what should i do? -- .tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218523 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfdocument pdf output
Hi all, trying to do a output via cfdocument format=pdf.. it is a form that posts back to its self. It generates the pdf file but my mac always whats to use Dreamweaver to open it with rather than the acrobat plug in for the browser. Any suggestions on how to fix this? TIA Mark Holm Get Firefox! Imagination is the key to my lyrics. The rest is painted with a little science fiction. -Jimi Hendrix ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208625 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfdocument pdf problem with developer edition
That was it! I have an older version of full Acrobat. Downloading the latest reader fixed the problem. Thanks, Sean! Rob -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 8:18 PM To: CF-Talk Subject: Re: cfdocument pdf problem with developer edition On 5/19/05, Rob Condon [EMAIL PROTECTED] wrote: Thanks. I don't know what's wrong in my setup but the watermark hides the entire output on my computer! My solution is to deploy it to our staging server which has the licensed version installed. What a pain! What version of the Acrobat Reader do you have installed on your dev box? -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207337 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfdocument pdf problem with developer edition
That was it! I have an older version of full Acrobat. Downloading the latest reader fixed the problem. Thanks, Sean! Rob -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 8:18 PM To: CF-Talk Subject: Re: cfdocument pdf problem with developer edition On 5/19/05, Rob Condon [EMAIL PROTECTED] wrote: Thanks. I don't know what's wrong in my setup but the watermark hides the entire output on my computer! My solution is to deploy it to our staging server which has the licensed version installed. What a pain! What version of the Acrobat Reader do you have installed on your dev box? -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207336 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfdocument pdf problem with developer edition
On 5/19/05, Rob Condon [EMAIL PROTECTED] wrote: Thanks. I don't know what's wrong in my setup but the watermark hides the entire output on my computer! My solution is to deploy it to our staging server which has the licensed version installed. What a pain! What version of the Acrobat Reader do you have installed on your dev box? -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207323 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfdocument pdf problem with developer edition
Hi, Should pdf generation with cfdocument work with the developer edition? My pdf outputs a full page with the message Macromedia ColdFusion MX 7 Developer Edition Not for Production Use. I can see a momentary image of the document but it is quickly covered with this message. The flashPaper output does not have this limitation. Do I really need to install the licensed version to develop pdf reports; or is there something I'm doing wrong? Thanks, Rob ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207192 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfdocument pdf problem with developer edition
Should pdf generation with cfdocument work with the developer edition? My pdf outputs a full page with the message Macromedia ColdFusion MX 7 Developer Edition Not for Production Use. I can see a momentary image of the document but it is quickly covered with this message. The flashPaper output does not have this limitation. Do I really need to install the licensed version to develop pdf reports; or is there something I'm doing wrong? Any documents you generate with the Developer Edition should have that watermark. However, it usually doesn't obscure the entire document. 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! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207195 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfdocument pdf problem with developer edition
You should be able to see your report. That message appears as a watermark on the Dev version. -Original Message- From: Rob Condon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 11:10 AM To: CF-Talk Subject: cfdocument pdf problem with developer edition Hi, Should pdf generation with cfdocument work with the developer edition? My pdf outputs a full page with the message Macromedia ColdFusion MX 7 Developer Edition Not for Production Use. I can see a momentary image of the document but it is quickly covered with this message. The flashPaper output does not have this limitation. Do I really need to install the licensed version to develop pdf reports; or is there something I'm doing wrong? Thanks, Rob ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207206 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfdocument pdf problem with developer edition
Thanks. I don't know what's wrong in my setup but the watermark hides the entire output on my computer! My solution is to deploy it to our staging server which has the licensed version installed. What a pain! -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 2:48 PM To: CF-Talk Subject: RE: cfdocument pdf problem with developer edition You should be able to see your report. That message appears as a watermark on the Dev version. -Original Message- From: Rob Condon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 11:10 AM To: CF-Talk Subject: cfdocument pdf problem with developer edition Hi, Should pdf generation with cfdocument work with the developer edition? My pdf outputs a full page with the message Macromedia ColdFusion MX 7 Developer Edition Not for Production Use. I can see a momentary image of the document but it is quickly covered with this message. The flashPaper output does not have this limitation. Do I really need to install the licensed version to develop pdf reports; or is there something I'm doing wrong? Thanks, Rob ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207229 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Tuning CFDOCUMENT PDF output quality?
I think there are probably quite a few bugs with CF's HTML - PDF conversion regarding applying CSS properly. Our group has found some of the following css problems: 1) border-collapse: collapse does not work 2) specifying multiple classes does not work: e.g. a class=Large BlackAndWhite should implement both classes but doesn't 3) text-indent with negative values does not work (used for outdenting the first line of a paragraph) We have submitted these bugs to http://www.macromedia.com/support/email/wishform/ along with simple test cases to demonstrate the bug. I hope other people do the same so that the PDF generation is more robust and predictable in a future updater. I'd be interested to hear what other problems people have found with the cfdocment PDF conversion. Jon On 5/11/05, Pete Ruckelshaus [EMAIL PROTECTED] wrote: The first and most annoying problem is that the PDF isn't properly displaying some CSS attributes like border. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206572 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Tuning CFDOCUMENT PDF output quality?
I'm using cfdocument to generate a PDF for the first time, and to be honest, I'm pretty disappointed with the quality of the results. I have a page that looks EXACTLY as it should in IE FireFox, yet using the same code along with cfdocument to generate a PDF, the generated results are similar but not close. Fonts are jaggy and blotchy, alignment is off, fonts are both larger and heavier than they should be...the results are just plain unsatisfactory. Examples of both output are here: Using Adobe Acrobat 6.0 Distiller - http://www.ruckelshaus.com/pete/cf/acrobat_example.pdf Using CFDOCUMENT - http://www.ruckelshaus.com/pete/cf/cfdocument_example.pdf I have done the usual things -- made sure I linked to my CSS file from within each cfdocumentitem, checked to make sure the proper font as installed in CF (Arial, it was), changed the marginbottom attribute to make sure there was room for the footer, etc., but I'm just not satisfied. Are there any other tricks or tips for improving the quality of the output? Does cfdocument not handle linked CSS files properly? Failing that, can anyone comment on the quality of output for commercially available products like ActivePDF? Thanks Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206451 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Tuning CFDOCUMENT PDF output quality?
We've been able to get very exact results - but we use a separate print handler and CSS styles. If you think about it it makes some sense. CSS uses browser defaults for many things - and even adjusts it's own values accordingly. For example, if you choose 100% for a size it's 100% of the browsers default - not 100% of a published standard. Since cfdocument isn't rendering in a browser - how do you suppose it should render values like that? What does it use when you set values to auto or how about when you fail to specify? It has no browser to go off of. So you have to be more specific. In several cases you may have to use pixel values or pt sizes (for fonts). Mark A. Kruger, CFG, MCSE www.cfwebtools.com www.necfug.com http://mkruger.cfwebtools.com -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 2:08 PM To: CF-Talk Subject: Tuning CFDOCUMENT PDF output quality? I'm using cfdocument to generate a PDF for the first time, and to be honest, I'm pretty disappointed with the quality of the results. I have a page that looks EXACTLY as it should in IE FireFox, yet using the same code along with cfdocument to generate a PDF, the generated results are similar but not close. Fonts are jaggy and blotchy, alignment is off, fonts are both larger and heavier than they should be...the results are just plain unsatisfactory. Examples of both output are here: Using Adobe Acrobat 6.0 Distiller - http://www.ruckelshaus.com/pete/cf/acrobat_example.pdf Using CFDOCUMENT - http://www.ruckelshaus.com/pete/cf/cfdocument_example.pdf I have done the usual things -- made sure I linked to my CSS file from within each cfdocumentitem, checked to make sure the proper font as installed in CF (Arial, it was), changed the marginbottom attribute to make sure there was room for the footer, etc., but I'm just not satisfied. Are there any other tricks or tips for improving the quality of the output? Does cfdocument not handle linked CSS files properly? Failing that, can anyone comment on the quality of output for commercially available products like ActivePDF? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206462 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Tuning CFDOCUMENT PDF output quality?
Thanks Mark, Yes, a separate stylesheet is where I am headed now. To achieve your desired results, did you find that you could simply use properly compliant XHTML a linked CSS file, or did you need to use more inline styles and old-style HTML formatting? The first and most annoying problem is that the PDF isn't properly displaying some CSS attributes like border. Also, did you find that using different JVM's yielded different PDF output results? Or are those two variables independent of each other? Thanks, Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206466 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Tuning CFDOCUMENT PDF output quality?
Yes - we use a linked file and the strict XHTML: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN.. I don't know if the cfdocument tag actually validates against the doc declaration though. It may have a transitional approach like I.e. I suppose I could screw something up and see what happens. Actually, if we wait we will probably manage to do that on our own :) -mk -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 3:45 PM To: CF-Talk Subject: Re: Tuning CFDOCUMENT PDF output quality? Thanks Mark, Yes, a separate stylesheet is where I am headed now. To achieve your desired results, did you find that you could simply use properly compliant XHTML a linked CSS file, or did you need to use more inline styles and old-style HTML formatting? The first and most annoying problem is that the PDF isn't properly displaying some CSS attributes like border. Also, did you find that using different JVM's yielded different PDF output results? Or are those two variables independent of each other? Thanks, Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206479 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54