Solved

Coldfusion Query to PDF File - how to?

Posted on 2009-07-01
3
639 Views
Last Modified: 2012-05-07
Hi all,

i have a online shopping cart where customer can sign in and view past orders. what i'd like to do is copy the query code that helps display the past orders and have a link called 'print invoice'.

when the customer clicks 'print invoice' i'd like CF to create a PDF file that the customer can then print off.

can anyone point me in the right direction?

thanks
zac
0
Comment
Question by:bede123
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Jones911 earned 500 total points
Comment Utility
Generate a html version of the invoice then wrap it in <cfdocument> nad it will make a PDF.  Or use Report builder thats free with ColdFusion: http://www.adobe.com/devnet/coldfusion/articles/subreport.html
0
 
LVL 1

Author Closing Comment

by:bede123
Comment Utility
will do it perfectly, thank you
zac
0
 
LVL 19

Expert Comment

by:Jones911
Comment Utility
I should have linked this aswell:  http://cfquickdocs.com/cf8/#cfdocument

We use cfducoment alot it has its limitations but it can do alot of good things with PDF's
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now