Java Reporting Component - Print Report
"This Java Server Pages (JSP) sample application is for use only with the Crystal Reports (CR) Java Reporting Component (JRC). This sample demonstrates how to print a report directly to a printer (server-side printing). NOTE: If the report is based on a secured database the database login credentials will need to be set before calling the export method below. Also, if the report has parameters, then values will need to be set for the report before export method can be called or an error will be thrown. See the ViewReportParameters or ViewReportLogon samples for samples on how to set parameters and login credentials through the JRC SDK."