Printing a Header 7.9

Hi guys,

I want to print a table in landscape form, but it never shows the header, I am using this code:

event.source.parent.getComponent(‘table’).print(fitWidth, headerFormat, footerFormat, showDialog, landscape)

It only works when I printed portrait, but it is very small. I am using the Client Launcher for windows.

Do you know if there is any solution?
Thank you