Solved

Coldfusion Query to PDF File - how to?

Posted on 2009-07-01
3
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
allow link tag to be submit like form 15 60
CSS (jquiry mobile) question 3 34
Add Rows on a Table 8 55
Error when uploading a document from an IPad 6 27
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

752 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