I have a php website which generate invoice in the form of html tables, I need to print these html tables to dot-matrix printer. I have tried to print webpage directly with browser print option, but it seems the printer treat it as image because it prints characters dot-by-dot instead of complete characters in a single pass like it would an ascii text file, which result in blurred characters.
Is there any way to make the printer treat it as text file? Or is there any way to convert html page to text file without losing the position styling(spacing, margins, etc)? Or maybe there's an alternative approach I could use? One thing to note is I can't use text-based browser to do this as it will be used by clients.
The invoice is a html table with small logo at the top-left, title, and description as thead, and simple table cell with borders as tbody.
I use Epson LX300+II printer.