简体   繁体   中英

printing client side crystal report

I am doing a web application in .net with crystal report, is there a way to print crystal report on client side and do some server side treatement i'm using c#, asp.net (.net 2)?

thanks in advance

if you use the CrystalReportViewer control in your ASP.NET page then you can PrintToPrinter on that control... and print on client side...

Another option is create a PDF from the report and stream the PDF to client... the clients' PDF viewer will allow them to print...

IF neither of the above is an option in your case then you call some javascript function window.print() in your web page then the browser shows the printer dialog to the user...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM