Solved

Coldfusion Query to PDF File - how to?

Posted on 2009-07-01
3
644 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
ID: 24753437
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
ID: 31598703
will do it perfectly, thank you
zac
0
 
LVL 19

Expert Comment

by:Jones911
ID: 24753844
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

830 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