http://www.perlmonks.org?node_id=564314


in reply to Printing text from scrolled window?

You can use the Printer module. You have to get the elements from the Text widget and pass them to the printer.