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

Printing to a stream

edited November 2005 in General
Version 9.x added printing to a stream. The demo examples show how to
print a PDF to a stream. However, there dont seem to be any examples
of printing a regular (if there is such a thing) report to a stream.
Are there any examples of how I could print a report to a stream vs a
printer?

Thanks

Craig

Comments

  • edited November 2005
    Hi Craig,

    What information would you like stored in the stream? If you would like to
    save the report template (i.e. the report definiton) to stream, you can use
    the Report.Template.SaveToStream routine.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    I'd like to print the report content to the stream.

    In one of my apps I need to keep a copy of what was printed in a db.
    Currently when the user prints the report I also 'print' the report
    to a TIF file (using extradevices) and then read the file back in,
    compressing it etc and finally put it out onto the db.

    It occurred to me that if I could print the report to a stream I could
    skip the file portion.

    Is this doable?

    Craig

    On Tue, 8 Nov 2005 08:03:20 -0700, "Nico Cizik \(Digital Metaphors\)"
  • edited November 2005
    Hi Craig,

    Sorry, my real question was what file format would you like to print to
    stream? Natively ReportBuilder can print to PDF, Text, and Archive files.
    All of these formats have the ability to be sent to a file or a stream. If
    you would like your stream to hold the exported TIFF image generated by
    TExtraDevices, you will need to get in contact with Waler support
    (support@waler.com) and find out how this is done. I believe this is an
    option in TExtraDevices.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    Needs to be TIF -- I'll contact Waler.

    Thanks Craig

    On Tue, 8 Nov 2005 09:39:21 -0700, "Nico Cizik \(Digital Metaphors\)"
This discussion has been closed.