Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • 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
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.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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