从.NET 2010打印Crystal Report中的性能 [英] Printing Performance in Crystal Report from .NET 2010

查看:60
本文介绍了从.NET 2010打印Crystal Report中的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从水晶报告打印到点阵打印机,但是花费太多时间来打印,我从我在这里分享的硬件人那里得到了一个想法,你可以从批量打印出来将您的水晶报告直接存档或推送到LPT Port1。我已经设计好,我没有时间更改为批处理文件,所以请告诉我如何将我们的水晶报告推送到LPT port1?



提前谢谢。 ..

I need to take print out from crystal report to dot matrix printer, but it taking too much of time to take print, and i have got an idea from my hardware person that i shared here, You can take print out from batch file or push your crystal report to LPT Port1 directly. And i have already designed and i have no time to change as batch file, so please tell me how to push our crystal report into LPT port1 ?

Thanks in advance...

推荐答案

您不直接使用端口。您只需在系统中安装打印机,它就会根据操作系统的支持方式与操作系统进行通信。你不应该做任何其他事情。这就是这个OS的工作原理。你没有提供任何有助于理解什么是如此慢的信息,但你应该明白矩阵打印机和LPT(大多数现代计算机上都没有)本来就太慢了。


-SA
You don't work directly with ports. You just install the printer in the system, and it communicates with the OS according to how it is supported. You should not do anything else. This is how this OS works. You did not provide any information which would help to understand what's so slow, but you should understand that both matrix printers and LPT (not even present on most modern computers) are inherently too slow.

—SA


CrystalReports将尝试通过Windows驱动程序为目标打印机打印报告,该打印机使用的Windows API图形系统有点过度杀伤力用于点阵打印性能。您可以通过使用CrystalReports将报告导出到TXT来绕过它( http://social.msdn.microsoft.com/Forums/en-US/aff77de4-0bd0-4f73-9041-755e6dbd8308/crystal-reports-export-to-text?forum = vscrystalreports [ ^ ])然后使用 http://support.microsoft.com/kb/322091 [ ^ ]
CrystalReports will try to print the report through a Windows Driver for the target printer which uses Windows API graphic system that is somehow overkill for dot matrix printing performance. You can bypass that by exporting the report to TXT using CrystalReports (http://social.msdn.microsoft.com/Forums/en-US/aff77de4-0bd0-4f73-9041-755e6dbd8308/crystal-reports-export-to-text?forum=vscrystalreports[^]) and then send that txt right to the LPT port by using http://support.microsoft.com/kb/322091[^]


这篇关于从.NET 2010打印Crystal Report中的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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