Print and Encode from iOS

I am working with a client that would like to encode a tag and print at the same time from iOS (with cordova) using the Zebra SDK and the ZD500R printer. We are already able to encode using iOS and the TSL handgun through bluetooth. However I am not entirely sure how to encode and print using the iOS device, while being connected to the handgun. Can you please let me know what the best practices are to accomplish this. I have also heard about installing bartender on a server and use that to encode and print labels, but we would like to see if we have the same option from iOS.