当前位置:首页 > 技术心得 > 正文内容

水晶报表 跳过打印预览,直接打印

xjtudll7年前 (2019-02-22)技术心得8880

不要用 CrytalReportViewer1.ReportSource=myReport;
直接myReport.PrinttoPrinter(1,true/false,0,0);

重点就是这个PrintToPrinter函数

扫描二维码推送至手机访问。

版权声明:本文由鸟的天空发布,如需转载请注明出处。

本文链接:http://www.xjtudll.cn/Exp/537/

分享给朋友:

“水晶报表 跳过打印预览,直接打印” 的相关文章

图像不能包含 alpha 通道或透明度

将app上传到应用市场时,都会要求提供app图标,但是上传时,有时候就会碰到: “图像不能包含 alpha 通道或透明度” 如何解决这个问题呢? 将图片另存为 jpeg格式。如果要求png格式,那么再将jpeg转成png, 使用工具:windows自带的画图。...

SensorTag编译错误Error[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition.

SensorTag编译错误Error[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition.

问题: IAR 8051 8.302,编译TI的BLE-CC254x-1.4.0的SensorTag工程,对此工程没有进行任何改动,直接编译,出现如下错误: 分析: 参考TI技术论坛【http://www.deyisupport.com/question_answer/wireless_conne...

Proteus电源设置

Proteus电源设置

Proteus中,默认电源为VCC=5V,GND=0,当我们要使用其它电压值时该怎么办?例如3.3V,-5V,15V等等,没关系,有专门的菜单可以设置,跟我学:菜单: 新增加: 注意Name可以随意和Voltage值才是电压值 比如系统默认VEE=-5V ...

IOS获取应用程序的名称和版本号

应用程序的名称和版本号等信息都保存在mainBundle的一个字典中,用下面代码可以取出来。 NSDictionary* infoDict =[[NSBundle mainBundle] infoDictionary]; NSString* versionNum =[infoDict object...

eclipse导入外部工程

eclipse导入外部工程

File -> Import -> Android...

Xcode Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

Xcode Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

问题: 编译时,提示The Copy Bundle Resources build phase contains this target's Info.plist file 原因: Info.plist被添加到了Copy Bundle Resources里,原因不明。如图所示: 解决...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。