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

Problems retrieving information from equipment for later use #1

Open
Boolean2023 opened this issue Oct 9, 2024 · 0 comments
Open

Comments

@Boolean2023
Copy link

As indicated in the documentation, I've used the WebSerial package to get around the limitations of usb on windows. When I add the device for the first time, everything works correctly and I get to print. except that in the receiptPrinter.addEventListener it detects an object with the values verdorID and productID set to null.
{ “type": ‘serial’, “vendorId": null, “productId": null, “language": null, “codepageMapping": null }
and after refreshing the web page, it automatically disconnects. is there any specific configuration to do after adding the printer?

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

1 participant