What is meant by "Discussions"?
dynamic pdf creation
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ColdFusion > dynamic pdf creation 30 March 2005 15:23:00

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

dynamic pdf creation

Daniel Kessler 30 March 2005 15:23:00
 We have a web page that's difficult to print. It's dynamically created:
http://www.hhp.umd.­edu/tipping_point/ch­ecklist2.cfm
Fill in the 10 radio buttons and click the button at the bottom to see the next page.

The graphic on the left side (yes/no over and over again) doesn't print on the pc because it's a background image. I do that to make it repeat for the distance of the table it's in. Unfortunately it doesn't print and that's a requirement. So, we'd thought we'd make a pdf of this content, on the fly so that the user can print it - hoping that it works going to a pdf.

So...is there any free software for CFMX 6.1 to take a web page to PDF? Our IT hasn't updated to 7 yet, but it looks like that'd do it. If not free, any cost software? Do you think bringing this page to PDF will work?

thanks for the help.

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200490
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Steven Erat 29 March 2005 20:18:54 permanent link ]
 
3 options off the top of my head:>
-HTML2PDF3 custom tag....wrap around HTML to be printed and it creates a PDF >you can serve up via CFCONTENT>
-go to SourceForge and look for iText...this is for fancier stuff...so try >option 1 first ;-)­>
-move to CF 7 (but again...try option 1 first...really simple)

Agreed, CFMX 7 CFDocument is the best option.

In addition to the former suggestions for CFMX 6.1, there is also FOP from the Apache Foundation, although its quite rigid unless you want to dynamically generate FOP tags and layout. It works well if you have a standard presenation layout, see the example in my blog entry:
http://www.talkingt­ree.com/blog/index.c­fm?mode=alias&alias=­fop

And see:
http://xml.apache.o­rg/fop/index.html

-Steven Erat

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200501
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 21:01:57 permanent link ]
 3 options off the top of my head:

-HTML2PDF3 custom tag....wrap around HTML to be printed and it creates a PDF
you can serve up via CFCONTENT

-go to SourceForge and look for iText...this is for fancier stuff...so try
option 1 first ;-)­

-move to CF 7 (but again...try option 1 first...really simple)

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com
----- Original Message -----
From: "daniel kessler" <danielk-e45ueOrobK­4@public.gmane.org>
To: "CF-Talk" <cf-talk-2K/2x8RPSj­9p9z4BATjFtQC/G2K4zD­Hf@public.gmane.org>­
Sent: Tuesday, March 29, 2005 7:56 AM
Subject: dynamic pdf creation

We have a web page that's difficult to print. It's dynamically created:> http://www.hhp.umd.­edu/tipping_point/ch­ecklist2.cfm> Fill in the 10 radio buttons and click the button at the bottom to see the > next page.>
The graphic on the left side (yes/no over and over again) doesn't print on > the pc because it's a background image. I do that to make it repeat for > the distance of the table it's in. Unfortunately it doesn't print and > that's a requirement. So, we'd thought we'd make a pdf of this content, > on the fly so that the user can print it - hoping that it works going to a > pdf.>
So...is there any free software for CFMX 6.1 to take a web page to PDF? > Our IT hasn't updated to 7 yet, but it looks like that'd do it. If not > free, any cost software? Do you think bringing this page to PDF will > work?>
thanks for the help.>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200496
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Paul Hastings 29 March 2005 21:11:10 permanent link ]
 daniel kessler wrote:> So...is there any free software for CFMX 6.1 to take a web page to PDF? Our IT hasn't updated to 7 yet, but it looks like that'd do it. If not free, any cost software? Do you think bringing this page to PDF will work?

itext is quite powerful (http://www.lowagie­.com/iText/) but pretty much
everything is complicated compared to cfdocument.

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200493
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Paul Vernon 29 March 2005 21:13:47 permanent link ]
 Why not just turn on background printing on the browser or is that something
you don't have control of for this site?

Paul


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200499
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 21:23:43 permanent link ]
 OK...not sure why a server upgrade is being suggested over a simple custom
tag solution...but I sure wouldn't go that far unless there was no other way
!!

It's like buying a new car because you like the rearview mirror better than
you current car ;-)­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200503
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Daniel Kessler 29 March 2005 21:50:34 permanent link ]
 I turned it on in the browser and that worked, but that's me with my client (PC IE) in hand. Others won't see that. There's no way to do this programmatically is there? I have control over the site, but not the server itself which is controlled by our webhosting and the main reason that we're not CF7 yet.
