SAP Knowledge Base Article - Public

1214466 - How to print a report from a .NET Web application

Symptom

A .NET web application uses the bundled editions of Crystal Reports for Visual Studio .NET as the reporting development tool.

How do you print an entire report from a .NET Web application?

Getting error message "The RPC server is unavailable" when printing from a web application.

Resolution

You can print an entire report from a .NET Web application to a printer by using the following three methods:

1. Export the report to a format that can be printed by a client's existing application.

2. Print the report on the server side using the "PrintToPrinter" method.

3. Print the report on the client side using the Internet Explorer browser.

For detailed information on printing reports from a .NET web application, please review Printing Web based reports with Crystal Reports for Visual Studio .NET.

See Also

NOTE: Printing client side (method 3 above) using the web browser (File > Print) will not work with Crystal Reports 2008. This is because of enhancements made to the Crystal Report Viewer for Crystal Reports 2008.

Keywords

.NET DOTNET PRINTING SERVER CLIENTSIDE CLIENT FORMS VIEWER WEB WEBFORMSVIEWER Crystal Reports for Visual Studio Web application Printing , c2010776 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio ; SAP Crystal Reports, version for Visual Studio .NET 2008