打印机问题ASP.Net应用程序 [英] Printer problem ASP.Net Application

查看:94
本文介绍了打印机问题ASP.Net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



对于我的Web应用程序,我需要为LAN共享计算机提供特定的打印机名称(例如EPSON RECEIPT TIV).因此,我将其保存在"WEB.CONFIG" 文件中.

我的客户局域网(LAN),例如,

ClientPC1 ----- ClientPC2 ----- ClientPC3 ------ ClientPC4 -----打印机


相关
服务器

现在,根据客户要求,客户可以在ClientPC上的任何位置进行打印". 打印机通过"CLIENTPC4"的"IP"连接.

我的疑问是clientPC请求PRINT时,该请求在CLIENTPC4中调用PRINTER吗?
我是否只需要在webconfig中指定打印机名称"EPSON RECEIPT TIV"(它将称为ClientPC4的打印机)

如果假设我通过静态IP"(WAN)从远程位置访问这些服务器.它会在哪里打印? (使用我的本地PC打印机或远程CLIENTPC4的打印机)



For my web application, i need to give Particular Printer Name(Ex : EPSON RECEIPT TIV) for LAN Sharing Computers. So, i gave it in "WEB.CONFIG" file.

My client Local Network(LAN) like,

ClientPC1-----ClientPC2-----ClientPC3------ClientPC4-----Printer

Connected with

SERVER

Now as per client requirement Client Can give "Print" on where ever in ClientPC. PRINTER IS CONNECTED THROUGH AN "IP" OF "CLIENTPC4".

My doubt is when clientPC request an PRINT, Is that request calls PRINTER in CLIENTPC4 ??

Am i simply need to give Printer name of "EPSON RECEIPT TIV" in webconfig ??(it will call ClientPC4''s Printer)

If suppose i access these server from REMOTE LOCATION through "STATIC IP"(WAN). Where it will print? (either with my local PC Printer or the remote CLIENTPC4''s printer)

推荐答案

ASP.NET Web配置与在客户.

如果您的客户要打印网页,则可以打印到其计算机上安装的任何打印机.

如果要客户端计算机打印到基于服务器的打印机,则需要使用适当的打印机配置服务器,然后根据客户端请求执行打印作业.对于服务器端打印,只需执行
ASP.NET web config doesn''t have anything to do with printing on the client.

If your clients want to print a web page, they can print to whichever printers are installed on their machines.

If you want the client computers to print to a server-based printer, you''ll need to configure the server with the appropriate printer and then execute a print job as a result of a client request. For server-side printing, just do a google search[^].

Cheers.


这篇关于打印机问题ASP.Net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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