Why not just turn on background printing on the browser or is that something>you don't have control of for this site?>
Paul

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200529
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Daniel Kessler 29 March 2005 22:10:35 permanent link ]
 
Bryan the broken record says "try HTML2PDF3" ;-)­

I am looking into it. I've not used a custom tag before so I don't know much about them. I'm a bit intimidated, honestly, which is hard to say on a programming list.

Just as a fyi, the url is:
http://www.letsjam.­com/downloads/html2p­df3.cfm

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200537
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Adam Haskell 29 March 2005 22:23:26 permanent link ]
 
It's like buying a new car because you like the rearview mirror better than> you current car ;-)­

Dynamic Document generation is a bit bigger than a rearview
mirror...It can be major selling point. You must realize in this
situation the main reason for a PDF is for a uniform print format. Why
generate a PDF at all why not make a Flash Paper instead? See by just
going with a custom tag or open source solution you are missing out on
an excellent alternative. I agree, at my place, upgrading just for
this feature is a bit extreme but if this is an important feature it
could be just as rediculous to not upgrade. In my opinion flash paper
is a heck of a lot better than PDF...it loads faster, it can be
embedded in the page, and it uses something thats on about 98% of
computer outs there today, a higher rate than Acrobat read is
installed on. Ontop of that the download for flash is about 10x's
smaller than adobe's reader.


Adam H


On Tue, 29 Mar 2005 09:23:43 -0800, Bryan Stevenson
<bryan-lmTtMILVy1jq­3mzM/vGWq2Ztm2MBb6oo­@public.gmane.org> wrote:> OK...not sure why a server upgrade is being suggested over a simple custom> tag solution...but I sure wouldn't go that far unless there was no other way> !!>
It's like buying a new car because you like the rearview mirror better than> you current car ;-)­>
Cheers>
Bryan Stevenson B.Comm.> VP & Director of E-Commerce Development> Electric Edge Systems Group Inc.> phone: 250.480.0642> fax: 250.480.1264> cell: 250.920.8830> e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org> web: www.electricedgesys­tems.com>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200523
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 22:30:00 permanent link ]
 
Dynamic Document generation is a bit bigger than a rearview> mirror...It can be major selling point. You must realize in this> situation the main reason for a PDF is for a uniform print format. Why> generate a PDF at all why not make a Flash Paper instead? See by just> going with a custom tag or open source solution you are missing out on> an excellent alternative. I agree, at my place, upgrading just for> this feature is a bit extreme but if this is an important feature it> could be just as rediculous to not upgrade. In my opinion flash paper> is a heck of a lot better than PDF...it loads faster, it can be> embedded in the page, and it uses something thats on about 98% of> computer outs there today, a higher rate than Acrobat read is> installed on. Ontop of that the download for flash is about 10x's> smaller than adobe's reader.

Agreed...but the original poster was having issues with background images
not printing....best tool for the job and all that ;-)­

Trust me...I know how hard it CAN be if your document is complex (like my
base doc which is 16 pages when empty...and 100% data driven)...I've used
iText...it's a PITA, but it works like a champ ;-)­

Cheers


Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com
----- Original Message -----
From: "Adam Haskell" <a.haskell-Re5JQEeQ­qe8AvxtiuMwx3w@publi­c.gmane.org>
To: "CF-Talk" <cf-talk-2K/2x8RPSj­9p9z4BATjFtQC/G2K4zD­Hf@public.gmane.org>­
Sent: Tuesday, March 29, 2005 10:23 AM
Subject: Re: dynamic pdf creation

