KevinGong2013 / Printer

Swift ticket printer framework for ESC/POS-compatible thermal printers.
Apache License 2.0
144 stars 72 forks source link

Printer is not listing on controller #54

Closed smalldevcloud closed 1 year ago

smalldevcloud commented 2 years ago

After adding the framework, I do not see a single device in the list of devices. Here's the reason - https://stackoverflow.com/questions/47056562/how-to-connect-thermal-bluetooth-printer-to-ios-devices/51122125#51122125

I found another framework on github. He, as seen in the screenshot, is able to find such 4.0 devices. https://github.com/RickRedSix/BLE4.0-iOS-Swift-Demo

How to combine these two frameworks to get support for 4.0 BT printers?

smalldevcloud commented 2 years ago

https://file.cdn.sunmi.com/SUNMIDOCS/CloudPrinter_IOSSDK_Demo.rar Also, found this demo for iOS. this is from the manufacturer's website, it finds the printer and communicates with it via bluetooth, apparently, but there is no print example

KevinGong2013 commented 1 year ago

How to combine these two frameworks to get support for 4.0 BT printers?

Just use Printer to assemble receipt data.

Write data by another one.