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

TppArchiveReader: setting one printer without PrinterDialog

edited October 2009 in General
Hi friends

I want to set programatically any of printer in my windows printers list
without the ppArchiveReader Printer Dialog.

regards,

andre luiz mota



__________ Information from ESET Smart Security, version of virus signature database 4523 (20091019) __________

The message was checked by ESET Smart Security.

http://www.eset.com

Comments

  • edited October 2009
    Hi Nico.

    Are you sure the 'Printers' property exists in ArchiveReader.PrinterSetup ?

    here rbuilder 7.01 version.


  • edited October 2009
    Hi Andre,

    You can access all available printers in code using the
    ArchiveReader.PrinterSetup.Printers property. From there you can assign the
    PrinterName and be sure ShowPrintDialog is set to False.

    Be sure you adjust any PrinterSetup properties inside the
    OnInitializePrinterSetup event of the ArchiveReader.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2009
    Hi Andre,

    I'm very sorry (it must be early), the property is called PrinterNames. :)

    The TppPrinterSetup class is fully documented in the ReportBuilder help.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2009
    thank u nNco.

    I'll take a look.

    Andre L. Mota

This discussion has been closed.