DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 31 Jul 2007 03:01:45 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Roop
          2    Robson Siqueira


Printer Status over the Network   
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
Date:Tue, 31 Jul 2007 03:01:45 -0700   Author:  

Re: Printer Status over the Network   
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
> 
Date:Thu, 2 Aug 2007 11:44:35 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us