无法在vb.net中打印多份晶体报告. [英] Unable to print multiple copies for crystal report in vb.net.

查看:97
本文介绍了无法在vb.net中打印多份晶体报告.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:omg:
我想打印水晶报表(10.5).
默认打印机:"Microsoft XPS Document Writer".
我要打印多页.
如果报告包含10页,则应按要求重复每一页.
该代码在vb.net中.
gReportDoc.PrintToPrinter(2,True,0,0)
上面的声明应该在浏览器中打印出两倍的副本,但是我得到每一页的副本.
另外,如果我完成预览的话,也可以直接打印,而不是直接打印.可以显示10份. 但是上面有一个打印工具,如果我在该对话框中输入:没有副本数= 2,则也无法在浏览器中获取多份副本.
有打印机设置问题吗?.
但是我的vb vode运行良好,即在浏览器中打印了多个页面.我在其中设置了CR.CopiesToPrinter = 2.

:omg:
I want to print crystal Report(10.5).
Default Printer:"Microsoft XPS Document Writer".
I want multiple pages to print.
If a report contain 10 pages then each page should be repeated as per requrement.
The code is in vb.net.
gReportDoc.PrintToPrinter(2, True, 0, 0)
The above statement should print double the copies in browser,but i get single copy of each page.
Also instead of direct printing,if i done preview.10 copies r get displayed.Its fine.
But there is printing tool above in crystal viwer.In that dialogbox if i give there: No of copies=2,then also unable to get multiple copies in browser.
is there any printer setting problem..?
But my vb vode is working fine,ie multple pages get printed in browser. In which I have set CR.CopiesToPrinter=2.

推荐答案

jgotlt写道:

如果报告包含10页,则应按要求重复每一页.

If a report contain 10 pages then each page should be repeated as per requrement.




您是要打印同一份报告的2个副本,还是要将每页2个副本放入1个打印文档中?




Are you trying to print 2 copies of the same report, or are you trying to put 2 copies of each page into the 1 printed document?


这篇关于无法在vb.net中打印多份晶体报告.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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