在ASP.NET中通过网络打印作业 [英] Print jobs over a network in ASP.NET

查看:86
本文介绍了在ASP.NET中通过网络打印作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在建立一个asp.net网站,从店内自助服务亭购买在线目录。一台IIS服务器有大约十几个信息亭。我希望服务器上运行的asp.net在客户端签出时生成一个recipt(打印作业)。我希望它将打印作业发送到连接到该信息亭(客户端电脑)的相应打印机。

有没有办法在ASP.NET中找到服务器上所有设置打印机的IP?有没有办法将IP与客户端的IP相匹配?

我考虑过使用Active X控件在客户端PC上生成打印作业。这是一个更好的方法吗?还有其他办法吗?

任何帮助都会很棒。

I've been building an asp.net site to shop an online catalog from an in store kiosk.  There are about a dozen kiosks to the one IIS server.  I want the asp.net running on the server to generate a recipt  (print job) when the client checks out.   I want it to send the print job to the corresponding printer connected to that kiosk (the client pc).
 
Is there a way to find the IPs of all the setup printers on the server in ASP.NET?  And is there a way to match that IP to the client's IP?

I've considered generating the print job on the client PC using an Active X control.  Is this a better way?  Is there another way?

Any help would be great.

推荐答案

你好,

   我也在进行相同类型的编码,根据我的分析,我们必须在运行网站的服务器中配置所有网络(内部网/互联网)打印机。然后在asp.net页面中我们可以找到网络安装的打印机,根据
条件选择合适的打印机并发送打印作业。

   I'm also doing the same kind of coding, As per my analysis, we have to configure the all network (intranet/internet) printers in Server where web site is running. Then in asp.net page we can find the network installed printers, based on the condition select the appropriate printer and send the print Job.


这篇关于在ASP.NET中通过网络打印作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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