Blank pages in report ?

Hello,

I've set up a report to print the contents of a database table. As far as I can see the entire table is being printed in the report preview. The data takes up 40 pages, however it is then followed by another 131 extra blank pages.

The report has a title band and a Master Data band, with the Master Data band linked to the datasource via the frDBDataSet control.

I'm using FastReport 2.53, Delphi 5 Pro on Windows XP, with NexusDB as the database table.

I've also tried using other tables and get the same behaviour i.e. the data is output to preview followed by numerous extra blank pages.

Can anyone give me an idea where I'm going wrong with this please.

Any assistance gratefully appreciated.

Graham A Welsh
Targeted Software Solutions Ltd

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:18PM
    Hi Graham
    Some printers produce over spill as seperate pages at the end, over spill being an object that is trying to extend into the non printable area of the printers page.
    what seems to cure this is to open the fr_printer.pas file and uncomment the conditional define prnreset recompile library and app.
    ;)
  • edited 6:18PM
    Hi Gord,

    Thanks for the reply.

    So this applies even in preview mode, as I haven't tried printing this report yet (don't want to decimate any forests ;) ) ?

    I'll try out your suggestion and see what happens.

    Graham A Welsh
    Targeted Software Solutions Ltd
  • gordkgordk St.Catherines On. Canada.
    edited 6:18PM
    if the blank pages are showing in the preview something is amiss
    the preview is just a view of the emf pages produced by the engine before being sent to the printer.

    ;)
  • edited 6:18PM
    That's what I thought would be the case.

    Any ideas on where to look for the problem.

    Thanks again.


    Graham A Welsh
    Targeted Software Solutions Ltd
  • gordkgordk St.Catherines On. Canada.
    edited 6:18PM
    Hi Graham make a zip of your .frf and the preview .frp and email
    i'll take a look
    ;)
  • edited 6:18PM
    Gord,

    Zipped files emailed as requested.

    I have now managed to get a properly functioning report having eventually installed my shiny new FastReport 3 and using that instead of FR 2.53. I don't think I did anything different, it just worked properly, without any extra blank pages.

    It will still be interesting to see what I'm doing wrong as I have other apps using FR 2.53 that I have not yet converted.

    Thanks again for the help.

    Graham A Welsh
    Targeted Software Solutions Ltd
  • gordkgordk St.Catherines On. Canada.
    edited 6:18PM
    Fur any one experiencing this behaviour
    check your report design for hidden duplicate data bands.
    probable cause adding a datafield to a band and leaving the create band option turned on.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.