It's like buying a new car because you like the rearview mirror better >> than>> you current car ;-)­>
Dynamic Document generation is a bit bigger than a rearview> mirror...It can be major selling point. You must realize in this> situation the main reason for a PDF is for a uniform print format. Why> generate a PDF at all why not make a Flash Paper instead? See by just> going with a custom tag or open source solution you are missing out on> an excellent alternative. I agree, at my place, upgrading just for> this feature is a bit extreme but if this is an important feature it> could be just as rediculous to not upgrade. In my opinion flash paper> is a heck of a lot better than PDF...it loads faster, it can be> embedded in the page, and it uses something thats on about 98% of> computer outs there today, a higher rate than Acrobat read is> installed on. Ontop of that the download for flash is about 10x's> smaller than adobe's reader.>
Adam H>
On Tue, 29 Mar 2005 09:23:43 -0800, Bryan Stevenson> <bryan-lmTtMILVy1jq­3mzM/vGWq2Ztm2MBb6oo­@public.gmane.org> wrote:>> OK...not sure why a server upgrade is being suggested over a simple >> custom>> tag solution...but I sure wouldn't go that far unless there was no other >> way>> !!>>
It's like buying a new car because you like the rearview mirror better >> than>> you current car ;-)­>>
Cheers>>
Bryan Stevenson B.Comm.>> VP & Director of E-Commerce Development>> Electric Edge Systems Group Inc.>> phone: 250.480.0642>> fax: 250.480.1264>> cell: 250.920.8830>> e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org>> web: www.electricedgesys­tems.com>>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200527
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
David Manriquez 29 March 2005 22:33:21 permanent link ]
 OR..

You can use directly HTMLDOC :-)­ with CFexecute and the url.


CF7 PDF creation do not support Htttps links right?..


David Manriquez
Desarrollador de Sistemas
dmanriquez-sB1/Tx4b­9t1mR6Xm/wNWPw@publi­c.gmane.org
(+56-2) 43 00 155



-----Mensaje original-----
De: Bryan Stevenson [mailto:bryan-lmTtMILVy1jq3mzM/vGWq2Ztm2MBb6oo@public.gmane.org]
Enviado el: Martes, 29 de Marzo de 2005 13:24
Para: CF-Talk
Asunto: Re: dynamic pdf creation

OK...not sure why a server upgrade is being suggested over a simple custom
tag solution...but I sure wouldn't go that far unless there was no other way

!!

It's like buying a new car because you like the rearview mirror better than
you current car ;-)­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200525
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Paul Hastings 29 March 2005 22:53:16 permanent link ]
 Bryan Stevenson wrote:> Trust me...I know how hard it CAN be if your document is complex (like my > base doc which is 16 pages when empty...and 100% data driven)...I've used > iText...it's a PITA, but it works like a champ ;-)­

actually itext is as complicated or simple as you need it to be. it does
however allow you an almost insane amount of control over the pdf
burning process--and the mad scientists behind (paulo & bruno) are
constantly improving it. even w/cfdocument we'll still find uses for it.
though it's use is somewhat complicated under mx 7.


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200528
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 22:53:59 permanent link ]
 Yep...great product...and I can atest to how much better it's become....I
recently removed about 500 lines of *ahem* workarounds because an earlier
version had "issues"....but the latest rocks!!

....and yes...when you can place anything you want by the pixel...that's
control ;-)­

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200530
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 22:57:03 permanent link ]
 Bryan the broken record says "try HTML2PDF3" ;-)­

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200531
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Larry Lyons 29 March 2005 22:58:06 permanent link ]
 
3 options off the top of my head:>
-HTML2PDF3 custom tag....wrap around HTML to be printed and it creates a PDF >you can serve up via CFCONTENT>

This isn't such an easy option - you need to have HTMLDoc on your server, and if you're in a shared hosting environment that can be a bit difficult. Second, HTMLDoc only supports HTML 3.2, no stylesheets etc., just lots and lots of <font></font> and other ugly code.

CFMX 7 is a better solution.

larry

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200554
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 29 March 2005 23:21:16 permanent link ]
 
I am looking into it. I've not used a custom tag before so I don't know > much about them. I'm a bit intimidated, honestly, which is hard to say on > a programming list.>

Not to worry...we don't bite (often) ;-)­

Here's what you'll need to do:

1) dload tag

2) put the HTML2PDF.cfm file in your cfusion\custom tags directory OR in the
same directory as the file that will use it

3) An app named HTMLDoc.exe will need to be installed on the server (ask the
webmaster where you're hosted to do this...explain that it creates PDF docs
and should not interfere with other hosted sites..they get kinda squirelly
about that sort of thing...hehe).

4) If memory serves all you do is wrap and beginning and ending tag
(HTML2PDF) along with some attributes (just like other cftags like CFQUERY
etc. that you've already used....read the docs that come with the tag for
specifics).

5) run the page in your browser and a PDF will be generated....you can add a
link to a "printer friendly version" (which links to the PDF). There are
other ways to handle this...but let's get your PDF created first ;-)­

Hope that gets ya going

Any problems...just ask...we'rer here for ya ;-)­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200541
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Damien McKenna 29 March 2005 23:27:23 permanent link ]
 
