cancel
Showing results for 
Search instead for 
Did you mean: 

Print custom page range from Crystal Report Viewer

HML
Explorer
0 Kudos

We use Crystal Report Viewer 13 SP34 (32-Bit) in a .NET application.
When printing from preview the custom page range does not behave as expected:

HML_0-1712139296771.png

 

Selected Page RangeResult
any single page value (e.g. 3)page currently shown in preview window
single page range (e.g. 3-3) page currently shown in preview window
comma-separated selection (e.g. 1,2)error message "something went wrong"
combined selection (e.g. 1-2,3)error message "something went wrong"
page range selection (e.g. 1-2)prints range as expected

Can anyone confirm this problem and is there a solution?

View Entire Topic
DonWilliams
Active Contributor

There were changes done in SP 35, see if that resolves the issue:

https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html

If it still doesn't work need more details:

Are you printing from the Viewer in your app?

Are you printing from the Embedded Report Designer in VS?

Does my printer test app work? Use a report with saved data:

Printing Crystal Reports in .NET

 

HML
Explorer
0 Kudos

Hello Don, this was the crucial hint! Using your app I have the same problem with "PrintToPrinter", but with "PrintOutputController" it works fine. I didn't know about the CrystalReportViewer.PrintMode until now! Thank you very much for your support!