How can I print the Alert Summary table?

Hi !

I’m trying to made a button that print the Alert Summary.
I always print tables with the next script

table = event.source.parent.getComponent(‘Table’)
table.print()

But it doesn’t work with Alert Summary table.

table = event.source.parent.getComponent(‘Alert Summary’)
table.print()

I got the next error

[color=#FF0000]Traceback (innermost last):

File “event:actionPerformed”, line 2, in ?

TypeError: print(): expected 1 args; got 0[/color]

I tried also with the function system.print.createPrintJob

job = system.print.createPrintJob(event.source.parent.getComponent(‘Alert Summary’))
job.print()

but it printing very bad (screen capture).


I suppose that’s happening coz Alert Summary is like a group container and not a normal table.
But should be a possibility to print it like the another tables, no?

We don’t have a print function on the table right now. I will add a ticket into our system.

Thanks a lot!
PS: very fast answer!!

Any news on this? This appears to still not be working.

This functionality will be added in Ignition 7.7