Solved

sending documents to a printer

Posted on 2011-02-17
2
983 Views
Last Modified: 2012-05-11
Hi,  

what I'm trying to do is have a user send several documents (pdf, excel, word,text) to their default printer without having to open the documents. I'm using coldfusion 8.  Basically, a user has a report with several attachments and I want the attachments printed out as an appendix to the original document.  I thought I could display embed the attachments with the actual report and then print out the whole thing but then I realized that this was not an easy task so I'm thinking that they could click on a button that says "print attachments" and the documents would be sent to a printer. Do you have an idea of how I can accomplish this?   The actual or main document is just html  with an "export to word " option.

Any suggestions would be appreciated!
0
Comment
Question by:Rawa19
2 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 100 total points
ID: 34921941
pdf, excel and word files need to be opened and interpreted by the appropriate programs to be printed.  If you look at the source to any of those files, you will not immediately see anything that you would want to print.  Sending them 'directly' to the printer (if you could) would just print garbage.
0
 
LVL 4

Accepted Solution

by:
Hammo777 earned 150 total points
ID: 34931051
Your best bet is to convert all of these to PDF and combine them, then present them as one document.  Not and easy task, but doable.  You could use COM techniques to convert the word and excel documents to PDF and then combine them with the others.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

762 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

16 Experts available now in Live!

Get 1:1 Help Now