fastreport直接打印问题

wyd531 2009-09-01 09:16:10
我想在不通过预览而直接打印,网上都说是以下代码实现的.为什么我在程序中提示PrintPreparedReport没有定义呢,我用的是4.7.1版本的.

frxReport1.LoadFromFile('ReportName'); //报表设计保存在执行文件目录中
frxReport1.PrepareReport;
frxReport1.PrintPreparedReport('', 1, True, frAll);

ERROR:undeclared identifier:printpreparedreport
...全文
89 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wxsan 2009-09-03
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 bdmh 的回复:]
Delphi(Pascal) code
frxReport1.PrintOptions.ShowDialog := False;
frxReport1.Print;
[/Quote]

直接打印,不显示预览窗口!
bdmh 2009-09-02
  • 打赏
  • 举报
回复

frxReport1.PrintOptions.ShowDialog := False;
frxReport1.Print;
wsxcdx 2009-09-01
  • 打赏
  • 举报
回复
frxreport1.Print
飞天揽月 2009-09-01
  • 打赏
  • 举报
回复
如楼上所示 直接打印
de410 2009-09-01
  • 打赏
  • 举报
回复
frxreport1.PrepareReport(true);
frxreport1.Print;

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