Click to See Complete Forum and Search --> : how can i print the report on the client side?


lisho
April 16th, 2003, 03:45 AM
hi:
i created a report with crystalreport. and i wanna print it on the client side.
at first i use the method of printToPrinter, the inner function of crystal report, to do it, but it's a server side method that can not be executed on the client side.what a bad result it is!!

how can i resolve the problem without using the IE Explorer print function?

thanks a lot!!

fakhir_iqbal
April 19th, 2003, 11:53 PM
you can do so by javascript.

Code is below:

window.print();

lisho
April 20th, 2003, 07:55 PM
i will try it soon!

anyway thank you very much!!:)