如何让IP打印机使用C#上线 [英] How do you get an IP printer to go online using C#

查看:230
本文介绍了如何让IP打印机使用C#上线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何获得打印机名称和打印机功能等。我遇到的问题是,我妈妈家里的一台新打印机在几分钟后就会脱机。虽然我喜欢这个功能,但它确实意味着她必须站起来在线打开打印机然后再回到电脑打印。我希望写一个小程序来强制打印机在线,但这似乎并不容易。有没有人有这个问题的经验谁比我更进一步的发展道路?



我目前正在使用VS2012 C#,在Windows 8.1 64位上。所以最新的方法是最好的,因为我可以找到的旧东西似乎都被弃用了。

I know how to get the printer name and printer capabilities and such. The problem I have is that a new printer in my mother's house goes offline after a few minutes. Although I like this feature, it does mean that she has to get up to turn the printer online and then go back to the computer to print. I was hoping to write a little program to force the printer online, but that does not seem to be very easy to do. Does anyone have experience with this problem who is further along the development path than me?

I am currently working with VS2012 C#, on Windows 8.1 64bit. So latest methods are best since the older stuff I can find all seems to be deprecated.

推荐答案

你将不得不与打印机的制造商联系到看看是否有要使用的SDK以及是否支持。



这不是标准功能,所以你不会发现任何预先编写的内容这样做。
You're going to have to get with the manufacturer of the printer to see if there is an SDK to use and if this is even supported.

This is not a standard functionality so you're not going to find anything pre-written to do this.


这篇关于如何让IP打印机使用C#上线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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