JSPM & Mike42/escpos-php


or...




https://github.com/neodynamic/JSPrintManager

Example based on How to print raw ESC POS commands from Javascript