Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please let me know how to access the installed printers on Client machine for printing on client printer instead of the printers installed on the server.
I am using ASP.Net - VS 2008, C# for a web application.

An early response is appreciated.

Thanks.
Posted
Updated 17-Dec-09 16:37pm
v2

When you say client/server, it implies you mean ASP.NET, even though you didn't say as much. If you're using ASP.NET, you can't. If you're not, then I don't see what the issue is, assuming you have winforms or WPF code running on the client.
 
Share this answer
 
If you are in Windows application you need to call AddPrinter from winspool.drv driver file.

Check this for full class
http://bytes.com/topic/c-sharp/answers/224587-addprinter-using-c[^]

:)
 
Share this answer
 
Comments
LoseSpeed 10-Jul-10 6:01am    
thanks
Abhishek Sur 10-Jul-10 18:53pm    
If the answer helped you, you should mark as Answered.
:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900