当自定义页面设置在打印机上不起作用时该怎么办

发布于 2024-09-27 23:50:22 字数 404 浏览 0 评论 0原文

我正在对 c#.net 3.5 中开发的应用程序进行一些更改,该应用程序使用 devxpress 进行报告,客户拥有点阵打印机 epson lx 300 +,运行纸张尺寸(32 厘米高和 22 厘米宽)。 问题是有些报告非常大,需要每一毫米的页面来打印报告,所以我设置页面尺寸为a4extra(32厘米高和22厘米宽),但问题是打印机无法识别页面设置,它总是给出a4打印尺寸,这使得报告打印了一半,打印一些页面后,新的软页面从物理页面的中间开始,因此软页面不会单独打印在物理页面上,因此结果很难看,报告打印

我还向打印机添加了相同的(a4extra)纸张尺寸,但它无法识别我使用的记事本/word,但结果是一样

的 1 如何让打印机识别自定义纸张尺寸是我遗漏的东西吗? 2 如果打印机很笨并且我被迫使用a4,我怎样才能将每个软页保留在每个物理页上而不混合它们?

i am doing some changes in application developed in c#.net 3.5 , application using devxpress for reporting , customer has dot matrix printer epson lx 300 + with running paper size (32cm height and 22 cm width).
problem is some reports are very large and require every mm of page to print reports so i setup page size a4extra (32cm height and 22 cm width ) but problem is printer not recognizing page setup it always give a4 print size which leaves reports half printed and after some pages printed new soft page start on middle of physical page so soft pages not printed separately on physical pages so result is ugly report print

i also added same(a4extra) paper size to printer but it not recognizing i used notepad/word but result is same

so
1 how to allow printer to recognize custom paper size is i am missing something ?
2 if printer is dumb and i am forced to work with a4 how can i keep each soft page on each physical page without mixing them ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

未央 2024-10-04 23:50:22

最有可能的是,打印机不支持此纸张尺寸,因此您尝试打印如此大的文档没有成功。
因此,我建议您使用以下代码使您的报告适合现有的纸张尺寸:

report.PrintingSystem.Document.AutoFitToDocumentWidth = 1;

Most likely, the printer does not support this paper size and thus your attempt to print such large documents did not succeed.
So, I suggest that you use the following code to fit your report to an existing paper size:

report.PrintingSystem.Document.AutoFitToDocumentWidth = 1;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文