Search code examples
asp.netvisual-studio-2008deploymentcrystal-reports

Crystal Report print functionlity doesn't work after deployment?


I'm using crystal reports to build reports, everything is ok while development.
But after deployment of website, print functionality doesn't work.

I use _rptDocument.PrintToPrinter(1, false, 0, 0); to print report.

I've tried two methods to deploy website

  1. Normal Publish option.
  2. Web Deployment Project.

But I got the same output, print functionality doesn't work.
Also, I tried to set default printer, this also doesn't work.

Any ideas?


Solution

  • Printing on a web server isn`t a good idea. What should happen? A user prints on your servers printer? Use CR to create PDFs. Stream them to your clients. They can use their local printers.