SAP Knowledge Base Article - Public

1486027 - A blank page is printed when calling PrintToPrinter while the "Suppress Printing if No Records" option is turned on.


  • Suppress Printing If No Records option is turned on.
  • PrintToPrinter() method is called in a Crystal Reports .NET application.
  • A blank page is printed by the printer.
  • This behavior is incorrect. No page should be printed as set in the Report Options.


  • Microsoft Visual Studio
  • Crystal Reports .NET SDK
  • Crystal Reports 2008

Reproducing the Issue

  1. Open a Crystal Report in the Crystal Reports designer.
  2. Go to File > Report Options ...
  3. Make sure Suppress Printing If No Records is selected.
  4. Click OK.
  5. Use this report in a custom application with the Crystal Reports .NET SDK.
  6. Run the report in the application such that there are no records returned.
  7. Use the PrintToPrinter() method to print the report.
  8. A blank report will be printed.



The issue has been identified and logged under Problem Report ID ADAPT00264642.



KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Bug Filed


Crystal Reports 2008 V1 ; SAP Crystal Reports 10.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2