(Android)Extra paper when printing an image!

A Ala Hashesh 3 years 7 months ago
8 1 0

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

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