Print images in loop

// Expert user has replied.
E Efkan YILMAZ 3 years 5 months ago
1 1 0

Hello,
I am developing an app that requires print Labels. I want to use Zebra printers that support MFi certification.
I am following this demo: https://github.com/ZebraDevs/LinkOS-iOS-Samples/tree/ZSDK_DevDemos
I just wanted to know the best practice to print an array of images.
Any suggestions/help will be appreciated.

Please Register or Login to post a reply

1 Replies

S Steven Si

You can download the latest Link-OS SDK for iOS, which contains the ZSDKDeveloperDemos project, which is newer than the one on GitHub. For Bluetooth connection in the SDK, check out the MfiBtPrinterConnection class. When printing a series of images, please check the printer status (getCurrentStatus) prior to each image print to make sure the printer is ready to print. Because of the limited buffer space in the memory on the printer, we don't want to overrun the buffer with large amount of image data. Please also check the printer status again before closing the Bluetooth connection, in case there are data to be transmitted at the link layer of Bluetooth, as we don't want to close the connection prematurely. Hope this helps.