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

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
0
RamyBouchra
Asked:
RamyBouchra
  • 2
1 Solution
 
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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