Using two identical POS printers via JavaPOS

假装没事ソ 提交于 2019-12-12 01:58:13

问题


We are writing one app using JavaPOS that requires printing to two identical POS printers (Bixolon SRP-330) via JavaPOS (one using regular paper, other for stickers)

What would be the best approach to handle such use case? We tried creating double entry in jpos.xml, directly specifying portname in jpos properties but still no luck, we are only able to use one of those printers at the same time using JavaPOS and logical device name.

(At lower level echo "test > /dev/usb/lp0 and echo "test > /dev/usb/lp1 print to both printers)


回答1:


It seems that this is the problem with Bixolon JavaPOS drivers. We contacted their support and they said that they understand the problem and they will address this issue in future driver release. Meanwhile we managed to circumvent JavaPOS and are communicating with printers on lower level.



来源:https://stackoverflow.com/questions/24930527/using-two-identical-pos-printers-via-javapos

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