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

'Can not find endpoint from printer' error message on printer having 'out' endpoint #20

Closed
vachkov opened this issue Dec 2, 2016 · 0 comments
Labels

Comments

@vachkov
Copy link

vachkov commented Dec 2, 2016

I get 'Can not find endpoint from printer', so I debugged and found that there is interface having endpoint with direction=out.

I have tested on windows, not sure for other platforms.

I believe the issue is in following code:
https://github.com/song940/node-escpos/blob/master/adapter/usb.js#L77
where iface.setAltSetting is called, this is async function and returns immediately, this leaves endpoints empty and leads to the explained error.

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

No branches or pull requests

2 participants