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

Repeating lines

edited January 2005 in General
When I preview a report it looks good. Then when I print it, it does
not print the same way it was previewed. On the print out the first
three lines of the second page, will print at the bottom just above the
footer of the prior page. The preview looks exactly how it should the
print out, is printing extra.

example

Preview Bottom of page 1.

This is a note
Note Detail 1
Note Detail 2
Note Detail 3


Footer

Preview Top of page 2

Note Detail 4
Note Detail 5
Note Detail 6


But when you print it it doesnt do that it does this.

Printout Bottom of page 1.

This is a note
Note Detail 1
Note Detail 2
Note Detail 3
Note Detail 4
Note Detail 5
Note Detail 6
Footer

Preview Top of page 2

Note Detail 4
Note Detail 5
Note Detail 6


How can i fix this?

Thanks.



Comments

  • edited January 2005
    Chris M wrote:
    I changed my reports printer to Default from screen and it seems to have
    fixed the issue. however the only reason i have it set to screen is
    that that fixes some windows 98 issue where it starts generating errors.
    Does this still happen in Windows 98? or is there another way to
    eliminate those errors?
  • edited January 2005
    Hi Chris,

    1. Try setting the Report.CachePages property to True and see if that
    helps.

    2. Most times when the printed output is not the same as the preview
    output, there is some event code somewhere that is being fired during report
    generation that is changing it. As a test, try commenting out all your
    event code and see if that helps the issue. If so, periodically begin
    adding the event code back to isolate the problem.

    The Screen option for a printer was included to remove some cases of the
    "Canvas does not allow drawing" error when no printer was installed on a
    machine. What type of errors were you receiving in Win 98?
    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    Nico Cizik (Digital Metaphors) wrote:

    I'll have to check to see what the windows 98 issues were. Using the
    screen printer was a solution i found in these newsgroups and it seemed
    to be a commonly known issue.

    I have node that changes anyother other than visibility things in bands
    when they print. and i'm fairly certain this is not the cause. When I
    changed this to use default printer, it worked perfectly.

    It would seem that it 8.5 x 11 on screen does not equal 8.5x11 on the
    printer or margins or something is different. It then prints what it
    can fit on the paper which is more than the screen, then it seems to ask
    where to start the next page at, when it does that it starts where the
    screen says it should start, even though the paper was already able to
    print that on the prior page.
  • edited January 2005
    Hi Chris,

    ReportBuilder uses the printer driver when outputing to screen and printer.
    Occationally there can be a small difference between the output of the
    screen and the printer due to the difference between screen pixels and
    printer pixels, but nothing drastic like you describe. Did you try the
    CachePages property? The fact that the printed output is different than the
    screen output means that something is changing in between the generation of
    the report to screen and the generation of the report to printer.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.