客户端计算机上已安装的打印机 [英] Installed Printers on Client machine

查看:89
本文介绍了客户端计算机上已安装的打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请让我知道如何访问客户端计算机上已安装的打印机以在客户端打印机而不是服务器上安装的打印机上进行打印.
我正在将ASP.Net-VS 2008,C#用于Web应用程序.

感谢您早日做出回应.

谢谢.

Please let me know how to access the installed printers on Client machine for printing on client printer instead of the printers installed on the server.
I am using ASP.Net - VS 2008, C# for a web application.

An early response is appreciated.

Thanks.

推荐答案

说客户端/服务器时,即使没有多说,也意味着您指的是ASP.NET.如果您使用的是ASP.NET,则不能.如果不是,那么假设您的客户端上运行的是winforms或WPF代码,那么我看不出问题出在哪里.
When you say client/server, it implies you mean ASP.NET, even though you didn''t say as much. If you''re using ASP.NET, you can''t. If you''re not, then I don''t see what the issue is, assuming you have winforms or WPF code running on the client.


如果您使用的是Windows应用程序,则需要从winspool.drv驱动程序文件调用AddPrinter .

检查此课程是否有完整课程
http://bytes.com/topic/c-sharp/answers/224587-addprinter- using-c [^ ]

:)
If you are in Windows application you need to call AddPrinter from winspool.drv driver file.

Check this for full class
http://bytes.com/topic/c-sharp/answers/224587-addprinter-using-c[^]

:)


这篇关于客户端计算机上已安装的打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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