JavaPos on Android Devices?

早过忘川 提交于 2019-12-07 22:41:15

问题


i am searching for a solution to print to an Epson POS Printer from Android devices and any kind of help is needed. So am i right that JavaPOS in this case is the right solution?

I found this example JavaPOS Hello World in Java. So i guess i somehow have to create the printer connection and then use JavaPos to send the specific commands?

Does anybody have any experience in doing that and can give me a little help in starting with this?

Thanks a lot in advance!


回答1:


I don't believe any printer companies have JavaPOS utilities for Android at this time.

In my experience, it's best to use an API because you get total control over printer behavior without the complex nature of JavaPOS. If you have no experience with JavaPOS, it's definitely easier to use a well-written printer manufacturer's custom API, though you wind up with support for only that manufacturer's printer. It's not necessarily a bad thing, considering supporting one type of printer is much simpler than supporting printers from multiple manufacturers. Of course, that depends on your users' demands and your support model.

I know you mentioned Epson and I believe they have an Android SDK available. An alternative is Star Micronics' SDK for Android printing via USB, ethernet, and bluetooth. I used this extensively and highly recommend it for its ease of use, thoroughness in documentation, and many supported features. You can download it here: http://www.starmicronics.com/support/SDKDocumentation.aspx.




回答2:


Hsve you tried the epson JAVAPOS SDK?

https://download.epson-biz.com/modules/pos/index.php?page=single_soft&cid=5355&scat=61&pcat=52



来源:https://stackoverflow.com/questions/7285875/javapos-on-android-devices

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!