Android 设备上的 JavaPos?
我正在寻找从 Android 设备打印到 Epson POS 打印机的解决方案,并且需要任何类型的帮助。那么我认为 JavaPOS 在这种情况下是正确的解决方案吗?
我找到了这个示例 JavaPOS Hello World in Java。所以我想我必须以某种方式创建打印机连接,然后使用 JavaPos 发送特定命令?
有没有人有这方面的经验,并且可以在开始时给我一些帮助?
预先非常感谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信目前没有任何打印机公司拥有适用于 Android 的 JavaPOS 实用程序。
根据我的经验,最好使用 API,因为您可以完全控制打印机行为,而不需要 JavaPOS 的复杂性。如果您没有 JavaPOS 经验,那么使用编写良好的打印机制造商的自定义 API 肯定会更容易,尽管您最终只能支持该制造商的打印机。这不一定是坏事,考虑到支持一种类型的打印机比支持多个制造商的打印机要简单得多。当然,这取决于您的用户的需求和您的支持模式。
我知道您提到了 Epson,并且我相信他们有可用的 Android SDK。另一种选择是 Star Micronics 的 SDK,用于通过 USB、以太网和蓝牙进行 Android 打印。我广泛使用了它,并强烈推荐它,因为它易于使用,文档完整,并且支持许多功能。您可以在此处下载:http://www.starmicronics.com/support/SDKDocumentation.aspx。
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.
您是否尝试过 epson JAVAPOS SDK?
https://download.epson-biz.com/modules/pos/index.php?page=single_soft&cid=5355&scat=61&pcat=52
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