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

may I have two output device?

edited February 2004 in General
Hi
I want to print my document to the 'printer' and at the same time,
I want to save the document to archive file.
How can I make the mission?
Thanks

Comments

  • edited February 2004

    Run demo 122 (dm0122.pas) in RBuilder\Demos\Reports\Demo.dpr. This show an
    example printing to multiple printers. You would use the same technique to
    print to a file and printer at the same time.

    You basically create each device in code, assign the Device.Publisher to the
    Report.Publisher and then call the Report.PrintToDevices method.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

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