Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default values for printer connection #81

Open
patkan opened this issue Sep 2, 2023 · 2 comments
Open

add default values for printer connection #81

patkan opened this issue Sep 2, 2023 · 2 comments

Comments

@patkan
Copy link
Collaborator

patkan commented Sep 2, 2023

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 python-escpos/python-escpos#555

@dalpil
Copy link

dalpil commented Aug 18, 2024

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
Copy link
Contributor

Also Bluetooth MAC address ranges or default Bluetooth device names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants