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.
2 Replies
Hi Abhishek, Please attach a copy of what the printer is printing. We're not sure what you mean.
Robin
Pokémon Gold and Pokémon Silver get the animated-stickers-with-sound treatment in this special set! Get ready to catch a whole lot of fun for your chats with these stickers featuring classic pixel artwork and sounds from the games. When tapped, these stickers will play on iPhones even in silent mode. Collection of Pokemon Pixel art: https://pixelartgratuit.fr/pixel-art-pokemon/