打印问题 [英] Problem with printing

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

问题描述


我正在使用C#从Windows应用程序打印一种表单
在点矩阵打印机中,它们连续排列10页.
所以当我从应用程序发出打印命令时,按照我的布局,首页就可以了.但是现在我又给了印刷品,然后我的设计布局就被打扰了.
我是否需要更改我的代码,否则会有一些打印机设置.
请给我解决方案,它非常银色...

解决方案

我不确定您如何打印,但使用.NET PrintDialog可以吗?将需要提供BeginPrintEndPrintPrintPage方法来进行实际打印.在打印多页时,我会跟踪已打印的页面,因此每次连续调用PrintPage都知道要打印的页面.


hi
i m printing one form from windows appication using c#
In dot matrix printer they arrange 10 pages continuously .
so when i give print command from application then first page comes ok as per my layout. but now again i give the print then the layout of my design get disturb.
am i required to change in my code or some printer setting will be there.
Plz give me solution it is very argent...

解决方案

I''m not sure how you are printing, but using the .NET PrintDialog you''ll need to provide BeginPrint, EndPrint and PrintPage methods to do the actual printing. When printing multiple pages, I keep track of which page has been printed, so each consecutive call to PrintPage knows what page is expected.


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

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