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

Subreport use different paper tray as report

edited July 2004 in General
Hello,

I have a report with two sub-reports,
When previewing the report, the users changes the printer,
Everything is printed ok except the second subreport in the report which
uses paper from a different tray,
What could be the problem?

Using 7.03

Eric

Comments

  • edited July 2004
    Hi Eric,

    If the second subreport is a Section style subreport, be sure you do not
    have the SubReport.NewPrintJob set to False. If this is not the case,
    please send a small example of this behavior to
    support@digital-metaphors.com and I will try it on my machine.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004
    Hello Nick,

    I don't understand (be sure you do not have the SubReport.NewPrintJob set to
    False).
    So you say, set NewPrintJob to true. When setting this property to true, the
    subreport behaves like a seprate print job, does it then take they
    printersettings of the main report?

    The user selects a different printer/tray bacause "ShowPrintDialog" is
    true. The first subreport (having all properties the same as the second one)
    is printed on paper coming from the selected printer/tray, only the second
    one not ). I can't test this by my self because i don't have a printer with
    multiplay papertrays (my customer does).

    Eric


  • edited July 2004
    Hi Eric,

    Sorry, I was fishing for clues on what was happening and I blew it :). If
    the second subreport (the one that is printing from the separate bin) is a
    section subreport with NewPrintJob set to True, it could be causing the
    problems. Other than that, ReportBuilder only creates one print job for
    each report so it would not be possible for a subreport to have different
    print settings than the main report. If the problem still persists, please
    send an example of this report to me at support@digital-metaphors.com and
    I'll try it on my multiple bin printer.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004
    Hallo Nico,

    I'm gonna try creating a simple example. The form on which the report
    resides is part of a framework.
    I will send you the code (and database ) as soon as possible.

    Eric

This discussion has been closed.