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

Port get jammed after long use #240

Open
VibinKesavan opened this issue Aug 10, 2023 · 1 comment
Open

Port get jammed after long use #240

VibinKesavan opened this issue Aug 10, 2023 · 1 comment

Comments

@VibinKesavan
Copy link

VibinKesavan commented Aug 10, 2023

Hi Team,

I am using SerialPrinter using a COM port, the instance is a singleton in my app and it kept printing the receipts. However, 1-2 times a week, the printer communication stops working and I need to do the following steps to resolve the issue

Sometimes this works
Go to device manager -> disable com1 - then enable com1 - print from then the app

Sometimes
Go to device manager -> disable com1 -> restart pc - then enable com1 - print from then the app

I am using SNBC 80mm serial printer. my code is exactly the same as the documentation says, am i using the library correct? do i need to move away from the serialprinter to some other printer implementation? please help

Vibin

@lukevp

@lukevp
Copy link
Owner

lukevp commented Jan 14, 2024

Hey @VibinKesavan, I do not use this code in production myself and primarily work on this in a consulting capacity. I haven't heard from any other customers that they've had a similar issue. If you're making a commercial product and you'd like to discuss having me help look into it with you, I'd be happy to work something out.

Out of curiosity, is there no way to fix it from the printer side? removing and reconnecting printer, restarting it, etc.? Does restarting the machine fix it? or only removing and re-adding the device in device manager?

If it's a device manager only thing, then it sounds like the issue is in your drivers, and not in the code or the printer itself.

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