ESC-POS-.NET icon indicating copy to clipboard operation
ESC-POS-.NET copied to clipboard

Port get jammed after long use

Open VibinKesavan opened this issue 1 year ago • 1 comments

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

VibinKesavan avatar Aug 10 '23 09:08 VibinKesavan

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.

lukevp avatar Jan 14 '24 23:01 lukevp