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.
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
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