Does anyone have a way to determine what the active screen currently is and then print it?
There are a few ways to determine which screen is active. To better help you, can you explain more exactly what you are trying to do? Do you want to have a button in a navigation bar that just prints the current main window, or something else?
You can also use system.print.createPrintJob to send it to a printer or print to PDF.