• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2663
  • Last Modified:

print button in crystal report viewer

Is there a way to print in crystal report viewer without relying on the browser print button?
we are using crystal report  8.5 and C#, asp.net
I want to print the report but there is no print button in the crystal viewer.
0
rsb2003
Asked:
rsb2003
  • 8
  • 5
1 Solution
 
mlmccCommented:
Was the report built without a printer?

Is the printer icon disabled in the C# code?

In VB you can add a line of code to show the print button
rptCRViewer.EnablePrintButton = True

rptCRViewer is the VB name for the CRViewer control.

mlmcc
0
 
mlmccCommented:
0
 
mlmccCommented:
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
rsb2003Author Commented:
The print button is totally unavailable when I'm viewing the report in my browser and there is no CRViewer property that will enable the print button.
Recently I obtained a trial copy of Crystal version 9 and the print button was there in my Crystal viewer but this copy is good only for 30 days. Do you have any other solution so that we don't have to buy another version just for this problem? Thanks in advance.

P.S. We use .NET C# language
0
 
mlmccCommented:
Which edition of CR do you have?

mlmcc
0
 
rsb2003Author Commented:
We are using Developer Edition of Crystal report 8.5
Also I want to clear that we used the CrystalReportViewer Web Server Control not the Windows ActiveX control.
0
 
rsb2003Author Commented:
I tried the SimplePreviewReport sample program but it doesnt show the print button either. Do you think this feature is not realy available in version 8.5? only in version 9.0?
0
 
rsb2003Author Commented:
I tried the SimplePreviewReport sample program but it doesnt show the print button either. Do you think this feature is not realy available in version 8.5? only in version 9.0?
0
 
mlmccCommented:
No the print button is available in CR7 and CR8.

I have not used the Web Server Control so I can't comment on whether there is a print button.

Let me continue looking.

mlmcc
0
 
mlmccCommented:
0
 
rsb2003Author Commented:
I guesed we have no choice but to export the report.
I realy appreciate your time.. thanks a lot
0
 
mlmccCommented:
Glad I could help.

mlmcc
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now