Check printer in ZPL mode (iOS & Android)

Hi

 

In your document "Best Practices in Creating a printing application for Zebra printers", it sates that the application should check the printer formatting language prior to printing - our application prints in ZPL, what does the code look like to do this in both iOS and Android?

 

As well, do you have any code to have your application load fonts on the printer?

 

Thanks!