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

How to know if Report is being printed, previewed or printed to devices

edited March 2012 in RAP
Hi!

I'm begining with RAP.

I'm trying to know if the report is being printed to the Printer, to Screen
or to a ppViewer.

Is it possible?

Thanks!

Luis C.

Comments

  • edited March 2012
    Hi Luis,

    You can check the DeviceType property of the report to determine which
    device is being printed to.

    If you are printing from the print dialog (screen is not possible), you
    can use the OnPrintDialogClose to access the
    Report.PrintDialog.DeviceType property to determine which device your
    user selected.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2012
    Hi, Nico...

    'Report.DeviceType' worked fine, thanks!



This discussion has been closed.