仅打印第一页 [英] prints only the first page
本文介绍了仅打印第一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生,
我需要打印一份包含c#中4或5页的报告.
当我检查文件时,似乎已充满完整数据(streamwriter).
但是只能打印(50个元素)单页.
为什么会这样?
有修改吗?
我尝试了很多,但是却找到了.可以给我任何帮助.
请帮忙...
在此先感谢...
dear sir,
i need to print a report which contains 4 or 5 pages from c#.
when i check the file it seems to be filled with full data(streamwriter).
But only prints (50 elements) single page.
why is that so?
Any remody?
I tried so much, but dint find.can any1 please help.
please help...
thanks in advance ...
推荐答案
取决于您的打印方式.如果您使用的是PrintDocument(应该使用),则可能超出了页面范围,在这种情况下,它将被裁剪并且无法打印.
因此,要么使用较小的字体,要么将其打印在多页上.
Depend how you printed it. If you are using a PrintDocument (and you should be) then you have probably exceeded the page bounds, in which case it will be clipped and won''t print.
So either use a smaller font, or print it on multiple pages.
这篇关于仅打印第一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文