lukevp / ESC-POS-.NET

Efficient, Easy to Use Thermal Printing & POS (Windows/Linux/OSX, WiFi/BT/USB/Ethernet)
MIT License
500 stars 161 forks source link

Request of explaination of immediateNetworkPrinter status #275

Open ScarpelliniStefano96 opened 1 month ago

ScarpelliniStefano96 commented 1 month ago

Greetings. I created an api that prints to an ImmediateNetworkPrinter. I would like to understand how to know if the paper runs out and in that case be able to send the print again when the paper is loaded. How can I do?

var e = new EPSON(); await printer.WriteAsync( // or, if using and immediate printer, use await printer.WriteAsync ByteSplicer.Combine( e.RequestPaperStatus() ) );

With this code how can i then take the value returned?