Re: PDF creation in CF8 - not working...please help

2007-12-11 Thread Rupesh Kumar
Andy,
It looks like the rendering engine for html/css in CF does not handle 
overflow:auto. If you remove that from your style, the pdf will get created 
fine. Meanwhile we will investigate why overflow:auto style does not work.

Thanks  Regards,
Rupesh
Adobe ColdFusion team. 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294505
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PDF creation in CF8 - not working...please help

2007-12-11 Thread Rupesh Kumar
Andy,
It looks like the rendering engine for html/css in CF does not handle 
overflow:auto. If you remove that from your style, the pdf will get created 
fine. Meanwhile we will investigate why overflow:auto style does not work.

Thanks  Regards,
Rupesh
Adobe ColdFusion team. 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294506
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-11 Thread Andy Matthews
Hey Rob...

Last night I tried using an absolute path to the stylesheet, and that didn't
work either.

andy 

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 2:47 PM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

I just opened your source of your page above and copied a portion of it into
a new document and wrapped it in a cfdocument, and it generated a PDF.
Granted I don't have your stylesheet to use so none of the formatting came
across the same, but text and images were there.

Can you include the Stylesheet within the cfdocument tag and see if that
does anything?

Rob




~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294508
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-11 Thread Andy Matthews
Well thank you very much. I'll def need to debug it. It's got to have
something to do with the combo of the CSS and my HTML. I'll just have to
figure it out. 

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 8:42 PM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

Obviously, I don't have enough work ;) or I just like to help.  So I
debugged a bit for you.  If I include the CSS inside the cfdocument tag, I
get the colors appropriately inside the PDF, but I get 15 pages, and only
the first has data, the rest is blank, however, when I leave the css
reference outside of the tag, I get six pages (yes, I am just working with a
sample) but all the data is there.  Basically, it seems that the second
div is doing something funky.

I will save the PDFs I have generated if you want some samples of the
results, plus the CFM (not pretty necessarily, but it does work).

I do have an interest in learning CFDocument, but not necessarily a project
to do it with, so *play* time is a good break from the day to day when is
it done yet

Let me know how you make out.

Rob




~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294509
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PDF creation in CF8 - not working...please help

2007-12-11 Thread Andy Matthews
Thanks Rupesh! I'll take a look at my code. I didn't realize I was using
that, but sure enough, there it is. That makes perfect sense why the first
section shows up, but the rest don't too!


andy

-Original Message-
From: Rupesh Kumar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 11, 2007 6:27 AM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,
It looks like the rendering engine for html/css in CF does not handle
overflow:auto. If you remove that from your style, the pdf will get
created fine. Meanwhile we will investigate why overflow:auto style does
not work.

Thanks  Regards,
Rupesh
Adobe ColdFusion team. 



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294511
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PDF creation in CF8 - not working...please help

2007-12-10 Thread Jochem van Dieten
Andy Matthews wrote:
 I'm trying to create a PDF from a page and it's not working. The way I've 
 read is that to do this, you simply wrap whatever content you have within 
 cfdocument tags, with the type set to PDF. So that's what I've done, and it's 
 not working correctly.
 
 Here's the actual page:
 http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13
 
 Here's the page when a PDF is trying to be generated:
 http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13

Change the HTML of the page so you don't refer to images by their 
relative path, but with a file:///d:/images... type URL and try again.

Jochem

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294443
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-10 Thread Andy Matthews
Jochem...

But the text doesn't display either. Nothing displays below the address
information at the bottom of page 1. 

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 3:13 AM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy Matthews wrote:
 I'm trying to create a PDF from a page and it's not working. The way I've
read is that to do this, you simply wrap whatever content you have within
cfdocument tags, with the type set to PDF. So that's what I've done, and
it's not working correctly.
 
 Here's the actual page:
 http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4
 C061052691D13
 
 Here's the page when a PDF is trying to be generated:
 http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B540
 60A4C061052691D13

Change the HTML of the page so you don't refer to images by their relative
path, but with a file:///d:/images... type URL and try again.

Jochem



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294449
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation in CF8 - not working...please help

2007-12-10 Thread Rob Parkhill
Andy,

try changing your cfdocument tag to the following:

cfdoucument fontembed=no format=pdf

/cfdocument

I know that when I first started using cfdocument, I had to do this when using 
CSS on the page that was creating the PDF.  Of course the resultant PDF doesn't 
have the same 'look', but you might find that it has something to do with 
Fontembed.


HTH,

Rob 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294450
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-10 Thread Andy Matthews
Thanks Rob...I'll give that a shot.

As a followup question, assuming that I can't get this working with
CFDocument, what are my options people? This is part of an app I'm building
for a client. I promised them they could convert these proposals to PDF
because I knew CF had that built in. Now it's not working and I'm left
holding the bag.

I'm sure it's got something to do with something in my CSS, because when I
comment out the CSS include, everything displays.


-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 8:08 AM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

try changing your cfdocument tag to the following:

cfdoucument fontembed=no format=pdf

/cfdocument

I know that when I first started using cfdocument, I had to do this when
using CSS on the page that was creating the PDF.  Of course the resultant
PDF doesn't have the same 'look', but you might find that it has something
to do with Fontembed.


HTH,

Rob 



~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294452
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation in CF8 - not working...please help

2007-12-10 Thread Rob Parkhill
Andy,

