Printing report with a button

The simplest way is to check the Ignition User Manual: inductiveautomation.com/support … viewer.htm

You could also run code like this from a button, but this finds all the methods and properties:

report = event.source.parent.getComponent("Report Viewer")
print dir(report)

The result will be printed to the Output Console.