Solved

sending documents to a printer

Posted on 2011-02-17
2
984 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 83

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is the cheapest way to learn Websphere MQ? 2 74
Does a Google search find images with the word being searched? 11 61
Need help editing script 3 65
Error viewing ASP page 12 149
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

911 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

19 Experts available now in Live!

Get 1:1 Help Now