FastReport3 直接列印? |
尚未結案
|
chrislao
初階會員 發表:86 回覆:69 積分:36 註冊:2002-12-28 發送簡訊給我 |
|
chinyu
高階會員 發表:12 回覆:157 積分:153 註冊:2002-06-14 發送簡訊給我 |
引言: 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 發送簡訊給我 |
引言: 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 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |