Solved

sending documents to a printer

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where do I learn ES6? 3 70
Auto-indent certain lines in Notepad++ 10 76
Forms that calculate points for wordpress 10 29
powershell script 9 26
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

821 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