I'm writing a Java screen-scraping application for a 3270 mainframe and rather than scroll through page after page of 80x24 chars I'd like to output all pages to a printer and then capture and parse the printer output.
The 3270 client has a print option, so I just need to virtualise a printer device and then somehow capture the output. Has anyone achieved this in Linux before?