Search code examples
crystal-reports

Crystal Reports page footer not printing at the bottom of the page


Scenario - We are developing a report using crystal reports. The report has to be printed on pre-printed template. The report is designed as follows - (the colors used are just for helping identifying the problem when report is printed on paper). We are using Visual Studio version 2010 with Crystal Reports for Visual Studio 2010

CrystalReportDesign

Problem - When I am exporting the report to .pdf, or viewing it on screen the report looks perfectly alright, but when I print the report on paper, the page footer is not printing at the bottom of the page, it is printing about one and a half inches above the bottom of the page.

Fix attempts -

  1. In CR designer page setup, the size of the page is given same as that of the pre-printed template (12 inches height)
  2. Used page footer as it automatically prints at the bottom of the page
  3. Also tried using "GroupFooter" and set the option "Print at the bottom of the page" to true
  4. Page size set correctly in the printer preferences
  5. Anticipating problem with the printer, used another printer, but for no help.
  6. Extensive googling for the solution :)

Any help on fixing this up would be really invaluable. Thanks


Solution

  • It is the custom size paper that was causing the issue.

    To reduce the gap, just decrease the top margin and shift the fields of page header and report header accordingly.