c#PrintDocument和Windows 2000出现问题 [英] problem with c# PrintDocument and Windows 2000
问题描述
我在.Net 2.0中用C#编写了一个应用程序.
在Windows7和WinXP上似乎可以正常工作,但是在Windows 2000上,我的自写报告类遇到问题.
它基本上会创建一个PrintDocument并用drawString和drawLine填充页面.
但是,如果我尝试在其中一个客户端上的较旧的Windows2000计算机上进行打印,则仅出现行,而不会打印文本.
首先,我认为这是因为字体问题,但是Arial不应该成为问题吗?
我在较新的Windows版本中阅读了有关XPS的内容.那可能是原因吗?如果是,是否有办法解决?
最好的问候,robert
i wrote an application with C# in .Net 2.0
it seems to work OK on windows7 and WinXP, but on Windows 2000 i am experiencing problems with my self written reporting class.
It basically creates a PrintDocument and fills the page with drawString and drawLine.
But if i try to print on the older windows2000 computer on one of my clients, only the lines appear, the text is not printed.
First i thought it''s because of font problems, but Arial shouldn''t be a problem ?
I read something about XPS in newer Windows versions. Could that be the reason? if yes, is there a way to fix it?
best regards, robert
推荐答案
可能与已安装的Service Pack有关.
带有Service Pack 2的.Net Framework 2.0版是最新版本,可修复各种问题.它要求Windows 2000上的Windows 2000 SP4以及 KB835732 [ ^ ]或 KB891861 [ ^ ]更新.
根据Microsoft的说法,即使安装了所有这些工具,仍然可能会出现问题.
另外,我建议您升级客户端.甚至扩展支持 [
Could be to do with the installed service packs.
.Net Framework Version 2.0 with Service Pack 2 is the latest version, and fixes all sorts of stuff. It Requires Windows 2000 SP4 on Windows 2000 plus the KB835732[^] or KB891861[^] updates.
Even with all this installed there may still be problems according to Microsoft.
In addition I would recommend your client upgrade. Even the extended support[^] for Windows 2000 ends 13/07/2010.
这篇关于c#PrintDocument和Windows 2000出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!