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

Get printer name that was used

edited October 2005 in Devices
I must be missing something easy - I need to retrieve the printer that
was used to print a report, i.e. what printer did the user select in
the dialog. Is there a way to get this information from the report
component?

Thanks!
Nick Hustak

Comments

  • edited October 2005
    Hi Nick,

    If you typecast the PrintDialog.Printer property of the TppReport object as
    a TppPrinter, you can gain access to the selected printer name. Something
    like the following..

    uses
    ppPrintr;

    lsPrinterName := TppPrinter(ppReport.PrintDialog.Printer).PrinterName;

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    On Fri, 21 Oct 2005 08:01:28 -0600, "Nico Cizik \(Digital Metaphors\)"
This discussion has been closed.