RE: CFDOCUMENT creating a PDF - ARGH!
Les, By specifying a name and a filename I'm not sure what that is doing... name assigns the resulting PDF file to a variable, and filename writes it to a file... do exactly what I had in my example (cfdocument format=pdf filename=c:\test.pdf) and write that to a file - still nothing? Chris -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 6:55 PM To: CF-Talk Subject: Re: CFDOCUMENT creating a PDF - ARGH! Peterson, Chris wrote: Change to: cfdocument format=pdf filename=c:\test.pdf cfdocument name=test.pdf filename=c:\test.pdf format=PDF mimetype=text/xml backgroundvisible=yes overwrite=yes fontembed=yes Generates a blank page... Remove the cfdoc tag surrounding everything - perfect. I've got maybe two or three hairs left. Anybody want to have a go at them??? ~| 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:295092 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 creating a PDF - ARGH!
Are you using overflow: auto in your CSS anywhere? Rupesh Kumar found some bugs in cfdocument when overflow was set to auto: http://coldfused.blogspot.com/search/label/cfdocument http://coldfused.blogspot.com/2007/12/missing-text-in-pdf-created-by.html http://coldfused.blogspot.com/2007/12/images-and-cfdocument-performance.html -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 9:39 AM To: CF-Talk Subject: CFDOCUMENT creating a PDF - ARGH! I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code, the page renders fine. Put the CFDOCUMENT back in and the page falls apart - CSS is ignored. So, I've got something wrong somewhere. Is the basic format for creating a PDF page below correct? Is the problem the way the CSS file is referenced? How else should I try to do that? --- START OF TEMPLATE - QUERIES HERE- cfdocument format=PDF mimetype=text/html html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet type=text/css href=css/makePDF.css / /head body - OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF - /body /html /cfdocument -- END OF TEMPLATE - ~| 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:295002 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 creating a PDF - ARGH!
Put the actual css within style/style tags on the actual page. On Dec 18, 2007 10:39 AM, Les Mizzell [EMAIL PROTECTED] wrote: I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code, the page renders fine. Put the CFDOCUMENT back in and the page falls apart - CSS is ignored. So, I've got something wrong somewhere. Is the basic format for creating a PDF page below correct? Is the problem the way the CSS file is referenced? How else should I try to do that? --- START OF TEMPLATE - QUERIES HERE- cfdocument format=PDF mimetype=text/html html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet type=text/css href=css/makePDF.css / /head body - OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF - /body /html /cfdocument ~| 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:295003 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 creating a PDF - ARGH!
Les, Put the CSS include inside of the CFDOCUMENT tags, and then it will reference the CSS. Rob On Dec 18, 2007 10:39 AM, Les Mizzell [EMAIL PROTECTED] wrote: I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code, the page renders fine. Put the CFDOCUMENT back in and the page falls apart - CSS is ignored. So, I've got something wrong somewhere. Is the basic format for creating a PDF page below correct? Is the problem the way the CSS file is referenced? How else should I try to do that? --- START OF TEMPLATE - QUERIES HERE- cfdocument format=PDF mimetype=text/html html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet type=text/css href=css/makePDF.css / /head body - OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF - /body /html /cfdocument -- END OF TEMPLATE - ~| 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:295005 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 creating a PDF - ARGH!
I found I got better results with CSS by cfinluding the file into a style block, instead of doing what you did. HTH. --Ben Doom Les Mizzell wrote: I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code, the page renders fine. Put the CFDOCUMENT back in and the page falls apart - CSS is ignored. So, I've got something wrong somewhere. Is the basic format for creating a PDF page below correct? Is the problem the way the CSS file is referenced? How else should I try to do that? --- START OF TEMPLATE - QUERIES HERE- cfdocument format=PDF mimetype=text/html html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet type=text/css href=css/makePDF.css / /head body - OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF - /body /html /cfdocument -- END OF TEMPLATE - ~| 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:295007 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 creating a PDF - ARGH!
head link rel=stylesheet type=text/css href=css/makePDF.css / /head Try an absolute path to your css file. ~| 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:295008 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 creating a PDF - ARGH!
I will 2nd that one, never had luck with paths to css files, I just style, works perfect. Chris -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 10:51 AM To: CF-Talk Subject: Re: CFDOCUMENT creating a PDF - ARGH! I found I got better results with CSS by cfinluding the file into a style block, instead of doing what you did. HTH. --Ben Doom Les Mizzell wrote: I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code, the page renders fine. Put the CFDOCUMENT back in and the page falls apart - CSS is ignored. So, I've got something wrong somewhere. Is the basic format for creating a PDF page below correct? Is the problem the way the CSS file is referenced? How else should I try to do that? --- START OF TEMPLATE - QUERIES HERE- cfdocument format=PDF mimetype=text/html html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet type=text/css href=css/makePDF.css / /head body - OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF - /body /html /cfdocument -- END OF TEMPLATE - ~| 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:295015 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 creating a PDF - ARGH!
Jim Wright wrote: head link rel=stylesheet type=text/css href=css/makePDF.css / /head OK, so I'm trying it like this now: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. cfquery name=makePDF datasource=#datasource# username=#username# password=#password# Select * FROM tmbCOLLECTIONS WHERE collection_id = '#url.pdfID#' /cfquery cfdocument format=pdf !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleUntitled Document/title style type=text/css !-- body { font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; } #PDFpage { width: 544px; margin: 0; text-align: left;} #PDFCARD { width: 136px; height: 170px; margin: 0; float: left; font-size: 9px; background: url(img/pdfCARD.gif) left top no-repeat; } #pdfCARDCONTAINER { width: 116px; margin: 0 12px 0 2px; padding: 0 0 0 4px; float: left; text-align: center; } #PDFCARD #cardTOP { width: 100%; height: 17px; padding: 1px 0 0 0; margin: 0; color: #FF; font-size: 10px; text-align: center; } #PDFCARD #prvNAME { width: 100%; height: 41px; padding: 9px 0 0 0; } #pdfCARD #prvAMNT { width: 100%; height: 15px; padding: 0; } #PDFCARD #prvTYPE { width: 100%; height: 25px; padding: 0; } #PDFCARD #prvINDUS { width: 100%; height: 31px; padding: 0; } #pdfCARD #prvDATE { width: 100%; height: 15px; text-align: center; padding: 0 8px; } -- /style /head body div id=PDFpage img src=http://www.MYSITE.com/imgPDF/pdfHEADER.gif; width=544 height=200 / cfoutput query=makePDF div id=PDFCARD div id=pdfCARDCONTAINER div id=cardTOPcfif makePDF.pending EQ pendingPending/cfif/div div id=prvNAME#makePDF.dsp_name#/div div id=prvAMNT#makePDF.dsp_amount# #makePDF.dsp_millthou#/div div id=prvTYPE#makePDF.deal_type#/div div id=prvINDUS#makePDF.dsp_industry#/div div id=prvDATE cfif (makePDF.showDAY EQ n or makePDF.showDAY EQ y) and makePDF.showMONTH EQ n#dateformat(makePDF.dsp_closedate, '')#/cfif cfif makePDF.showDAY EQ n and makePDF.showMONTH EQ y#dateformat(makePDF.dsp_closedate, ' ')#/cfif cfif makePDF.showDAY EQ y and makePDF.showMONTH EQ y#dateformat(makePDF.dsp_closedate, ' dd, ')#/cfif /div /div /div /cfoutput/div /body /html /cfdocument ~| 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:295014 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 creating a PDF - ARGH!
Les, You need a filename, otherwise it outputs to the page. Rob On Dec 18, 2007 11:13 AM, Les Mizzell [EMAIL PROTECTED] wrote: Jim Wright wrote: head link rel=stylesheet type=text/css href=css/makePDF.css / /head OK, so I'm trying it like this now: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. cfquery name=makePDF datasource=#datasource# username=#username# password=#password# Select * FROM tmbCOLLECTIONS WHERE collection_id = '#url.pdfID#' /cfquery cfdocument format=pdf !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleUntitled Document/title style type=text/css !-- body { font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; } #PDFpage { width: 544px; margin: 0; text-align: left;} #PDFCARD { width: 136px; height: 170px; margin: 0; float: left; font-size: 9px; background: url(img/pdfCARD.gif) left top no-repeat; } #pdfCARDCONTAINER { width: 116px; margin: 0 12px 0 2px; padding: 0 0 0 4px; float: left; text-align: center; } #PDFCARD #cardTOP { width: 100%; height: 17px; padding: 1px 0 0 0; margin: 0; color: #FF; font-size: 10px; text-align: center; } #PDFCARD #prvNAME { width: 100%; height: 41px; padding: 9px 0 0 0; } #pdfCARD #prvAMNT { width: 100%; height: 15px; padding: 0; } #PDFCARD #prvTYPE { width: 100%; height: 25px; padding: 0; } #PDFCARD #prvINDUS { width: 100%; height: 31px; padding: 0; } #pdfCARD #prvDATE { width: 100%; height: 15px; text-align: center; padding: 0 8px; } -- /style /head body div id=PDFpage img src=http://www.MYSITE.com/imgPDF/pdfHEADER.gifhttp://www.mysite.com/imgPDF/pdfHEADER.gif width=544 height=200 / cfoutput query=makePDF div id=PDFCARD div id=pdfCARDCONTAINER div id=cardTOPcfif makePDF.pending EQ pendingPending/cfif/div div id=prvNAME#makePDF.dsp_name#/div div id=prvAMNT#makePDF.dsp_amount# #makePDF.dsp_millthou#/div div id=prvTYPE#makePDF.deal_type#/div div id=prvINDUS#makePDF.dsp_industry#/div div id=prvDATE cfif (makePDF.showDAY EQ n or makePDF.showDAY EQ y) and makePDF.showMONTH EQ n#dateformat(makePDF.dsp_closedate, '')#/cfif cfif makePDF.showDAY EQ n and makePDF.showMONTH EQ y#dateformat(makePDF.dsp_closedate, ' ')#/cfif cfif makePDF.showDAY EQ y and makePDF.showMONTH EQ y#dateformat(makePDF.dsp_closedate, ' dd, ')#/cfif /div /div /div /cfoutput/div /body /html /cfdocument ~| 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:295017 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 creating a PDF - ARGH!
OK, so I'm trying it like this now: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. -- START TEMPLATE - - - - QUERIES HERE - - - cfdocument format=pdf !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleUntitled Document/title style type=text/css !-- CSS HERE -- /style /head body div id=PDFpage img src=http://www.MYSITE.com/imgPDF/pdfHEADER.gif; width=544 height=200 / cfoutput query=makePDF MY OUTPUT STUFF HERE... /cfoutput /div /body /html /cfdocument ~| 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:295021 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 creating a PDF - ARGH!
On Tuesday 18 Dec 2007, Les Mizzell wrote: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. I suggest setting the correct content-type before sending it then. -- Tom Chiverton Helping to ambassadorially reinvent prospective CEOs on: http://thefalken.livejournal.com Halliwells wishes all of its clients and suppliers the Very Best for Christmas the New Year 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:295019 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 creating a PDF - ARGH!
Change to: cfdocument format=pdf filename=c:\test.pdf Then try to open it. Also, ensure you have the PDF reader installed as a plugin, or you will get gibberish as well =) Chris -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 11:34 AM To: CF-Talk Subject: Re: CFDOCUMENT creating a PDF - ARGH! OK, so I'm trying it like this now: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. -- START TEMPLATE - - - - QUERIES HERE - - - cfdocument format=pdf !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleUntitled Document/title style type=text/css !-- CSS HERE -- /style /head body div id=PDFpage img src=http://www.MYSITE.com/imgPDF/pdfHEADER.gif; width=544 height=200 / cfoutput query=makePDF MY OUTPUT STUFF HERE... /cfoutput /div /body /html /cfdocument ~| 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:295023 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 creating a PDF - ARGH!
Sorry, I haven't been keeping up with this entire thread, but I noticed your post below. Beware that IE (at least) will cache the mime type on successive refreshes of a page. If it gets a pdf one time, it expects it the next time as well etc... ~Brad -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 10:34 AM To: CF-Talk Subject: Re: CFDOCUMENT creating a PDF - ARGH! OK, so I'm trying it like this now: If I remove the CFDOCUMENT tag, the file renders exactly the way I want. Put it back in, I get a page of gibberish. ~| 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:295024 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 creating a PDF - ARGH!
If I change the tag to: cfdocument format=pdf mimetype=text/html name=myFILE I get a blank page with nothing... ~| 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:295025 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 creating a PDF - ARGH!
I have a site where i'm using CFDOCUMENT To create PDFs too. I find i get gibberish if i refresh teh page to see what the PDF looks like after i've tinkered with the code a bit. But if i refresh a second time it renders ok. Any user seeing hte page sees it fine because they're not refreshing the page with some changes. I'm not sure it's anything you can eiher control or need to worry about. I fretted about it a lot on my site before i realised that it doesnt really happen in a real world situation. Not sure if that helps you. does it? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 12/19/07, Les Mizzell [EMAIL PROTECTED] wrote: If I change the tag to: cfdocument format=pdf mimetype=text/html name=myFILE I get a blank page with nothing... ~| 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:295026 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 creating a PDF - ARGH!
Peterson, Chris wrote: Change to: cfdocument format=pdf filename=c:\test.pdf cfdocument name=test.pdf filename=c:\test.pdf format=PDF mimetype=text/xml backgroundvisible=yes overwrite=yes fontembed=yes Generates a blank page... Remove the cfdoc tag surrounding everything - perfect. I've got maybe two or three hairs left. Anybody want to have a go at them??? ~| 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:295069 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 creating a PDF - ARGH!
Les, I am getting the same results with your Divs. Works fine with no cfdocument, and then nothing with... I would look at those divs and work them in one by one to find the one that is causing the problem.. Hopefully someone will see this and add it as a bug to cfdocument. Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295080 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 creating a PDF - ARGH!
Rob Parkhill wrote: Les, I am getting the same results with your Divs. Works fine with no cfdocument, and then nothing with... I would look at those divs and work them in one by one to find the one that is causing the problem.. Hopefully someone will see this and add it as a bug to cfdocument. I can delete *everything* except the image and it still is giving a blank page. Oh boy ~| 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:295081 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4