-->

Using two identical POS printers via JavaPOS

2019-09-02 19:48发布

问题:

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.