Skip to Content
0
Former Member
Oct 26, 2012 at 10:07 AM

Print Report Automatically

25 Views

Hi,

we have a div with a CrystalReportViewer and it's populate with a report object and all works fine. But we need to print this report automatically without user interaction and in a client printer.

We searched in yours posts about this topic but only found two solutions that not resolve our problem:

  • use the ReportClass function PrintToPrinter (only print in server printers)
  • use window.print() function (does not keep report formats)

To solve our problem we would like to know if it is possible to invoke the same function as the print button of CrystalReportViewer on client side using javascript.

If is not possible, how can we solve this?

Thanks in advance.