andrey-ushakov / flutter_sunmi_printer

Flutter plugin allows to print thermal receipts using Sunmi device with a built-in printer
BSD 3-Clause "New" or "Revised" License
16 stars 50 forks source link

Method to check if printer is connected and online #9

Open trifox83 opened 3 years ago

trifox83 commented 3 years ago

Would like to request a method to check if printer is connected and is online (return Boolean). This is to allow me to hide the "Print" button if printer is not connected. And prevent printing if printer is offline.