I have an Epson LX 300 dot matrix printer.
I'm using PHP to create an HTML receipt, and am using Javascript's window.print()
to ask the browser to print the web page. Unfortunately the printer can not handle the formatted text. Font sizes are incorrect, areas overlap, etc.
Printing normal text generated in Notepad and Wordpad does not cause any problems.
What can I do to fix this problem?