anastaciocintra / escpos-coffee

Java library for ESC/POS printer
https://anastaciocintra.github.io/escpos-coffee
MIT License
280 stars 74 forks source link

Paper status #71

Open zixzix opened 3 years ago

zixzix commented 3 years ago

Hello and thanks for your work. I wanted to know if there is a way to read the status of the paper.

I have an Epson TM-20II

Thank you

anastaciocintra commented 3 years ago

hi @zixzix. take a look at https://github.com/anastaciocintra/escpos-coffee-samples/tree/master/miscellaneous/UsbStatus I hope that it works.

anastaciocintra commented 3 years ago

and another sample with com: https://github.com/anastaciocintra/escpos-coffee-samples/tree/master/miscellaneous/SerialStatus