I would like to add header and footer information to a print job. Current Code is as follows:
#Print out an image of the current screen
job = system.print.createPrintJob(event.source.parent)
job.setMargins(0.5)
job.zoomFactor = 0.75
job.showPageFormat = 0
job.orientation = system.print.LANDSCAPE
job.print()
How do I (or can I ) access the header and footer for the printed page? I would like to add a date and time at a minimum. If I can’t create a header and footer, a compromise would be to put a clock on the screen which would print with the screen shot.