默认打印页面大小水晶报告xi [英] Default printing page size crystal reports xi

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

问题描述

您好。从ASP.NET页面生成Crystal Report XI时是否可以设置打印页面大小?



我在代码中使用c#。



我尝试了什么:



我的报告设置为Legal,但报告时是通过.aspx页面生成,它的打印机页面大小仍然在LETTER

解决方案

试试这个..



 crReportDocument.PrintOptions.PaperSize = PaperSize.PaperLegal; 

crReportDocument.PrintToPrinter( 1 false ,startPage,endPage);


Hi. Is it possible to set the printing page size when Crystal Report XI is generated from ASP.NET page?

I am using c# in code behind.

What I have tried:

My report is set to Legal but when the report is generated through .aspx page, it's printer page size is still in LETTER

解决方案

Try this..

crReportDocument.PrintOptions.PaperSize = PaperSize.PaperLegal;

crReportDocument.PrintToPrinter(1, false, startPage, endPage);


这篇关于默认打印页面大小水晶报告xi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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