Skip to content
Advertisement

How to cut paper after printing is done on Epson?

I have problem with cutting paper. I have Epson TM-T20 Receipt, and trying to cut paper after printing is done. I found somewhere that this is code for cutting byte[] bytes = { 27, 100, 3 }, but it’s not working.

Below is code I’m using for printing.

JavaScript

Advertisement

Answer

Problem with this was fact that just string was sent to printer, not information about printing status. So, class and method is completely changed.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement