Printing Webpage in MS Word. URGENT..... plssssss

liunx

Guest
hi all,

How to print a web page in MS Word when user clicks a button.
I am using C#.net/ASP.net. I dont have experience.
Any body knows, please help.... Its very urgent.just a question before thinking.

why does it have to be in ms word? if you tell us the problem or goals you are trying to do, may be we can provide better solutions.

-Takhi, thanks for reply.

The problem is:
When the user clicks a button in a page, its redirecting to another page and it should get printed.
What I have done before is , I used window.print javascript in the page load and it worked well. But in the print page, the url , page no, etc was coming in top and bottom. I know it can be removed manually. But our client wont accept it. So i tried to do it programmatically. But i didnt got any solution.

So I am trying to take the print in MS Word so that those problem can be solved. Is there any soluiton for this. Plss Help!!!!!!!!!Not sure if this helps, as it is client-side but:

<!-- m --><a class="postlink" href="http://www.vbexplorer.com/VBExplorer/office_vb.asp">http://www.vbexplorer.com/VBExplorer/office_vb.asp</a><!-- m -->

If you put this script into the client, you can do it.
 
Back
Top