Solved

Coldfusion Query to PDF File - how to?

Posted on 2009-07-01
3
652 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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 explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

623 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