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

Printing Not Working From Preview Window

edited June 2007 in General
I'm using Delphi5 with RB 5.5. I have a report that has no datapipeline
assigned to it. The report consists of multiple sub-reports each connected
to their own data pipeline. When my application runs, after the queries
receive their parameters based on the user selections, I display an option
dialog that allows the user to choose to display the report on the screen,
send it to the printer, create a PDF, or email a PDF of the report. When I
display the report on the screen, everything works great. But when I click
on the printer icon from the Preview Form, the Print Dialog appears with my
default printer highlighted. When I click OK, I see the message "Printing
page 0 of ....'. and the printed report is blank except for a couple of Line
objects that are in the Summary band. If I choose to send the report to the
printer from my Option Dialog mentioned earlier, the report prints out fine.
I've tried doing a ppReport1.Reset in the OnPrintDialogClose event, but with
no success.
Any ideas?

Comments

  • edited June 2007
    Hi Gary,

    This is currently not a known issue. Does this behavior happen with every
    report (including the demos included with ReportBuilder)? Usually when the
    printed output differs from the on-screen output there is some event code
    somewhere causing the problem. As a test, try commenting out all your event
    code and re-run your application. If this solves the problem, periodically
    begin adding the code back to try to isolate the issue.

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