asynchronous printing

When previewing or printing, I use

TfrxReport.PrepareReport;

TfrxReport.ShowPreparedReport;

or

TfrxReport.PrepareReport;

TfrxReport.Print;

.

In this case, when creating a large report, it may take a long time for PrepareReport to return.

(For example, when there are many pages or when image data is printed on each page)

When previewing, I can display the preview screen first by

TfrxReport.ShowReport;

and create the actual report asynchronously, but

I was wondering if it would be possible to do the same for printing.

That is, to print the report while creating it.

I think it's ok to have some restrictions, but is there any way to do this?

Thank you in advance.

Comments

  • Hello!

    The standard FastReport tools only work with a fully formed report. However, in principle, you can track the formation of the next page and print it yourself. At the same time, it should be borne in mind that some FastReport features will not be available.

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.