本文介绍了如何在C#中通过Window Services打印文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能告诉我如何使用窗口服务打印文档.
问题是Printpage事件未执行.

我从msdn得到类似
Windows服务或ASP.NET应用程序或服务中不支持使用System.Drawing.Printing命名空间中的类.尝试从这些应用程序类型之一中使用这些类可能会产生意外问题,例如服务性能下降和运行时异常.
Windows服务或ASP.NET应用程序或服务中不支持使用该名称空间.那么有哪些可能的选择呢?

请帮帮我.
预先感谢..

Hi,

Can anybody tell me How to print a document using window services.
The problem is Printpage event is not executing.

i got from msdn something like
Classes within the System.Drawing.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.
the namespace is not supported for use within a Windows service or ASP.NET application or service. So what are the possible options ?

please help me out.
thanks in advance..

推荐答案


这篇关于如何在C#中通过Window Services打印文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 09:17