To generate output stream from tppArchiveDevice is very slow when EndJob write to the output stream

edited April 2011 in Devices
Hello

I need to genereate a report to stream with ArchiveDevice but is very slow
in the time when EndJob copy the internal stream to the outputstream, we
need a way to improve the generation, is this possible?

thank you in advance

Miguel Gavidia

Comments

  • edited April 2011

    Are you generating a .raf file? How big is the output file that you are
    creating? Can you provide more details, we have not had reports of slow
    performance from other developers.

    When posting please always specify environment: Windows version, Delphi
    version, RB version, datbase engine, data access components, printer, etc.



    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2011
    Hello Nard,

    yes i'm generating a .raf file, the size of the file is 108 Megabytes,
    excusme for not be specific with the details, I'm using D7 RB 11.08, the
    report is generated in a XP Machine with 4 GB Ram, i'm using Advantage
    database server, but the problems is when the endjob copy the internal
    filestream to the output stream

    thank you in advance


    Miguel Gavidia


  • edited April 2011
    Hello Nard

    do you have some advice to me? thank you in advance

    Miguel

  • edited April 2011
    You might consider generating the archive in a background thread. See the
    RBuilder Help topic for TppProducer BackgroundPrintSettings.

    You could also test the performance using the latest version of Delphi.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.