Changing printers when printing archive
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com