PrintPreparedReport

edited 10:31AM 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

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.