RE: CFDOCUMENT creating a PDF - ARGH!

2007-12-19 Thread Peterson, 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

CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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

RE: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Andy Matthews
/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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Todd
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Rob Parkhill
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Ben Doom
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Jim Wright
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

RE: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Peterson, Chris
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Rob Parkhill
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,

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Tom Chiverton
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

RE: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Peterson, Chris
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

RE: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Brad Wood
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Mike Kear
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Rob Parkhill
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

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Les Mizzell
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