I am using Debian which is similar to Ubuntu.
They have 7 dot matrix printers, some of which are very old (example), which have worked since 1979 and are faster than many inkjets at printing text.
I believe that it has his own language, since sending text to serial port (port server) prints garbage. However I think is prints only capital English up to 95 ASCII and Greek and the rest up to 127 I think Greek capital. (special chip)
I think that sending English capital letters prints garbage, but I am not sure and will try again.
The other printers are ESC/P compatible and I use a generic Epson driver provided by ghostscript. However, I think that sending text via
lp -dpr1 filename
prints the text as a graphic and changing the printer's font face (courier, times roman, etc) or pitch has no effect.
I am wondering if there is any workaround for this? In AIX they claim that the
lp command printed output as text as it prints and Cobol programs send raw text to lp printers. However, in AIX they use some custom filters for the printers and have more options for dot matrix printers.
I would like to know if there is a way to avoid graphics mode for text and change the font face.
The most straightforward approach would be to use no driver, just send ESC/P from Cobol but this requires too much work.