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

Big Problem with strange black images

edited February 2006 in Subreports
Hi!

I have a strange big problem with a TppImage
i have a report (with JIT-Pipeline) printing images at realtime.. like this:

BeforePrintOfDetailband:

var
lBild : TGraphic;
begin
inherited;
lBild := SpecGrafik.GetBild[sgZoomed];
if Assigned(lBild) then begin
ppImage.Picture.Assign(lBild);
lBild.Free;
ppImage.Visible := true;
end else begin
ppImage.Visible := false;
end;
end;

Very strange is that sometimes the picture is black on the printing...

i print a big list of 200pages .. and sometimes there are black images on a
coincidental page...
when i print the 200pages again.. maybe some other images are black and the
images which were
black before are now printed perfect...
I recognised this on a "Xerox Phaser 8200DP"-Printer..

Can you please help me ?

Thanks, Chris!

Comments

  • edited February 2006
    Hi Chris,

    The black image issue was addressed for ReportBuilder 7.04. You will need
    to upgrade to this version or later to receive this enhancement.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    Hi!

    Can I solve this Problem on another away (some few changes in your source)?
    Because our company is using ReportBuilder 5.5 in some big projects and
    sometimes we
    had to cheat to get the wanted results.. and so I have fear of the fact that
    a new version will behave differently.
    Please help!

    Thanks, chris

  • edited February 2006
    Hi Chris,

    Unfortunately this was not a simple code change. A couple things you might
    try:

    1. Be sure the Transparent property of the image is set to False.

    2. Try setting the DirectDraw property to True (if it is available in your
    verson of RB).

    --
    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.