Advertisement

10.05.2005 at 05:56AM PDT, ID: 21584435
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Printing a word document or pdf

Asked by RussoMA in ColdFusion Application Server

Tags: , , ,

I am looking for my options to have a button on my page to print directly a word document or pdf.  

The <LINK rel=alternate media=print href="thedocument.doc"> type tag does not work, it only prints a blank page unless it's a direct text file/htm file that can be interpreted directly by the browser.

I'd even be willing to put some sort of invisible frame in the document that opens the word document and then having the button call some javascript to print that frame if that would work?

I currently have all the files set up so that i can call them by the form that is pulled -- if i am on form L9, then I want to be able to call something like

"#rtrim(selection.selection)#.doc" as the filename
(selection is a query that will only return 1 result, the second selection is the form [L9])

I can put them in either doc or pdf, but html formatting for printing doesnt work for the forms i am using (I have a date of print running on the footer of each page of the form) and it just doesnt look the same/harder to format and i have numerous forms to do this way.

If i can get one answer that is a direct print of either the doc or pdf (even if there are prompts to open the file/save the file/print), i will award all the points to that solution, if there are a few good ideas that dont directly print, i will split the points.

Results are key, if it can be done in coldfusion or javascript, or anything else that can be interpreted on the coldfusion/iis platform, and it works, then i am all ears.

Thanks to all who respond.  I will close out the question if i get a direct answer before a week has passed, after a week, i will close out the question and split points between all other viable options.Start Free Trial
 
Loading Advertisement...
 
[+][-]10.05.2005 at 06:35AM PDT, ID: 15021628

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: ColdFusion Application Server
Tags: word, coldfusion, print, document
Sign Up Now!
Solution Provided By: Atabia
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.05.2005 at 08:54AM PDT, ID: 15023032

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.12.2005 at 10:30AM PDT, ID: 15070945

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.21.2005 at 12:51PM PDT, ID: 15135108

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32