Screen

One can take screenshots of a console session with screen.

Run the program in screen and use ^A-h to make a "hardcopy".