-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
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
/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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
19 matches
Mail list logo