Click to See Complete Forum and Search --> : Printing Webpage in MS Word. URGENT..... plssssss


dhithi
12-13-2005, 08:04 AM
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.

takkie
12-13-2005, 02:42 PM
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.

-Tak

dhithi
12-13-2005, 11:03 PM
hi, 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!!!!!!!!!

Ubik
12-14-2005, 11:02 AM
Not sure if this helps, as it is client-side but:

http://www.vbexplorer.com/VBExplorer/office_vb.asp

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