receipt-print-hq / escpos-printer-db

Database of ESC/POS thermal receipt printers
https://mike42.me/escpos-printer-db/
Creative Commons Attribution 4.0 International
110 stars 50 forks source link

add default values for printer connection #81

Open patkan opened 1 year ago

patkan commented 1 year ago

At least for the USB connection I would assume that there are default PID and VID values that could be used for the device, also the endpoint is likely to be the same for all devices. Therefore, it could be helpful to add this to the database as additional information.

Also relevant to https://github.com/python-escpos/python-escpos/issues/555

dalpil commented 2 months ago

This would be a neat addition, as it would make it much easier to (for example) autodetect a USB-connected, compatible printer.

Here's the values for two of the printers that I have on hand at the moment;

# Vendor, Model, VID, PID, Configuration, Interface, Endpoint
Epson, TM-T88V, 0x04b8, 0x0202, 0, 0, 0
Star Micronics, mC-Print3, 0x0519, 0x0047, 0, 0, 0

Let me know if another format is preferred. In that case I'll update my comment accordingly.

andrewshadura commented 1 month ago

Also Bluetooth MAC address ranges or default Bluetooth device names.