Click here to Skip to main content
15,883,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In ASP.NET , how can i give print command on a printer which is configured on local machine but is installed on server machine.
Posted

Simply select the printer and print. A network printer isn't any different than a local printer when they both are installed. The difference most of the time is that you have to walk a greater distance to pick up your printed goods.

Good luck!
 
Share this answer
 
Comments
Shining Legend 6-Aug-10 4:54am    
you are right but i dont want to show a dialog box to user to select the printer it should start printing on the default network printer connected.
E.F. Nijboer 6-Aug-10 5:06am    
But there is only one printer marked as Default. If you print from asp.net you probably let the server handle the printing (meaning the code behind is giving the print job) so you can simply set the correct printer on the webserver as default and you have nothing to do with user settings.
Doesn't each local machine have it's own default printer?

The printer control runs from local not server, afaik.
 
Share this answer
 
Comments
Shining Legend 6-Aug-10 4:58am    
I did not get what is printer control. I am trying to print from asp.net
How to print on client machine without opening the print dialog.
 
Share this answer
 
Comments
raju melveetilpurayil 11-Aug-10 2:29am    
Reason for my vote of 1
dont hit "answer" to "Add Comment"

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