bitbank2 / Print2BLE

MacOS app which allows drag and drop of images to BLE thermal printers
Apache License 2.0
70 stars 11 forks source link

Build under 13.3.1 Intel only prints a few lines on Peripage #17

Closed ctshh closed 1 year ago

ctshh commented 1 year ago

Built using Xcode 14.3 on an Intel MacBook Pro with macOS 13.3.1 the App finds my printer, but only prints a few lines, then stops. Any ideas what could happen here? Printer works under iOS with the supplied App. And of course: Thanks! ;)

Leer 3 2023-04-12 16:20:09.176415+0200 Print2BL.txt IMG_3760

bitbank2 commented 1 year ago

The code tries to balance writeWithResponse and write for speed. Try changing the logic to use writeWithResponse all the time. It will go slower, but be more reliable.