Exception EPrinter
BJL
Brussels, Belgium
The report appears Ok with ShowPreparedReport.
But, when pressing the Print button on the preview window, I get a message
"Exception class EPrinter ?«Printing on?» Process stopped.
"Printing on" is my translation of the French message "Impression en cours". The English message may be a little different.
It looks like the method try to create the printer object when it exists already.
I never had this with other reports.
I have tried to set RebuildPrinter to true in the frReport propreties, with no success.
Any help would be welcomed.
BJL
But, when pressing the Print button on the preview window, I get a message
"Exception class EPrinter ?«Printing on?» Process stopped.
"Printing on" is my translation of the French message "Impression en cours". The English message may be a little different.
It looks like the method try to create the printer object when it exists already.
I never had this with other reports.
I have tried to set RebuildPrinter to true in the frReport propreties, with no success.
Any help would be welcomed.
BJL
Comments
frReport1->PrepareReport();
if (Printer()->Printing)
Printer()->Abort();
frReport1->ShowPreparedReport();
BJL