Read complete story

Integrating EPSON POS (Model TM-*** ) Printer with your android application

In this blog we will learn how to integrate EPSON POS Printer (Model starting with TM )with your android application.

Integrating this is not at all difficult, if you follow the steps correctly.

First, download the Epson sdk for android. (You can download the sdk from here).
Now from this package, extract the ePOS2.jar file and paste it in your libs folder.

Add this line in your build.gradle file.

Now all you have to do is make an object of the Printer and set the content that you want to print.
Lets have a look on how to do that.

createMyData()

printMyData()

Please note that in printMyData(), you need to replace the first input with the target i.e you need to set the path of the connection or more specifically the port address of your printer.

That’s all
You can connect the printer and test it yourself.

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close