Install vtprint by entering the following commands in the terminal:
sudo apt update sudo apt install vtprint
Description:
Prints to term emulator via ANSI codes
This program allows users to print from a remote UNIX host to a printer attached to their local terminal or emulator, which makes it great for printing files at home, etc. (It only does text files, though.)
Homepage: http://vtprint.sourceforge.net/
Version: 2.0.2-13build1
Section: universe/text