I would like to figure out how to make a print screen button work for a alarm history page. I saw the post about exporting it to CSV. but I would like just to have the displayed screen.
Thanks in advance.
we don’t currently have a way to do that right now. it might be available in the next release.
Here is a simple “print screen”
obj = system.gui.getParentWindow(event).parent
job = system.print.createPrintJob(obj)
job.showPageFormat = 0
job.fitToPage = 1
job.orientation = system.print.LANDSCAPE
job.showPrintDialog = 0
Add this to the ‘actionPerformed’ scripting on the component and it will print a screenshot to the default printer.