Hello, friends.
I'm have just installed a Windows POS application using the Wine version available in the Ubuntu 18.04 repositories. The software seems to work fine, but I'm having some problems with the thermal printer used by the software. It works normally for most of the time, but on some occasions it stops responding, even though the USB port is still responding to ls commands typed in the terminal. The device itself seems to be working fine, since I tested the application with another printer of the same model and another one of a different model who still having the same troubles.
The problem seems to be related only to the printer, since the PIN Pad used by the software works well.
The mapping of the printer follows the order:
ttyACM-Printer (symbolic link provided by specific UDEV rules, since I need static names to create a direct communication between the port and the application) --> COM1
A reboot of Wine or the computer solves the problem, but let's face it, this is not the best solution for a point-of-sale software.