Home RAP

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

edited March 2012 in RAP

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?


Luis C.


  • 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
  • edited March 2012
    Hi, Nico...

    'Report.DeviceType' worked fine, thanks!

This discussion has been closed.