全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1586
推到 Plurk!
推到 Facebook!

FastReport3 直接列印?

尚未結案
chrislao
初階會員


發表:86
回覆:69
積分:36
註冊:2002-12-28

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-12-10 14:08:01 IP:202.175.xxx.xxx 未訂閱
FastReport2.5是使用 frReport1.PrintPreparedReport('',1,true,frAll); 來直接列印 但FastReport3 就沒有了PrintPreparedReport的方法,請問怎樣才可以做到直接列印?
chinyu
高階會員


發表:12
回覆:157
積分:153
註冊:2002-06-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-12-10 15:21:52 IP:61.223.xxx.xxx 未訂閱
引言: FastReport2.5是使用 frReport1.PrintPreparedReport('',1,true,frAll); 來直接列印 但FastReport3 就沒有了PrintPreparedReport的方法,請問怎樣才可以做到直接列印?
FastReport手冊之一 ProgrammerManual-en.pdf 第十八頁 Printing a report In most cases, you will print a report from the preview window. To print a report manually, you should use the “TfrxReport.Print” method, for example: frxReport1.Print; At the same time, the dialogue, in which printing parameters can be set, will appear. You can assign settings by default, and disable a printing dialogue with the help of the “TfrxReport.PrintOptions” property.
lukyshu
中階會員


發表:16
回覆:120
積分:93
註冊:2002-04-19

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-12-11 22:01:15 IP:220.135.xxx.xxx 未訂閱
引言: FastReport2.5是使用 frReport1.PrintPreparedReport('',1,true,frAll); 來直接列印 但FastReport3 就沒有了PrintPreparedReport的方法,請問怎樣才可以做到直接列印?
frxReport1.PrepareReport; frxReport1.PrintOptions.ShowDialog := False; //不顯示對話框 frxReport1.PrintOptions.Printer := PrinterName; //指定印表機 frxReport1.Print; //列印 台灣 Delphi 俱樂部
PostgreSQL、FastReport專業討論區
http://www.delphi.club.tw


------
台灣 Delphi 俱樂部 

PostgreSQL、FastReport專業討論區

http://www.delphi.club.tw

系統時間:2024-07-01 15:31:04
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!