RSS

Tag Archives: How to print crystal report directly using C# Asp.net

Access crystal report’s print button programmatically


You can print crystal report directly without open it / use crystal report print button

you can print report from Button click Event. Call this Method on Click Event.Below line opens up print dialog box to print without showing print preview

CrystalReport.PrintToPrinter()

Below line directly sends reportdocument to default printer.

CrystalReport.PrintToPrinter(1,true,0,0);

also you can set paper size Dynamically

CrystalReport.PrintOptions.PaperSize = PaperSize.PaperA4

 

 
Leave a comment

Posted by on November 20, 2013 in Crystal Report

 

Tags: ,