Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Coldfusion Query to PDF File - how to?

Posted on 2009-07-01
3
Medium Priority
?
655 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

715 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