Print Crystal Report immediately from Crystal report viewer and not from pdf

Hi Experts,

I have a crystal report and I want to print it from Crystal report viewer immediately and not from pdf.
How Can I do that?

Thank You
RamyBouchraAsked:
Who is Participating?
 
DreamMasterCommented:
Hi RamyBouchra,

To set the Print button to print a report directly to a printer, set the 'Print Mode' property to "Active X" in the Crystal Report Viewer control.

You can enable the ActiveX Print option using two methods:

Method One
-------------
1. Right-click the Crystal Report Viewer control and select 'Properties'.
2. Set the 'Print Mode' property to "Active X".

Method Two
-------------
Add the following line of code to the Crystal Report Viewer control:
CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX

Regards,
Max.
0
 
DreamMasterCommented:
Thanks Computer101 :)

Regards,
Max.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.