cancel
Showing results for 
Search instead for 
Did you mean: 

How I can directly print a CR 2008 report without showing/using CR viewer

Former Member
0 Kudos

How I can directly print a CR 2008 report without showing or using the CrystalReportViewer control in my ASP.net page?

Please I need to print an invoice report but I don't want my application to show up the CrystalReportViewer control before printing the invoice.

Please is it passable? How I can accomplish this? Can I have some examples (Source Code)?

I'm using CR 2008 (12), VS 2008 and VB.NET 2008. The Crystal reports are not embedded in my application and I'm binding a dataset to my reports using ReportDocument Object.

Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

you can print the reports with out viewing it by using


crReportDocument.PrintToPrinter(1, true, 1, 1);

Sincerely,

Amit