Solved TD-16098: SalReportPrint with number of copies > 1

Report bugs and possible workarounds.
helionsupport

TD-16098: SalReportPrint with number of copies > 1

Post by helionsupport » 26 Sep 2011, 17:16

We have found after upgrading from TD 4.2 to TD 6.0 SP3, that when calling SalReportPrint with nCopies > 1, that it is squaring the number of copies. So if 1 copy is specified, 1 page is printed. If 2 is specified, 4 pages are printed, if 3 is specified, 9 pages are printed.

This appears to be the same issue referenced in a 5.2 issue: https://support.guptatechnologies.com/su ... %2A#p13265

To reproduce this, just create a default .qrp file and print the report with nCopies = 2:

Code: Select all

Call SalReportPrint( hWndForm, "Receipt.qrp", "","", 2, RPT_PrintAll, 0, 0, nErr)

Jeff Luther

Re: TD-16098: SalReportPrint with number of copies > 1

Post by Jeff Luther » 26 Sep 2011, 22:05

Cannot duplicate your issue, but I see this on the fix list for EMP5368:
TD-16098: Report Builder is printing extra copies
There's a link in announcements for downloading this EMP. It will likely fix your problem.

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 0 guests