C#.NET使用printdocument从客户端计算机打印.tiff文件..没有安装打印机错误 [英] C# .NET print .tiff file from client machine using printdocument.. No printer installed error

查看:276
本文介绍了C#.NET使用printdocument从客户端计算机打印.tiff文件..没有安装打印机错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不在页面上呈现图像的情况下将多个.tiff文件从客户端计算机打印到网络打印机?使用prindocument没有给打印机安装错误。无法在服务器上定义打印机,因为内部或外部用户可以在任何地方使用该应用程序。



我尝试过:



使用prindocument没有安装打印机错误。无法在服务器上定义打印机,因为内部或外部用户可以在任何地方使用该应用程序。

How can I print multiple .tiff files from client machine to network printer without rendering images on the page? Using prindocument is giving no printer installed error. Cannot define printer on the server as the app can be used from anywhere by internal or external users.

What I have tried:

Using prindocument is giving no printer installed error. Cannot define printer on the server as the app can be used from anywhere by internal or external users.

推荐答案

PrintDocument?在ASP.NET应用程序中?那是不可能的。 ASP.NET代码完全在服务器端运行,而不是在客户端运行。



客户端必须进行打印。您的所有ASP.NET代码都要提供一个打印机友好的页面,其中包含要打印的内容。 ASP.NET应用程序中没有代码可以执行打印操作。
PrintDocument? In a ASP.NET application? That's not possible. ASP.NET code runs ENTIRELY server-side, not on the client.

The client has to do the printing. All your ASP.NET code has to do is supply a printer-friendly page with the content to be printed. There is no code in your ASP.NET app to do the print operation at all.


这篇关于C#.NET使用printdocument从客户端计算机打印.tiff文件..没有安装打印机错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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