Bryan the broken record says "try HTML2PDF3" ;-)­

http://www.easysw.c­om/htmldoc/faq.php?2­0#20
"HTMLDOC currently supports most HTML 3.2 and some HTML 4.0 elements.
HTMLDOC does not support HTML 4.0 tables, attributes, stylesheets, or
scripting. HTML 4.0 functionality is currently in development and will
be provided in a future release of HTMLDOC. We do not have any estimates
or schedules for new HTMLDOC releases available to the public."

Has this been updated since the FAQ was written, i.e. is HTMLDOC still
limited to very limited HTML support?

--
Damien McKenna - Web Developer - Damien.McKenna-fLWf­SbbvvT5boGzWXzlD9NBP­R1lH4CV8@public.gman­e.org
The Limu Company - http://www.thelimuc­ompany.com/ - 407-804-1014
#include <stdjoke.h>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200543
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Connie DeCinko 29 March 2005 23:27:29 permanent link ]
 CFReport and the new Report Builder are enough to sell me on the upgrade.
The improved performance is just gravy.

-----Original Message-----
From: Adam Haskell [mailto:a.haskell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Tuesday, March 29, 2005 11:23 AM
To: CF-Talk
Subject: Re: dynamic pdf creation
It's like buying a new car because you like the rearview mirror better
than> you current car ;-)­

Dynamic Document generation is a bit bigger than a rearview
mirror...It can be major selling point. You must realize in this
situation the main reason for a PDF is for a uniform print format. Why
generate a PDF at all why not make a Flash Paper instead? See by just
going with a custom tag or open source solution you are missing out on
an excellent alternative. I agree, at my place, upgrading just for
this feature is a bit extreme but if this is an important feature it
could be just as rediculous to not upgrade. In my opinion flash paper
is a heck of a lot better than PDF...it loads faster, it can be
embedded in the page, and it uses something thats on about 98% of
computer outs there today, a higher rate than Acrobat read is
installed on. Ontop of that the download for flash is about 10x's
smaller than adobe's reader.


Adam H




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200544
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Connie DeCinko 29 March 2005 23:31:50 permanent link ]
 That's one of those settings I wish Microsoft would have turned on by
default. I wonder if you can create a utility or reg file to flip that
switch. Changing the default IE print margins would also be helpful.


-----Original Message-----
From: daniel kessler [mailto:danielk-e45ueOrobK4@public.gmane.org]
Sent: Tuesday, March 29, 2005 10:51 AM
To: CF-Talk
Subject: Re: dynamic pdf creation

I turned it on in the browser and that worked, but that's me with my client
(PC IE) in hand. Others won't see that. There's no way to do this
programmatically is there? I have control over the site, but not the server
itself which is controlled by our webhosting and the main reason that we're
not CF7 yet.
Why not just turn on background printing on the browser or is that
something>you don't have control of for this site?>
Paul




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200547
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Joe Rinehart 29 March 2005 23:43:08 permanent link ]
 ColdFusion MX 7 makes it a breeze. Dunno if anyone had mentioned it yet...

-Joe


On Tue, 29 Mar 2005 14:10:35 -0400, daniel kessler <danielk-e45ueOrobK­4@public.gmane.org> wrote:> >Bryan the broken record says "try HTML2PDF3" ;-)­>
I am looking into it. I've not used a custom tag before so I don't know much about them. I'm a bit intimidated, honestly, which is hard to say on a programming list.>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200552
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Daniel Kessler 30 March 2005 15:23:00 permanent link ]
 
3) An app named HTMLDoc.exe will need to be installed on the server (ask the >webmaster where you're hosted to do this...explain that it creates PDF docs >and should not interfere with other hosted sites..they get kinda squirelly >about that sort of thing...hehe).

ah well that's a sticking point. I asked them and they said that I can just wait for CF7 which they'll install mid-summer. So I guess that they agree with alot of the posters, ignoring my particular project needs. I understand their point - a shared environment and why install something new when they're going to give that capability soon anyway.

Thanks Bryan and all the other posters for your help. Time to talk to the client, I think.

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:200663
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ColdFusion > dynamic pdf creation 30 March 2005 15:23:00

see also:
Paid Membership
Monotone Windows GUI / Download all…
AW: latest stabel release
пройди тесты:
see also:
Handpunch
All in one Video Converter Platinum
Free video converter with Two real-time…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .