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

Changing printers when printing archive

edited December 2004 in General
Hi,
This is the scenario: I have a process that print the report to an
archive
file and I have a second process that reads them and send them to the
printer.

I notice that the archive always print to the printer it was selected
when
it was generated by the first process.
How can I change the printer when I print to an archive?

I'm using Delphi 7.0, RB 7.04.

Thanks in advance

Albert

Comments

  • edited December 2004
    Hi Albert,

    You need to use the TppArchiveReader.OnInitializePrinterSetup event to
    assign any printer properties before you print an archive file. Changes to
    the ArchiveReader.PrinterSetup property are only reflected in the print job
    when they are made from this event.

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