Solved

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

Posted on 2006-11-23
4
487 Views
Last Modified: 2008-02-01
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
Comment
Question by:RamyBouchra
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
DreamMaster earned 500 total points
ID: 18006512
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
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18261271
Thanks Computer101 :)

Regards,
Max.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question