RE: PDF creation/modification

2007-06-19 Thread Bobby Hartsfield
PDFForm definitely looks like the way to go. Thanks for making life simple
Ben! :-)

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 12:01 PM
To: CF-Talk
Subject: RE: PDF creation/modification

I'll have to give this one a shot

http://www.adobe.com/devnet/coldfusion/articles/pdfform.html

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:26 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro If I use CF to read the
original content and save it into a new file, all the pages are there but
blank...

*scratches head*

:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, "***firstname***", form.firstname, "all")#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
> It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it & mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText & cf this books is
a great value).

http://javaloader.riaforge.org/









~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281554
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/modification

2007-06-19 Thread Bobby Hartsfield
I'll have to give this one a shot

http://www.adobe.com/devnet/coldfusion/articles/pdfform.html

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 11:26 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro If I use CF to read the
original content and save it into a new file, all the pages are there but
blank...

*scratches head*

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, "***firstname***", form.firstname, "all")#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
> It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it & mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText & cf this books is
a great value).

http://javaloader.riaforge.org/







~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281534
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/modification

2007-06-19 Thread Bobby Hartsfield
Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro 
If I use CF to read the original content and save it into a new file, all
the pages are there but blank...

*scratches head*

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, "***firstname***", form.firstname, "all")#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
> It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it & mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText & cf this books is
a great value).

http://javaloader.riaforge.org/





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281528
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/modification

2007-06-19 Thread Bobby Hartsfield
Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just 
#replace(content, "***firstname***", form.firstname, "all")#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
> It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it & mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText & cf this books is
a great value).

http://javaloader.riaforge.org/



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281525
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/modification

2007-06-18 Thread Paul Hastings
Bobby Hartsfield wrote:
> It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest version, 
so you'll need it & mark's javaloader so as not to step on cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/ (there's 
a PDF version for 25 bucks, if you work w/iText & cf this books is a great 
value).

http://javaloader.riaforge.org/

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281484
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/modification

2007-06-18 Thread Bobby Hartsfield
It is indeed CF7 :-)

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 18, 2007 6:13 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Hmm... I just realized that even if you can read the document in via CF8
that it might not help you in CF7. However if document editing has been
disabled in the copy they gave you, you can manipulate that stuff in CF8 and
have it produce a new *unlocked* document that you could then maybe use to
do the PDF magic in CF7?

I dunno. I've not created a PDF with anything except CFX_PDF (ugh), and I'm
just guessing at these ideas based on Ben's CF8 presentation at my CFUG.

Hope these ideas help.

Chris

Bobby Hartsfield wrote:
> So I finally have to create/modify a PDF from CF after all these 
> years. And wouldn't you know it. it's the biggest scholarship application
known to man.
> The PDF has to look exactly like the sample that the client sent over 
> (which doesn't allow editing haha). Is it possible to just insert the 
> info into an existing template when doing this or do I have to 
> generate a new PDF and painstakingly adjust every little detail until it
looks like the original?
>
>  
>
> Hopefully, on-the-fly PDF generation/modification has come a long way 
> since I last looked.
>
>  
>
> I've generated DOCs, RTFs and such but those are simple, You just put 
> a marker in the place of the content and use replace() on the file 
> content. It doesn't look like that's going to work with a PDF. Any 
> starting points and suggestions would be appreciated.
>
>  
>
> Thanks
>
>  
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>
> Bobby Hartsfield
>
> http://acoderslife.com
>
>  
>
>
>
>
> 



~|
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:281477
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/modification

2007-06-18 Thread Christopher Jordan
Hmm... I just realized that even if you can read the document in via CF8 
that it might not help you in CF7. However if document editing has been 
disabled in the copy they gave you, you can manipulate that stuff in CF8 
and have it produce a new *unlocked* document that you could then maybe 
use to do the PDF magic in CF7?

I dunno. I've not created a PDF with anything except CFX_PDF (ugh), and 
I'm just guessing at these ideas based on Ben's CF8 presentation at my CFUG.

Hope these ideas help.

Chris

Bobby Hartsfield wrote:
> So I finally have to create/modify a PDF from CF after all these years. And
> wouldn't you know it. it's the biggest scholarship application known to man.
> The PDF has to look exactly like the sample that the client sent over (which
> doesn't allow editing haha). Is it possible to just insert the info into an
> existing template when doing this or do I have to generate a new PDF and
> painstakingly adjust every little detail until it looks like the original?
>
>  
>
> Hopefully, on-the-fly PDF generation/modification has come a long way since
> I last looked.
>
>  
>
> I've generated DOCs, RTFs and such but those are simple, You just put a
> marker in the place of the content and use replace() on the file content. It
> doesn't look like that's going to work with a PDF. Any starting points and
> suggestions would be appreciated. 
>
>  
>
> Thanks
>
>  
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>
> Bobby Hartsfield
>
> http://acoderslife.com
>
>  
>
>
>
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281464
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/modification

2007-06-18 Thread robert . rawlins
What cf version are you running bobby? I'm crossing my fingers (and so
should you) that its 7+. :-D

Rob

> So I finally have to create/modify a PDF from CF after all these years.
> And
> wouldn't you know it. it's the biggest scholarship application known to
> man.
> The PDF has to look exactly like the sample that the client sent over
> (which
> doesn't allow editing haha). Is it possible to just insert the info into
> an
> existing template when doing this or do I have to generate a new PDF and
> painstakingly adjust every little detail until it looks like the original?
>
>
>
> Hopefully, on-the-fly PDF generation/modification has come a long way
> since
> I last looked.
>
>
>
> I've generated DOCs, RTFs and such but those are simple, You just put a
> marker in the place of the content and use replace() on the file content.
> It
> doesn't look like that's going to work with a PDF. Any starting points and
> suggestions would be appreciated.
>
>
>
> Thanks
>
>
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>
> Bobby Hartsfield
>
> http://acoderslife.com
>
>
>
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281456
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/modification

2007-06-18 Thread Christopher Jordan
Download the beta of CF8 and have it read the PDF in for you. You should 
then be able to spit it back out, manipulate it etc. I don't know this 
for a fact, but you may even be able to look at the DDX code (I think 
that's what it's called if memory serves from Ben's talk at my local CFUG).

How about something like that?

Chris

Bobby Hartsfield wrote:
> So I finally have to create/modify a PDF from CF after all these years. And
> wouldn't you know it. it's the biggest scholarship application known to man.
> The PDF has to look exactly like the sample that the client sent over (which
> doesn't allow editing haha). Is it possible to just insert the info into an
> existing template when doing this or do I have to generate a new PDF and
> painstakingly adjust every little detail until it looks like the original?
>
>  
>
> Hopefully, on-the-fly PDF generation/modification has come a long way since
> I last looked.
>
>  
>
> I've generated DOCs, RTFs and such but those are simple, You just put a
> marker in the place of the content and use replace() on the file content. It
> doesn't look like that's going to work with a PDF. Any starting points and
> suggestions would be appreciated. 
>
>  
>
> Thanks
>
>  
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>
> Bobby Hartsfield
>
> http://acoderslife.com
>
>  
>
>
>
>
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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