[x] I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Currently, I think when we call NetPrinter.connectPrinter(ipAddress, portNumber) the default timeout is too long. If I the current print is out of paper, it return a timeout connection error. Although I have pinged the printer and make sure it response , it still return a timeout error. But it is not the main issue. the main issue here is the default timeout is too long. Since the connectPrinter() function is a async/await it will block the whole app.
Examples 🌈
Motivation 🔦
Allow to overwrite the default timeout on connectPrinter() for Net printer and Bluetooth printer
Summary 💡
Currently, I think when we call NetPrinter.connectPrinter(ipAddress, portNumber) the default timeout is too long. If I the current print is out of paper, it return a timeout connection error. Although I have pinged the printer and make sure it response , it still return a timeout error. But it is not the main issue. the main issue here is the default timeout is too long. Since the connectPrinter() function is a async/await it will block the whole app.
Examples 🌈
Motivation 🔦
Allow to overwrite the default timeout on connectPrinter() for Net printer and Bluetooth printer