Symptom
- Print Crystal Report.
- SeparatePages false.
- Print from browser File > Print... menu.
- Crystal Reports .NET web form viewer.
- Blank pages printed instead of report data.
Reproducing the Issue
- Set the CrystalReportViewer.SeparatePages to false. All pages merged into one long report.
- Preview the Crystal Report in the .NET web form viewer control.
- From the browser, Internet Explorer or Firefox, go to File > Print...
- Print the report.
- The pages will be blank except for the header and footer indicating the URL of the page.
Environment
- Windows OS
- Crystal Reports 2008 SP2
- Browser
- Internet Explorer 7
- Firefox 3
- Safari 3.2
Cause
- A JavaScript method is used to render the entire report in the browser.
- This new method of rendering the report prevents printing from the browser file menu.
Resolution
Don't print from the File > Print menu. Use one of the methods below to print the Crystal Report.
- Use the printer icon in the .NET web form viewer control to print using the ActiveX Print Control, or export the report to PDF for printing.
- Use the ReportDocument.PrintToPrinter() method.
- Check the Crystal Reports .NET SDK Developer Guide for more information on printing.
Keywords
CRYSTAL REPORTS 2008 PRINT PRINTER PREVIEW BLANK EMPTY DOTNET .NET CRNET 12 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem
Product
Crystal Reports 2008 V1