on 10-11-2017 6:19 AM
I'm currently running into an issue when trying to print a Crystal report using Report.PrintToPrinter. If the generated report contains a single page, then only a single copy of the report is printed, regardless of the value set in PrinterSettings.Copies. However, as soon as the generated report contains multiple pages, the correct number of copies is printed. I've confirmed this behavior on multiple pcs and printer combinations.
Below is the call to PrintToPrinter that I'm using. I've also checked at that point that the value of dlg.PrinterSettings.Copies is set correctly. (dlg.PrinterSettings.DefaultPagesettings.PrinterSettings.Copies also reflects the correct number of copies)
Report.PrintToPrinter(dlg.PrinterSettings, dlg.PrinterSettings.DefaultPageSettings, false)
Any ideas why this would be the case? Any suggestions on how to resolve this issue would be greatly appreciated.
PS: Using CR13 and a Win based application.
Thanks in advance,
Anthony
Update: Unfortunately, this problem is still persisting and I simply can't get a single page report to print multiple copies.
Can anyone confirm this behavior or does anyone have any suggestions?
Thanks in advance,
Anthony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.