使用c#代码获取网络打印机状态? [英] Get network printer status using c# code ?

查看:604
本文介绍了使用c#代码获取网络打印机状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有

我需要通过网络使用c#代码获取有关我连接的打印机的所有信息

帮助我...



打印机名称是我的打印机

ipaddress 192.2.3.2(例如)



i想要的信息如打印机级别,纸张状态,碳粉量等等

hello all
please i need to get all information about my connected printer over network using c# code
help me ...

printer name is my-printer
ipaddress 192.2.3.2 ( for example )

i want information such as printer level , paper status , toner level .. etc

推荐答案

您需要的API调用包含在此组件 [ ^ ]并且它是一个如果VB.NET不能满足您的需求,可以将代码转换为C#。
The API calls you will need are wrapped up in this component[^] and it is a fairly simple job to convert the code to C# if VB.NET doesn't suit your needs.


这篇关于使用c#代码获取网络打印机状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