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

Epson USB printer - getting "System.IO.IOException: The handle is invalid" #248

Open
ddevriend opened this issue Nov 8, 2023 · 2 comments

Comments

@ddevriend
Copy link

I am using the newly released USB modules (USBPrinter.cs, DeviceDetails.cs, & DeviceFinder.cs) and
using "net5.0-windows7.0 in my project files. Evthing seems to complie just fine, but when I run the Console Test, I get the following:

image

Any ideas?

@ddevriend
Copy link
Author

I question the "The handle is invalid, " line. Does the "\?" need to be formatted differently?

@Gary-gr9
Copy link

Gary-gr9 commented Dec 1, 2023

I tested this using .net5.0-windows7.0, .net5.0, and .net6.0 with Epson printer but was unable to recreate the issue. Could you please provide me more information about the testing environment.
Did you add these classes to the existing code?
I'll give it a go and try fix the bug if it exists.
Cheers

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

2 participants