Printing Reports using a touchscreen

I have an application where I need to print reports from the reporting module, but do not have a mouse to invoke a right click to bring up the print report choices.
I created a button to do a screen dump through scripting , but that looks cheesey.
Is there anyway to print just the report using a touch screen ?

When you say screen dump, you mean you were using system.print.printToImage()? Try just calling print() on the component instance, and you can add that to a button:

event.source.parent.getComponent("Report Viewer").print()

For the print() function, you can also pass in a printer name or a boolean stating whether or not to show a dialog box.

inductiveautomation.com/support/ … viewer.htm

[quote=“James.Lorenz”]When you say screen dump, you mean you were using system.print.printToImage()? Try just calling print() on the component instance, and you can add that to a button:

event.source.parent.getComponent("Report Viewer").print()

For the print() function, you can also pass in a printer name or a boolean stating whether or not to show a dialog box.

inductiveautomation.com/support/ … viewer.htm[/quote]

Yes,
thanks, that is what I was looking for. That whole section is not in the PDF manual or the manual that is imbedded with Ignition.
There is an inconsistency as to which manuals are being displayed.