Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB 6.03 Bottom Margin

edited March 2003 in General
Hello All:

We use Delphi 5/RB 6.03.

We create code based reports but they seem to have a problem. Each
report has a header band ( 1 inch ), a detail band ( .35 inches or so ) and
a footer band. The bottom item on each page shows in the previewer but gets
cutoff when sent to the printer ( HP 6122 Deskjet ). WHy would it show
correct in the previewer, but get cutoff by the printer ???

The only solution seem to be putting a large bottom margin ( 0.45 ). Is
this normal behavior ???

Thanks


Neil Huhta


Neil Huhta

Comments

  • edited March 2003
    If it shows in the preview and not the printer, then usually that means that
    there is something happening in the event handlers that is changing the
    layout from preview to printout. Try setting Report.CachePages to true as a
    test so that the pages aren't regenerated for the printer. Then check to
    make sure that the report is previewed to the screen with the same printer
    that it is going to be used to print the report on. This should show a
    missing footer in the preview in this configuration. It sounds as if the
    printer in the printer setup of the report is different than the one you
    select in the print dialog to print to. In this case, CachePages won't work,
    as the report needs to be regenerated to the new printer. CachePages can be
    thought of CachePagesIfSamePrinterForPreviewAndPrinter:)


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.