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

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

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

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

重点就是这个PrintToPrinter函数

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

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

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

分享给朋友:

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

C# 获取文件的修改时间、访问时间、创建时间

C# 获取文件的各个时间如下:<ccid_nobr>属性功能和用途Attributes返回和文件相关的属性值,运用了FileAttributes枚举类型值CreationTime返回文件的创建时间Exists检查文件是否存在于给定的目录中Extension返回文件的扩展名LastAcce...

Altium Smart PDF中文不显示问题

Altium Smart PDF中文不显示问题

在用Altium SmartPDF的时候发现,没法打印出中文,凡是有中文的地方,直接就是空白了,英文能正常显示。如图所示: 实际内容 显示内容 两个图片对比后,可以清晰的看出:中文全部未显示出来,都是空白。 究其原因,很简单,就是汉字的字体没有选中文字体,选用的是英文字体。 该如何解决这个问题呢...

Android Studio: This version of the rendering library is more recent than your version of Android Studio

Android Studio: This version of the rendering library is more recent than your version of Android Studio

Android Studio预览xml布局时,提示: This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio 如图所示...

OKI单片机——ML610Q4XX Melody Driver

OKI单片机——ML610Q4XX Melody Driver

配置流程: (1) Select a buzzer mode by setting the BZMD bit of the melody 0 control register (MD0CON) to “1”. (MD0CON寄存器的BZMD位置一)。 (2) Select...

Warning: xx pins must meet Altera requirements for 3.3-, 3.0-, and 2.5-V interfaces. For more information, refer to AN 447: Interfacing Cyclone IV E Devices with 3.3/3.0/2.5-V LVTTL/LVCMOS I/O Systems

Warning: xx pins must meet Altera requirements for 3.3-, 3.0-, and 2.5-V interfaces. For more information, refer to AN 447: Interfacing Cyclone IV E Devices with 3.3/3.0/2.5-V LVTTL/LVCMOS I/O Systems

问题描述: Cyclone IV EP4CE6E22C8N Quartus II编译 每次编译完,都有个warning: Warning: xx pins must meet Altera requirements for 3.3-, 3.0-, and 2.5-V interfaces. For...

Windows Server 2012 发布RemoteApp程序

Windows Server 2012 发布RemoteApp程序

https://blog.51cto.com/vic366/924410 打开管理器管理器仪表板,选择本地服务器->远程桌面服务 选择集合->QuickSessionCollection->任务->发布RemoteApp程序 选择要发布程序的程序 如果程序不在列表中,可以...

发表评论

访客

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