ESC-POS-.NET
ESC-POS-.NET copied to clipboard
Support Ad-Hoc Printing
@igorocampos Thank you so much for taking the time to comment. I had actually decided already to adopt the Connect/Print/Disconnect approach and I have it working nicely. It's not something I can contribute as a PR though unfortunately as it is too far removed from the ESC-POS core functionality now. Thanks again.
Originally posted by @NewbridgeGareth in https://github.com/lukevp/ESC-POS-.NET/issues/174#issuecomment-1126280305
This is a common ask, to be able to print on the fly to a printer without maintaining a persistent connection. A lot of users want to use the library in this pattern. The downside is that you lose the ability to monitor the status of the printer, but connecting/disconnecting is more friendly to non-EPSON printers who don't support multiple inbound connections properly. I am intending to deliver this functionality in version 3.0 of ESCPOS_NET as a new printer type ImmediateNetworkPrinter. Will post more under this issue as the development progresses!