NEW Version (2015-02-14) uploaded. Old version deleted
Just uploaded my new Android receipt printer library to GitHub.
Via an USB OTG cable you can directly connect your receipt printer to your mobile phone or tablet.
So far I implemented some ESC/POS commands for EPSON receipt printer.
https://github.com/ebc81/ESC_POS_Android
the lib itself is located under
https://github.com/ebc81/Esc_pos_android/tree/master/esc_pos_lib
I also create a sample project:
https://github.com/ebc81/Esc_pos_android/tree/master/app/src/main/java/com/wordpress/ebc81/esc_pos_android
When you want to implement the lib in your own project, don’t forget to set the USB permissions in the AndroidManifest.xml
<permission android:name="com.android.example.USB_PERMISSION"/>
Check the example for more details:
https://github.com/ebc81/Esc_pos_android/tree/master/app/src/main/java/com/wordpress/ebc81/esc_pos_android
Have fun.
Thank you !!