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

Print jobs in a single report

edited May 2007 in General
Is it possible to generate more than 1 print job from a single report?

My "problem" is that a very big report (more than 2000 pages) has to be
printed. The printer won't start printing before it has 100% of the
print job in his memory (this is a big Canon digital photocopier).
When I am using Windows spooler with other printer, I can set it to
start printing as soon as it gets the first page, but with that
printer, it is impossible.

Since the report is quite long to generate, once the user has clicked
the print button, it has to wait for the report to finish before the
printer starts printing.

I'd like to be able to send a separate print job every 20 or 50 pages.
Is it possible?

Using RB 10.05

Comments

  • edited May 2007
    Hi Frederic,

    I would suggest taking a look at the background printing feature. This will
    allow you to print in a different thread while still having access to your
    application. See the TppReport.BackgroundPrintSettings property and topic
    in the RBuilder help.

    --
    Regards,

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

    Best Regards,

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


    My problem is not that the user can't have access to the application.
    It is more that we have to wait until the whole report has been
    generated and sent to the printer to start printing.

    Background printing wouldn't change this behavior and wouldn't start
    the printing process faster on that printer.

    My goal is to finish printing as fast as possible, so the faster it
    starts, the faster it will finish.
  • edited May 2007
    Hi Frederic,

    Thanks for the clarification. There is no built-in way to split a single
    report into multiple print jobs however it should be fairly easy to
    implement this yourself by altering the SQL for a number of print jobs in
    sequential order. This would involve creating a loop that changes the
    search condition of the query you are using and printing the smaller reports
    in order.

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