Use cups to print to tty.
1. Install cups
yum install -y cups
2. Enable cups
systemctl enable cups
3. Start cups
systemctl start cups
4. Create printer
lpadmin -p terminal2 -v serial:/dev/pts/2 -m raw
5. Enable terminal2 and accept requests for terminal2
cupsenable terminal2
accept terminal2
6. Print /etc/hosts to terminal2
lp -d terminal2 /etc/hosts