[QUOTE=madikonda;30549]You have additional options to print to a Epson Thermal POS printer, just like the one you show above.
My approach is to use browser print an Invoice created with the margins suitable to the width of the printer. This approach relies on a suitable windows driver being installed on the pc.
My preferred approach is to use raw printing. Print direct to the POS printer, by coding your receipt printing page to send escpos commands. This is similar to teh Zebra approach on teh previous page.
I prefer to use this library from https://github.com/mike42/escpos-php as this gives me more control from my application.
Hope it helps others as well.
We discarted QZPrinter, for example, because this can’t work from a tablet, and we are going for the same approach, using RAW printing with fopen. Did you tried under Windows OS? We are having problems accesing USB printers, because on Windows there aren’t something like “/dev/lp0” and we are accessing the printer, sharing it and with //localhost/USBPrinterName
In local this works but we get permission denied over a shared printer in other machine like //anotherComputer/USBPrinterName
Note: For clarification, we are doing something like a spool service. A point where all petitions goes and from there printing is distributed.