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

Comments

  • edited 7:37AM
    Hello,

    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).
  • edited 7:37AM
    Hi,

    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
  • edited 7:37AM
    Yes, it is possible with the script. See the attached report example.

    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.
    1.frx 5.1K
  • edited 7:37AM
    Great,
    so fast and a working sample.

    Regards, Frank
  • edited 7:37AM
    Hello Alex,

    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
  • edited 7:37AM
    Hello,

    There should be no difference if you preview then print, or just print. I've checked the report, it works well for me.
  • edited 7:37AM
    Hi,

    i think it is the "DEMO" Version Text Background.

    I now buy FR .Net

    Thanks, Frank M

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.