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

Best practices for size & speed

edited February 2007 in General
I have a 2 page report as follows:

Size A5 duplex print.

side1 has 2 X ppDBRichedit 1 X ppDBImage
side2 has 2 X ppDBRichedit 1 X ppDBImage

I print out 10 reports. I have to move the layout of each component on side
2 (the client writes on the paper and carbons through) to accommodate this.

I have a button that runs ppReport_ticket that loads Ticket1 then prints
load ticket2 then prints etc.

The problem is the print files are 17 meg each and ties the computer up
until all 10 have been sent.
If I click the button again I get a general protection error.

The images stored in the database are approx 300K each.

Any info appreciated

Cheers

SteveW

Comments

  • edited February 2007
    Hi Steve,

    One option might be to try compressing the images you are loading from the
    DB. This would decrease the size of the report and perhaps speed up the
    process. Another would be to consider using Background Printing. This
    feature will allow you to regain control over your computer as your
    report(s) print in a background thread. Take a look at the
    TppProducer.BackgroundPrintSettings topic in the RBuilder help for more
    information about this feature.

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