0 Replies Latest reply on Apr 14, 2018 6:57 AM by Ala Hashesh

    (Android)Extra paper when printing an image!

    Ala Hashesh

      Hi,

       

      I have a ZEBRA iMZ320, and i'm trying to print an image using android.

       

      I'm using the following code:

       

      Connection connection =  new BluetoothConnection(address);
      connection.open();
      ZebraPrinter printer = ZebraPrinterFactory.getInstance(connection);
      printer.printImage(new ZebraImageAndroid(bitmap), 0, 0, -1, -1, false);


      The image prints fine, but there is a lot of wasted extra paper, is there any way to reduce the amount of wasted paper?

      like including a black bar or a specific command to make the printer search for black bars?

       

      I already tried the following command and it didn't make any difference:


      connection.write("! U1 JOURNAL\r\n! U1 SETFF 50 5\r\n".getBytes());

       

      Best,
      Ala' Hashesh