Error: Printing in progress

I get the error: Printing in progress, after calling PrintPreparedReport. (The report is prepared).

The error will not occur every time, but very often.

Could anybody tell me why this error occurs and how I can solve it.

Comments

  • edited 10:23PM
    The problem is solved. The problem was not fast report but it was my own fault.

    On the form I use a timer that every X seconds the state of printer retrieves and set on the form.

    So because fast-report uses during printing Application.Processmessages, the timer will be handled during printing and then proparly delphi wants to open 2 times the same printer and will give this error.

    So before the print command to fast-report, I disbale the timer and when the printing is ready, I restart the timer.

    So problem is solved ;)

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.