0 Replies Latest reply on Aug 7, 2018 11:13 PM by Abhishek kumar

    How to print image(images are dynamic) and label print on Zebra ZQ310 through android app.As i am unable to do so please help me solving this issue.

    Abhishek kumar

      This is my code :

       

      BLuetoothPrintActivity.CONNECTION.open();

      byte[] configLabel = createZplReceipt().getBytes();
      BLuetoothPrintActivity.CONNECTION.write(configLabel);

      ZebraPrinter printer = ZebraPrinterFactory.getInstance( BLuetoothPrintActivity.CONNECTION);

      Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.dummylogo);

      printer.printImage(new ZebraImageAndroid(bitmap), 10, -500, 100, 100, false);

       

       

       

      It prints the image and text but it consume lots of empty spaces.