I set up a little machine running Ubuntu Server 12.04 with an Epson TM-T88V plugged into it directly. At first I was able to print fine (using lp) but the auto-cutter wasn\'
There are two methods of printing to most thermal printers:
The printer you mention, the TM88 is popular thermal printer used for printing receipts; it can do both; it's raw capable but with the right software can print from other applications. The raw language the TM88 uses is ESCP2
or more commonly ESC/POS
. All TM-series printers from Epson are ESC/POS
capable.
The trouble you are running into is you're trying to send raw commands to a driver that expects some 2D content. There are a few ways to achieve this.
0x1B 0x69
(cut paper)lpr -o raw
with a flat file from the file system.Bonus: Need to kick out a cash drawer? 0x10 0x14 0x01 0x00 0x05
(pulse/cash drawer). Warning, please cross reference all raw commands against your ESCP programming guide.