Line/LineWrap not working on Sunmi V2 Pro
With version 4 of the library the line/linewrap functions do not work anymore on my sunmi v2 pro test device running Android 7.1/Platform level 25. May be related to the software being an after market Android system for a previously locked foodpanda device, but with version 2.1.3 the printer works correctly still.
Hi,
have you found a solution to this problem?
Thanks
Hi,
have you found a solution to this problem?
Thanks
How are you? Im working on because it works in other devices
this is about line printing, but wrap (feed) is working well!
Hi. Thank you for this awesome package.
With package version 4.1.0, I also have the same issue with Sunmi P2 Pro. The .line() function is not working might be because of the device compatibility like you have mentioned above. But the .lineWrap() function also not working too.
My work around for now is to use .printText(text: ' ') with few space as text.
Hope you can help check with this one. Many thanks 🙏
Hi, You can use this to print a line (I have tested it in this device): SunmiPrinter.line(type: "SOLID"); And lineWrap works this way: await SunmiPrinter.lineWrap(10); I tested it without parameters and it doesn't work, but I u pass a number it works (it should be the number of lines, but it's not). Hope this helps. The examples in pub.dev and this repository are not aligned with the code version :( I think that the example here is from 3.0.1. It should be great that @brasizza update the documentation. It is useful.