如何使用java在收据打印机(Epson TM)上进行无线打印?
我需要编写一个能够在 Epson TM 收据打印机上无线打印的 Java 应用程序。我研究了很长一段时间,发现了 Java POS 驱动程序,但我不确定它们是否真的支持无线打印。另外,收据打印机似乎不能与标准 Java 打印机 API 配合使用?
如果有人能给我一些建议或提示,我会更加感激
i need to write a Java application that is capable of printing wirelessly on an Epson TM receipt printer. I researched quite a while and came across with Java POS drivers, but I am not sure if they actually support wireless printing or not. Also it seems, that receipt printers don´t work with the standard Java printer API?
If anyone could give me some advise or hint, i would be more then thankful
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想在Android上编写Java,您可以在注册后从Epson下载Android SDK。然后您可以使用 API 调用将字符串发送到打印机。 TM 88 III 和 IV 等打印机配有 USB、LAN 或无线接口。
该 SDK 附带一个演示 Android 应用程序,您可以在模拟器或设备上运行该应用程序,并具有一些方便的功能,如下所示:
If you want to write Java on Android, you can download the Android SDK from Epson after registering. Then you can use the API calls to send your strings to the printer. The printers, such as TM 88 III and IV come with USB, LAN, or Wireless interfaces.
The SDK come with a demo Android app which you can run in Emulator or on a device, and has some handy functions such as below: