xiaozhizhong / flutter_simple_bluetooth_printer

MIT License
3 stars 3 forks source link

I implemented like the example of package, successfully connected but writeText() doesn't even work ! #3

Closed sailinhtut closed 1 year ago

xiaozhizhong commented 1 year ago

Any error logs? The print commands in the example is ZPL for zebra printer

sp280898 commented 1 year ago

I/flutter (31761): BTException{error: BTError.errorWithMessage, message: can't not found writable characteristic}

xiaozhizhong commented 1 year ago

Sorry for replying so late. During printing, a writable characteristic is required on the printer, but some printers might not have it. You can try switching to the v1.0.0-preview branch and specify the characteristicId when printing. I will release a new version soon.