PrintPreparedReport

edited 11:42AM in FreeReport
I have an odd situation when I try to print a report without first running a preview.

I first prepare the report and then call PrintPreparedReport('', 1);
('' = all pages?, 1 = copies)

This gives me 2 copies of the report, calling the function with the arguments PrintPreparedReport('', 2) gives me 4 copies of the report and PrintPreparedReport('', 3) gives me 9 copies !!!

What am I doing wrong? If I first run showreport and then prints from the preview everything is OK.

D7, Free-Report 2.33.

Thanks in advance for any hints..

Bjorn.

Leave a Comment