brasizza / sunmi_printer

BSD 3-Clause "New" or "Revised" License
38 stars 45 forks source link

implement updatePrinterState() #24

Closed markushorst closed 2 years ago

markushorst commented 2 years ago

implement the updatePrinterState(). So we have a return when the printer is out of paper, overheated, etc.

brasizza commented 2 years ago

implement the updatePrinterState(). So we have a return when the printer is out of paper, overheated, etc.

Try this

final status = await SunmiPrinter.getPrinterStatus();

 print( status.name );
brasizza commented 2 years ago

2 months without any reply, closing the issue