EndPage after Printing
Hello,
i use Termal Printers and after the Output is finished, the Printer stops first when the Report Paper Lenght is arrived. Also the Output is only 5cm long. I am not found the Option in FR to tell that the Output Stop after the Footer Band is Printed.
What can i do?
Regards, Frank
i use Termal Printers and after the Output is finished, the Printer stops first when the Report Paper Lenght is arrived. Also the Output is only 5cm long. I am not found the Option in FR to tell that the Output Stop after the Footer Band is Printed.
What can i do?
Regards, Frank
Comments
There is no such option. AFAIK, there is no support for termal printers in the .Net DocumentPrinter class (which is used in FR to print).
this is very bad. I like the Designer to use for this.
It is possible to abbort the Print when "ReportSummary1_AfterPrint", only when in Print?
Or to Caculate the Height, or Start.Position and then, Set the Page.Height?
Frank
How it works:
- you have to make your report two-pass (menu Report|Options..., "Double pass" checkbox);
- on the first pass, we calculate the last page's height. It is done with a ReportSummary1.AfterPrint script;
- on the final pass, we set the last page's height. We have to do this before the page is started to print - in the PageFooter1.AfterPrint.
so fast and a working sample.
Regards, Frank
a little Problem.
This Code work only when i Print from the Designer and Preview.
If i Print the Report without Preview, thats not work.
I try:
Report.Print()
and
Report.Prepare()
Report.Print()
both don??t stop after ReportSummary
Want can i do?
Regards, FRank
There should be no difference if you preview then print, or just print. I've checked the report, it works well for me.
i think it is the "DEMO" Version Text Background.
I now buy FR .Net
Thanks, Frank M