9
Answers

Printing word document from webpage?

Christian

Christian

15y
9.3k
1
Hi

Im in the situation where I need to make a webpage that can handle how to print a word document (created in the code) on the client printer. I think I should be able to create the word document but I dont know how to make it print from the printer at the client.
Any suggestions?

Answers (9)
0
swilkinson

swilkinson

NA 48 0 20y
The client machines NEEDS the .net framework that your app was written with. You can get the resistibutable here http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en Install this and you should just be able to copy the exe onto the client and it will run. You can deploy it if you wish to have the add/remove program stuff. To do this in VS.Pro (sorry have not seen standard so it might not help). Start a new project and select setup and deployment and pick setup project. Then add the built exe you wish to deploy, you can also add registry and shortcust stuff with this windows installer project. The only thing I could not get it to do was to install the framework (something to do with windows installer using it!?!). We had to switch to install sheild and write a proper setup to bundle it in. Cheers, Si