Closed xZeroKooLx closed 1 year ago
Have you tried using a using block to dispose of the printer instead of calling Dispose yourself? Could you put together a minimal reproduction that causes the issue?
Closing for staleness, let me know if you have a chance to reproduce this and we can reopen the issue. I haven't seen this issue before, so I don't have a reproducible example to investigate.
Im using BasePrinter to print to a Epson epson tm-t82ii over a networked connection. The issue I'm facing though is that printer.Dispose(); does not seem to be full disposing of the connection. once i print using the following code no other applications or devices can send data to the printer until i close my application.
`private void PrintNumbers() { bool monitor = true; if (printer == null) printer = new NetworkPrinter(settings: new NetworkPrinterSettings() { ConnectionString = $"{targetAddress}:{targetPort}" });