cancel
Showing results for 
Search instead for 
Did you mean: 

print range of pages from a viewer control does not work

Former Member
0 Kudos

first, to apologize for my English, is full google!

I explain my problem:

a viewer of cr2008 control in vb.net 2003 to print only select pages 2 through 10 of a 20-pages, the viewer control ignores and prints all pages.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Make sure you are on the latest Service Pack:

http://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe

then add Fix Pack 3.5 on top of that:

http://www.sdn.sap.com/downloads/BusinessObjects/cr2008fp35.exe

If that does not work;

are you printing using the viewer print button, or code?

is this a web or a win app?

if web, are you using PDF or ActiveX print mode?

is the issue on your development computer or after you deploy the app?

- Ludek

Former Member
0 Kudos

hello, cr2008 with sp3 was installed, I updated to fix 3.5 but still does not work.

I am printing from the print button viewer control in a Windows application, and selected a range of sheets to print from the driver dialog box viewer.

failure occurs in both the development machine and production.

thanks for your answer.

former_member183750
Active Contributor
0 Kudos

I'll have to set up a VS2003 image with CR 2008 to test this on. Meanwhile, I'd like you to try printing from code - as a test'

.PrintToPrinter off of the report engine. E.g.;

Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()

crReportDocument.Load("C:\Crystal\my_report.rpt";)

crReportDocument.PrintToPrinter()

The PrintToPrinter method lets you specify the page range. It will be itneresting to see what happens if you use that method.

- Ludek

former_member183750
Active Contributor
0 Kudos

I was able to duplicate the issue with CR 2008 SP3, .NET 2003. In .NET 2003, using the PrintToPrinter method works as expected.

I will be creating an escalation for a fix, however the PrintToPrinter method may be your work-around in the meantime. I will post the escalation tracking number once it has been released. Please note that a fix ETA is typically 6+ months.

The issue is not present with CR 2008 SP 3, .NET 2008

- Ludek

Former Member
0 Kudos

thanks for your response.

I tried to display the Windows print dialog and pass the selected configuration to the command PrintToPrinter and works well.

thanks again.

former_member183750
Active Contributor
0 Kudos

A Technical Escalation for this issue has been created; 5000335151 (ADAPT01539143)

- Ludek

Edited by: Ludek Uher on May 12, 2011 8:31 AM

Former Member
0 Kudos

I solved the problem as follows:

I created a custom control inheriting from crviewer, I have removed the print toolbar button and I added another (on the toolbar of crviewer) which when pressed displays the standard Print dialog in visual basic.

to select the printer and the range of pages from this dialog box, you pass parameters to the method PrintToPrinter and works perfectly.

thanks for your help.

Answers (0)