escpos-php
escpos-php copied to clipboard
Cheques printing
Hello ! Is it possible to print cheques with an epson printer that prints receipts and cheques?
Hi, I would also be interested in this. I own TM-H6000III. Thank you much!
Hi,
Found a simple way to add slip printing (in my case it works with TM-H6000III).
Just add this in the file vendor/mike42/escpos-php/src/Mike42/Escpos/Printer.php
/**
* Select Slip printing.
* Eject the paper with feedForm()
*/
public function selectSlip()
{
$this -> connector -> write(self::ESC . "c0" . chr(4));
}
/**
* Select roll printing.
*/
public function selectRoll()
{
$this -> connector -> write(self::ESC . "c0" . chr(1));
}