I have to use the oki microline 320 turbo dot matrix printer for many customers. It installs perfectly via the USB cable and selects the foomatic/okiibm driver and foomatic-rip filter.
When printing from any program or web-browser it prints fine, but when I send a text file to it via command line:
lpr -P ML320-1TURBO test_print.txt
the font is barely legible.
The default print quality is 120x72 dpi and the font get a little better, but still unacceptable, when setting it to 120x144. However, any setting above that causes the printer to crash and a power-cycle is necessary.
Unfortunately, the project requirements require my software to print reports automatically, without user intervention, and
lpr is the only way I know how to do that.
How can I get the command line printing to print in the same font as other programs with a print button? Or is there a way to use the print window instead of the command line, without user intervention?
I'm using Ubuntu 12.04 LTS.