PrintToPrinter in web based application
If I call the P开发者_如何学GorintToPrinter method from a web-based application, will the printing be done on the server's printer or the client's printer?
it would print to server printer
you can't print directly to client printer in web application... you need to call some javascript function window.print()
in your web page then the browser shows the printer dialog to the user...
It will print to client side printer. PrintToPrinter is being called by the CrystalReportViewer control which is rendered in the client's web browser.
精彩评论