ZebraPrinterLinkOs fails to Wrap printer object in my Android app

J Juan C. Hidalgo 3 years ago
1 1 0

I am working with an iMZ320 printer using ZPL language. For some reason when I try to create a wrap for my printer object - ZebraPrinterLinkOs linkOsPrinter = ZebraPrinterFactory.createLinkOsPrinter(printer); - it fails and stops my application unexpectedly. Without using the wrapper my application works fine.
 
BTW, I tried the ConnectAndPrint Sample and the ZebraPrinterLinkOs instruction to create the wrapper works fine.
 
Hope somebody can guide me in the right direction.
 
Juan Carlos

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi Juan, Are you catching an exception?  I believe that command may throw several exceptions.  It would be helpful to know which one.  If not, is the linkOSPrinter object returning with == null?

CONTACT
Can’t find what you’re looking for?