kechankrisna / pos_printer_manager

GNU General Public License v3.0
13 stars 53 forks source link

Not able to connect printer after disconnecting and re-connecting #22

Open arbile26 opened 2 years ago

arbile26 commented 2 years ago

We are getting permission popup for first time and able to print, but after disconnecting USB and re-connecting it again we are not able to print and not getting any permission popup.

arbile26 commented 2 years ago

When I print for the first time it works fine, but if the printer disconnects, whether the electricity is cut off or the cable is disconnected anyhow, flutter app cannot connect to the printer anymore. It prints an error elaborating that the USB port is not available or restricted (already in use). I don't know how to free the USB port from use. I have tried the disconnect() function in USBPrinterManager and close() function in FlutterUsbPrinter but it didn't work.

arbile26 commented 2 years ago

Any updates ?!!!