I have a telephone system that is connected to my old Ubuntu machine and is receiving SMDR data from it.
dev/lp0 is a dot matrix printer, phone system connected to
Currently I am using the command
cat /dev/ttyS0 > /dev/lp0.
This works somewhat but the smdr print has a cr and lf commands for the printer already. Cat send to make the printer feed an extra line.
Is there a way to constantly
echo ttyS0 to
lp0 or something else I can do?