Since some years I am running and maintaining an online P.O.S. system, where peripheral hardware and print system is managed by a RasPi with pure debian & python3.
My costumer bought a new receipt printer, which is an EPSON TM-M30. Currently he's using a TM-T88IV for that.
The python-escpos printer code snippet currently is
p = printer.Usb(0x04b8, 0x0202, 0)
Do I need anything to change for the new printer (googeling since hours I cannot find a PID for this new printer)
I know that with the new printer ethernet an WiFi is also available and I can use
p = printer.Network("192.168.178.77", 0) // port might differ
for that, but stiil I want to be able to use it with USB if needed.
Notice: I found the same PID here http://www.linux-usb.org/usb.ids for the TM-T70 and I guess that the PID 0x0202 is valid for more than one thermal printer, but need to be sure.
Thanks for any helpful answers.