Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts
I'm developing an application that shows the status of printer local and network both. There are 2 problems in my application. First problem is that the Status of Toner is not correct. I have used the PRINTER_STATUS_NO_TONER & PRINTER_STATUS_TONER_LOW for toner status. This is not giving me correct status. 2 thing is that my printer is not showing all information of network Printer. Because, through the help of Port Ping I am showing information of printer status.
Please help me how to retrieve correct information. I am using WMI query that is
Select * from Win32_PingStatus where Address = '" + IPAddress + "'";

where IPAddress = printer port.
Please help me to identify these problems
Thanks
Shashi
Posted
Updated 14-Nov-10 21:39pm
v2
Comments
GPUToaster™ 18-Nov-10 2:13am    
First thing, what information you want to display?

use this link it may help you.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=148&AspxAutoDetectCookieSupport=1
 
Share this answer
 
v2
this will also help you.
http://technet.microsoft.com/en-us/library/ee176998.aspx
 
Share this answer
 

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