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

Logo not printed

edited June 2004 in General
Hi,

I want to add logo to my reports. I load graphics file in Title Band's
BeforePrint event handler (is it standard approach or not?). In preview
everything looks fine but if send the report to printer the logo is not
printed. What might be the problem?

Comments

  • edited June 2004
    Hi Pavel,

    As a test, place a break point inside the TitleBand.Before print event to be
    sure it is getting fired when you preview to the screen and when you print
    to the printer. If not, you may need to load the image into the report
    before calling Report.Print or in the Report.BeforePrint event. If it is
    and the image still does not print, try commenting out all your event
    handler code, except for the image loading code and see if it works then.
    If it does, periodically begin adding the code back to isolate the problem.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/

    Best Regards,

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