Hello all, Please help and suggest the code to get the printer status over the network. for Example, i have an string "\\\\os1\\PtName" where os1 is the system name and PtName is the printer name I need to know the status of this printer on the system name "os1". Please suggest me the code for that in C#. I am using WMI but not able to get anything helpful stuff. Thank's and Regards Tarun Sinha
You should have it installed locally on the machine running the app - that's better - and query win32_printers thru wmi (http://msdn2.microsoft.com/en-us/library/Aa394363.aspx) Robson Siqueira "Roop" wrote in message news:1185876105.720828.7390@z28g2000prd.googlegroups.com... > Hello all, > > Please help and suggest the code to get the printer status over the > network. > for Example, i have an string "\\\\os1\\PtName" > > where os1 is the system name > and PtName is the printer name > > I need to know the status of this printer on the system name "os1". > Please suggest me the code for that in C#. > > I am using WMI but not able to get anything helpful stuff. > > > Thank's and Regards > Tarun Sinha >