IIS服务器上无法进行打印 [英] Printing is not working on IIS Server

查看:82
本文介绍了IIS服务器上无法进行打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用RawPrinter作为打印机.我的编码是

I am using RawPrinter for printer in my project. My coding is

RawPrinterHelper.SendFileToPrinter1("CITIZEN CD-S500", Path)


这是在本地工作.但是,当我在IIS上运行时,打印无法正常工作.问题是什么.请帮助我...


This is working on local. But When I run it on IIS the printing is not working. What is the problem. Please help me...

推荐答案

如果服务器上未安装打印机,则不会发生任何事情.

如果您试图从ASP.NET代码打印到连接到客户端计算机的打印机,它将永远无法正常工作.服务器无法访问和使用客户端计算机上的任何资源.

您的ASP.NET代码根本不做任何打印.应该排队等待另一个模块进行打印,从而释放ASP.NET代码来处理其他请求.
If the printer is not installed on the server, nothing is going to happen.

If you''re trying to print from ASP.NET code to a printer attached to the client computer it''s never going to work. The server cannot get to and use any resources on the client computers.

Your ASP.NET code shouldn''t be doing any printing at all. It should be queueing up jobs for another module to do the printing, freeing up the ASP.NET code to handle other requests.


这篇关于IIS服务器上无法进行打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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