PageSetupDialog的打印机边距问题 [英] Printer Margins issue with PageSetupDialog

查看:89
本文介绍了PageSetupDialog的打印机边距问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

b


我注意到每当我选择打印机名称长度为31个字符的打印机时,始终可以设置打印机边距在某些Windows应用程序(页面设置)中会出现这种情况,例如wordpad,记事本,Internet Explorer。如果我更改打印机名称,
边距看起来应该如此。


这也是C#中 PageSetupDialog返回错误的最小边距的问题。


是否有任何修补程序/解决方案?

解决方案

您好iz111,


如何在PageSetupDialog中设置边距,您能与我们分享样本吗?我们可以重现这个问题并帮助你做得更好。


有关PageSetupDialog的信息,你可以参考:
http://www.c-sharpcorner.com/uploadfile/puranindia/pagesetupdialog-in-C-Sharp/


问候,

Youjun Tang


Hi,

I've noticed that whenever I select printer that has printer name 31 characters long, printer margins can always be set to 0. This happens in some windows application (Page Setup) , for example wordpad, notepad, internet explorer. If I change printer name, margins looks as it should.

This is also problem with PageSetupDialog in C# that returns wrong minimal margin.

Is there any hotfix/solution for this?

解决方案

Hi iz111,

How do you set the Margins in PageSetupDialog, Could you share the sample with us. We could reproduce the issue and help you better.

the Info about PageSetupDialog, you could refer to: http://www.c-sharpcorner.com/uploadfile/puranindia/pagesetupdialog-in-C-Sharp/

Regards,
Youjun Tang


这篇关于PageSetupDialog的打印机边距问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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