I guess that you could always design a high level CFR in report builder, and
then pass the info that is generated for the proposals as a series of
variables, but that seems messy.  There is always something like ActivePDF
which I was using (and still am on some sites still running 6) to create
PDFs.  I personally don't really like ActivePDF that much, just because, I
didn't think that it ran as easily as I would've liked.

You might have more success with the PDF creation if you take out the div
and use a table instead.  I know that it is a pain, but I am sure that when
I looked into my problem, there was something in the div causing the
error.

Rob


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294454
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-10 Thread Andy Matthews
I was actually considering that. But the problem is that my CFC has code to
do all of the conversion into DIVs. It just spits out a single variable for
each distinct module. If it comes to that, that's what I'll do, but I'd
rather avoid that if possible.

It's got to have something to do with the CSS. I just don't know why. 

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 9:21 AM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

I guess that you could always design a high level CFR in report builder, and
then pass the info that is generated for the proposals as a series of
variables, but that seems messy.  There is always something like ActivePDF
which I was using (and still am on some sites still running 6) to create
PDFs.  I personally don't really like ActivePDF that much, just because, I
didn't think that it ran as easily as I would've liked.

You might have more success with the PDF creation if you take out the div
and use a table instead.  I know that it is a pain, but I am sure that when
I looked into my problem, there was something in the div causing the
error.

Rob




~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294457
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation in CF8 - not working...please help

2007-12-10 Thread Rob Parkhill
Andy,

I just opened your source of your page above and copied a portion of it into
a new document and wrapped it in a cfdocument, and it generated a PDF.
Granted I don't have your stylesheet to use so none of the formatting came
across the same, but text and images were there.

Can you include the Stylesheet within the cfdocument tag and see if that
does anything?

Rob


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294468
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PDF creation in CF8 - not working...please help

2007-12-10 Thread Andy Matthews
Hmmm...

Can you try the same test, but use an absolute path to the CSS file? I
wonder if I need to do that in my CSS generation, just like with images. 

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 2:47 PM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

I just opened your source of your page above and copied a portion of it into
a new document and wrapped it in a cfdocument, and it generated a PDF.
Granted I don't have your stylesheet to use so none of the formatting came
across the same, but text and images were there.

Can you include the Stylesheet within the cfdocument tag and see if that
does anything?

Rob




~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294469
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PDF creation in CF8 - not working...please help

2007-12-10 Thread Andy Matthews
I just realized I'm asking you to debug my code. Sorry about that. Thanks
for the suggestion man. I'll check that out when I get home.

 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 10, 2007 4:11 PM
To: CF-Talk
Subject: RE: PDF creation in CF8 - not working...please help

Hmmm...

Can you try the same test, but use an absolute path to the CSS file? I
wonder if I need to do that in my CSS generation, just like with images. 

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 2:47 PM
To: CF-Talk
Subject: Re: PDF creation in CF8 - not working...please help

Andy,

I just opened your source of your page above and copied a portion of it into
a new document and wrapped it in a cfdocument, and it generated a PDF.
Granted I don't have your stylesheet to use so none of the formatting came
across the same, but text and images were there.

Can you include the Stylesheet within the cfdocument tag and see if that
does anything?

Rob






~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294470
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation in CF8 - not working...please help

2007-12-10 Thread Rob Parkhill
Andy,

Obviously, I don't have enough work ;) or I just like to help.  So I
debugged a bit for you.  If I include the CSS inside the cfdocument tag, I
get the colors appropriately inside the PDF, but I get 15 pages, and only
the first has data, the rest is blank, however, when I leave the css
reference outside of the tag, I get six pages (yes, I am just working with a
sample) but all the data is there.  Basically, it seems that the second
div is doing something funky.

I will save the PDFs I have generated if you want some samples of the
results, plus the CFM (not pretty necessarily, but it does work).

I do have an interest in learning CFDocument, but not necessarily a project
to do it with, so *play* time is a good break from the day to day when is
it done yet

Let me know how you make out.

Rob


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


PDF creation in CF8 - not working...please help

2007-12-09 Thread Andy Matthews
I'm trying to create a PDF from a page and it's not working. The way I've read 
is that to do this, you simply wrap whatever content you have within cfdocument 
tags, with the type set to PDF. So that's what I've done, and it's not working 
correctly.

Here's the actual page:
http://gaylordoprylandsales.com/prop/proposal.cfm?view=73534E3B54060A4C061052691D13

Here's the page when a PDF is trying to be generated:
http://gaylordoprylandsales.com/prop/proposal_pdf.cfm?view=73534E3B54060A4C061052691D13

You can see that the top portion of the proposal outputs just fine, but 
EVERYTHING ELSE is missing. It appears that the correct number of pages are 
there, so I can assume it's simply something with my HTML that's the problem, 
but I have no idea what it might be. It's not like you can debug this sort of 
thing.

Does anyone have any idea why it might be doing this, and if so, what I can do 
to fix it?



andy matthews 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294438
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PDF creation in CF8 - not working...please help

2007-12-09 Thread Andy Matthews
Oh...one more thing. The code on the PDF page is identical (except for the 
cfdocument tag), which is set up like so:

cfdocument format=pdf
 all code inside here ...
/cfdocument 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294440
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation in CF8 - not working...please help

2007-12-09 Thread Andy Matthews
Oh...one more thing. The code on the PDF page is identical (except for the 
cfdocument tag), which is set up like so:

cfdocument format=pdf

/cfdocument 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294439
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4