Printing on Zebra MZ220 from Samsung Galaxy XCover
<p>We are trying to print on a Zebra MZ220 from Samsung Galaxy XCover and we get "Unable to determine printer language". From other devices it work fine. Do you have any ideas? Could you post your code sample?</p>

<p>After research we found this <a href="https://km.zebra.com/kb/index?page=content&amp;id=SO8239&amp;actp=LIST_RECENT" rel="nofollow">https://km.zebra.com/kb/index?page=content&amp;id=SO8239&amp;actp=LIST_RECENT</a> but it only hides the error message, the printer still won't print. There is also this post <a href="http://stackoverflow.com/questions/11651311/bluetooth-on-android-samsung-galaxy-xcover-always-succeeds/15107022#15107022">Bluetooth on Android Samsung Galaxy XCover always succeeds</a> where a user found the solution but he didn't share it.</p>

<p>Firmware is up to date. </p>

<p>ZebraPrinterConnection thePrinterConn = new BluetoothPrinterConnection(
                                               getAdressMac());</p>

<pre><code>                              Looper.prepare();
                              try {

                                    thePrinterConn.open();

                                    ZebraPrinter printer;
                                    printer = ZebraPrinterFactory
                                                  .getInstance(thePrinterConn);
                                    Thread.sleep(500);
                                    Bitmap bitmap = StampilaPrint.getStampila(ctx, Print.this.idSpatiu);
                                    //com.zebra.android.comm.BluetoothPrinterConnection myConn = new com.zebra.android.comm.BluetoothPrinterConnection(macAdd);
                                    //com.zebra.android.printer.ZebraPrinter myPrinter = new com.zebra.android.printer.internal.ZebraPrinterCpcl(myConn); 
                                    printer.getGraphicsUtil().storeImage("IMAGE.PCX",
                                                  bitmap, 215, 215);

                                    printer.getToolsUtil().sendCommand(data);

                                    thePrinterConn.close();
</code></pre>
